Page 1 of 1

Article listing templage

Posted: Tue 4. Oct 2005, 23:11
by coopersred
I'm creating my own tempalte for an article summary listing but I can't place the "more" link after the summary, just as it is in the default templage.

For example, I can't see any way of not have the "more" link on new line

Code: Select all

[TITLE]<h1><a href="{ARTICLELINK}">{TITLE}</a></h1>[/TITLE]
[SUB]<h2>{SUB}</h2>[/SUB]
[SUMMARY]<div class="article_list_summary" >{SUMMARY}</div>[/SUMMARY]
[MORE]<a href="{ARTICLELINK}" >{MORE}</a>[/MORE]
Can anyone help

Posted: Wed 12. Oct 2005, 00:13
by coopersred
Worked it out after a good nights sleep;

Code: Select all

<div>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
[TITLE]<h1 style="margin:5px 0 0 0"><a href="{ARTICLELINK}">{TITLE}</a></h1>[/TITLE]
[SUB]<h2 style="margin:3px 0 3px 0">{SUB}</h2>[/SUB]
[SUMMARY][MORE]<div class="article_list_summary" style="margin:0 0 5px 0;"><p>{SUMMARY} <a href="{ARTICLELINK}">{MORE}</a></p></div>[/MORE][/SUMMARY]
</table>
</div>

Posted: Wed 12. Oct 2005, 08:36
by Pappnase
hello

did you see that you can enable/disable the more link?

http://www.phpwcms-docu.de/index.php?creating_articles
[read more...] Link:
(since ver. 1.2.5):
If you had more than one article in one structure you can decide if the read more... link will be displayed behind the summary or not.

Posted: Wed 12. Oct 2005, 22:15
by coopersred
I did but I needed to make a templae for JensZ's News Flash content type before a bug was fixed.

http://www.phpwcms.de/forum/viewtopic.php?t=8521