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
Article pagination
-
bicicletaire
- Posts: 18
- Joined: Wed 6. Jan 2010, 21:18
- Location: Deutschland
- Contact:
-
bicicletaire
- Posts: 18
- Joined: Wed 6. Jan 2010, 21:18
- Location: Deutschland
- Contact:
Re: Article pagination
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?
Anybody can give me a hint about what I am doing wrong?
Thanks
Olga
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>
Thanks
Olga
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Re: Article pagination
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.
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.
-
bicicletaire
- Posts: 18
- Joined: Wed 6. Jan 2010, 21:18
- Location: Deutschland
- Contact:
Re: Article pagination
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
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...
Olga
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact: