Page 1 of 1

Article pagination

Posted: Mon 18. Jan 2010, 12:05
by bicicletaire
Hi there!

I have paginated articles in one of my pages and I'd like to change the appearance of the list.
I'd like to show the picture which is on the article, a short text and the link "more".
I could do that when I had my page built with "tables", but when I changed to "CSS div", the pagination has change its format. Now I only have a list of the articles...
Does anybody know how to change that?

Thanks

Olga

Re: Article pagination

Posted: Fri 29. Jan 2010, 10:33
by bicicletaire
Hi!
It's me again. I can see my post was not very successful ...;-)

I did find the file I should modify (/phpwcms_template/inc_cntpart/articlesummary/list/sample.tmpl), but still, it does not work. The changes I do in this file are not taken by the article.
I did choose the right file on the "Artikellisting:" field within the article itself.

Is there anything wrong with this file? If not, why is the image, the text and the "more link" not appearing on the listing?

Code: Select all

[SPACE]<hr />[/SPACE]
<div>
	<table cellspacing="0" cellpadding="0" border="0" width="100%" summary="">
		<tr>
			<td width="150" valign="top">
				[IMAGE]<div><a href="{ARTICLELINK}">{IMAGE}</a></div>[/IMAGE]
				[CAPTION]<div align="center">{CAPTION}</div>[/CAPTION]
			</td>
			<td width="10"><img src="img/leer.gif" border="0" width="10" height="1" alt="" /></td>
			<td width="98%" valign="top">
				[TITLE]<h1 style="margin:0 0 5px 0;">{TITLE}</h1>[/TITLE]
				[SUB]<h3 style="margin:0 0 5px 0;">{SUB}</h3>[/SUB]
				[SUMMARY]<p style="margin:0"><strong>{DATE:F lang=DE}</strong> {SUMMARY}</p>[/SUMMARY]
				[MORE]<a href="{ARTICLELINK}"{TARGET}>{MORE}</a>[/MORE]
			</td>
		</tr>
	</table>
</div>
Anybody can give me a hint about what I am doing wrong?

Thanks
Olga

Re: Article pagination

Posted: Fri 29. Jan 2010, 13:43
by Oliver Georgi
Check the files in template/inc_default first

These are responsible for "Default" setting.

Then - do not forget to change the behavior of the category which should be paginated - check structure under admin.

Re: Article pagination

Posted: Sun 31. Jan 2010, 17:36
by bicicletaire
Yeeeeeees! I got iiiiiit!
Under "Anzahl an Top-Artikeln:", I was writing -3, instead of 3!!! aaaah! How stupid!
Thanks Oliver!

...and by the way, this program is great! Three months ago I had no idea what php, CSS, JS means and I thought that HTML was the short version for Hotmail...:-)...and now, thanks to phpwcms am I working on my own website! Amazing!
Olga

Re: Article pagination

Posted: Mon 1. Feb 2010, 07:24
by Oliver Georgi
Fine.