Customization of article lists. What to edit?
Posted: Wed 1. Sep 2004, 17:14
Hi,
First, I have created a list of articles with {NEW:X} tag, and it is displayed OK. But I want to customize its display. I need to:
1. Remove the edit-date of article from the beginning of each entry.
2. Enter a particular image at the beginning of each entry
3. Display the first X characters of the title only, rather than the whole title.
4. Optionally display the first X characters from the summary below the title.
Is there a place where I can define/change such things?
Second, I have noticed the produced list is displayed using a class "news", so I have defined a style called "news" in frontend.css to control the colors etc. of the list. Am I doing it right, or there is a better way to do it?
Third, I need to edit the way articles are displayed using the {CONTENT} tag. Is this done using the sample.tmpl in phpwcms_template/inc_cntpart/articlesummary ? Does one have to use this name for the template? If not, where one declares the name of the template to be used for an article display?
If anyone can post solutions to any or all of the above, I will be grateful.
First, I have created a list of articles with {NEW:X} tag, and it is displayed OK. But I want to customize its display. I need to:
1. Remove the edit-date of article from the beginning of each entry.
2. Enter a particular image at the beginning of each entry
3. Display the first X characters of the title only, rather than the whole title.
4. Optionally display the first X characters from the summary below the title.
Is there a place where I can define/change such things?
Second, I have noticed the produced list is displayed using a class "news", so I have defined a style called "news" in frontend.css to control the colors etc. of the list. Am I doing it right, or there is a better way to do it?
Third, I need to edit the way articles are displayed using the {CONTENT} tag. Is this done using the sample.tmpl in phpwcms_template/inc_cntpart/articlesummary ? Does one have to use this name for the template? If not, where one declares the name of the template to be used for an article display?
If anyone can post solutions to any or all of the above, I will be grateful.