Article Break

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ariolander
Posts: 14
Joined: Mon 2. Aug 2004, 22:20

Article Break

Post by ariolander »

How would you make a break after each article? I mean one blank line then the next article summary will be listed?

What my page looks like now:
http://www.ario.ariolander.com/index.php?review
Pappnase

Post by Pappnase »

hello

edit the template for articlelisting!
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

To change the look of the summary list that is shown when there is more than one article in a category (e.g. to remove the hypertext link), edit this file...

phpwcms_template / inc_cntpart / articlesummary / list /sample.tmpl

...and change the HTML code surrounding the replacement tags. Anything between the [SPACE] tags appears between summaries. You could add a horizontal rule here for example.

If you want to change the look of how the summary is added to the top of the main article, you can also edit this file:

phpwcms_template / inc_cntpart / articlesummary / article /sample.tmpl

When you next create an article, select these 'sample' templates for both the summary and main article from the drop-down menu. One word of caution. If you chose the 'sample' template for the main article, the checkbox option to 'hide summary in main article' no longer functions.

Someone else has already asked how to make the sample templates the default, which I agree would be nice to know?... :?:
Post Reply