Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 31

Newest Member: Xoote



Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
Thread Tools Display Modes
Old 02.08.2004, 13:31   #1
Cryptor
Baby Mamber
 
Join Date: Aug 2004
Posts: 18
Cryptor is on a distinguished road
Question Modify the way content is displayed on front page.

#1. I have only been playing with mambo for few days, but I'am really stuck on this and I don;t know much of php.

#2. Here is the page that we are talking about. Right now content on the front page is displayed in the default way.

#3. I have content segregated into 3 categories.

Here are my questions :

#1. How do I ( I can't find the code responsible for displaying it ) change what is being displayed for each news item ? All I want is :
Line1: Date created + title linked to content
Line2: Rating thing+Comment thing.
Everythign else is unwanted.

#2. How can I make it so that news items from each category are displayed separatelly ( ie: last 10 game news items - space - last 10 reptile news items...etc... )

#3. How do I limit the number of characters from the title being displayed for each news title ?


I really hope that someone can point me to the right direction here, I'am really stuck on this one. Sorry about the site not being finished
Cryptor is offline  
Sponsored Links
Old 02.08.2004, 15:41   #2
divamissx
Expert Mamber
 
divamissx's Avatar
 
Join Date: Apr 2004
Location: Florida
Posts: 480
divamissx is on a distinguished road
Send a message via MSN to divamissx
Default Re: Modify the way content is displayed on front page.

In the editor, if you move all of the article content to the second content box, then the user will have to click thru to read the article.

There are several news modules available that list things such as 'last x number' content items or 'most popular', 'highest rated, etc. You can find them in the downloads section at mamboportal.com

I would think if you want limited titles, just make the display title shorter. Maybe I'm misunderstanding that request.

Stacey
__________________
Divamissx, Software Development Consultant
Increase your Forum Traffic: The Forum Seeders Network
divamissx is offline  
Old 02.08.2004, 15:48   #3
jomaco1
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: Modify the way content is displayed on front page.

You can choose which items are displayed with the content by selecting site>global configuration from the admin main menu. Here you can toggle things like "use linked titles" and "hide author names", etc.

Go to components>frontpage>settings>parameters to set the number of items displayed on each page.
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Old 02.08.2004, 16:02   #4
Cryptor
Baby Mamber
 
Join Date: Aug 2004
Posts: 18
Cryptor is on a distinguished road
Default Re: Modify the way content is displayed on front page.

components>frontpage>settings>parameters --> the setting you can set there are very limited and won;t allowe you to remove most of what I'am trying to get ride of.

But ! I think that getting abot and then modifying it slightly will be much simpler ( i hope - we'll see ).

But if you know what piece of code in what *.php is responsible for this particular task then let me know.

I found that modyfying modules is p[retty straight forward, but this I'am stuck on.
Cryptor is offline  
Old 02.08.2004, 17:17   #5
kergo
Senior Mamber
 
Join Date: May 2004
Posts: 163
kergo is on a distinguished road
Default Re: Modify the way content is displayed on front page.

Quote:
Originally Posted by divamissx
I would think if you want limited titles, just make the display title shorter. Maybe I'm misunderstanding that request.
That ain't work. If the input-bar is smaller than it was before, you can write the same text in it anyway.

I'm sharing two of Cryptor's questions:
Quote:
#2. How can I make it so that news items from each category are displayed separatelly ( ie: last 10 game news items - space - last 10 reptile news items...etc... )

#3. How do I limit the number of characters from the title being displayed for each news title ?
I'm now describing the frontpage I wanna have: First there's the newest article (doesn't matter of wich category), followed by the latest 2 news of category 1, then the latest 2 of category 2, latest 2 of category 3, ...

Mark that there's a problem with displaying: If the newest article of the site belongs to category #1, it'll be shown twice: At first in the beginning (newest article) and at second under itself ('cause it's the newest item of category #1).
kergo is offline  
Old 02.08.2004, 20:32   #6
Cryptor
Baby Mamber
 
Join Date: Aug 2004
Posts: 18
Cryptor is on a distinguished road
Question Re: Modify the way content is displayed on front page.

O.K., let me re-phrase the question :

What piece of php code of what file is responsible for the way that a single content item is being fomatted ?

Thank you for your help but from looking at it I get the impression that it specifies how the content page is laid out, and what I need is the file that specifies how the news items are laid out. I might be wrong though.

OOops, that was soupossed to go on a different board, oh well, the suggestion was that /com_content/content.html.php was responsible for it.

Last edited by Cryptor; 03.08.2004 at 07:04.
Cryptor is offline  
Old 03.08.2004, 15:09   #7
Cryptor
Baby Mamber
 
Join Date: Aug 2004
Posts: 18
Cryptor is on a distinguished road
Question Re: Modify the way content is displayed on front page.

Well this is suprising that nobody seems to be concerned about not being able to customize much in the Home page, after all it's you rmain page that everyone sees first.
Cryptor is offline  
Old 25.11.2004, 15:57   #8
fishboy
Baby Mamber
 
Join Date: Jul 2004
Posts: 8
fishboy is on a distinguished road
Default Re: Modify the way content is displayed on front page.

Hey Cryptor did you ever find an answer for this?

#3. How do I limit the number of characters from the title being displayed for each news title ?

I have a simlar question, see here

Basically i would like to limit the number of characters in the intro text on the front page. I guess this would be pretty similar to you needing to limit the title?

If you found out can you share how you did it? or point me in the right direction?

Cheers.
fishboy is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Structuring Basics for Newbies, MOS 4.5 mamster Mambo 4.5 'How Do I' Questions 9 01.09.2004 04:18
content front page column tostes Mambo 4.5 'How Do I' Questions 2 25.08.2004 00:15
Adding extra meta tags to individual content on front page wooly Mambo 4.5 General Talk 2 08.07.2004 12:18
difficulty putting content on front page..!! photo312 Mambo 4.5 'How Do I' Questions 4 06.07.2004 09:28
content item not displayed on front page dbrugby Mambo 5.0 General Talk 2 20.05.2004 10:15


All times are GMT +2. The time now is 16:51.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.