Article pagination

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
bicicletaire
Posts: 18
Joined: Wed 6. Jan 2010, 21:18
Location: Deutschland
Contact:

Article pagination

Post 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
bicicletaire
Posts: 18
Joined: Wed 6. Jan 2010, 21:18
Location: Deutschland
Contact:

Re: Article pagination

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9940
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Re: Article pagination

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
bicicletaire
Posts: 18
Joined: Wed 6. Jan 2010, 21:18
Location: Deutschland
Contact:

Re: Article pagination

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9940
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Re: Article pagination

Post by Oliver Georgi »

Fine.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply