Article listing templage

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
coopersred
Posts: 35
Joined: Thu 8. Apr 2004, 14:40

Article listing templage

Post 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
coopersred
Posts: 35
Joined: Thu 8. Apr 2004, 14:40

Post 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>
Pappnase

Post 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.
coopersred
Posts: 35
Joined: Thu 8. Apr 2004, 14:40

Post 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
Post Reply