Custom Article Listing

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Custom Article Listing

Post by vrain »

Hi guys, this is the structure that I have for my site:

-Index
-Articles
--Author A
-----Article A
-----Article B
-----Article C
-----Article D
--Author B
-----Article A
-----Article B
-----Article C
-----Article D
--Author C
-----Article A
-----Article B
-----Article C
-----Article D
-Contacts

How can I get these articles all listed, but with Author separations? ( which are GT modded too ) Right now I learnt how to customizing article listing only in ONE folder, but what if I have several folders ( each folder = author ) and I would like to list all the articles but insert the author separation between the articles.

Thanks in advance

V
Pappnase

Post by Pappnase »

hello

i would say thats not possible at the moment! sorry
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post by vrain »

Are you sure? Maybe I wasnt clear, all I want is to selectively list articles from different directories on one page. Is that not possible?

Like this

--------------------------------------
List articles from section A
HTML Code, etc, etc
List articles from section B
Html Code, etc, etc
List articles from section C
Html Code, etc, etc
--------------------------------------

How do I do this?

V
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

u get the articles listet with "artikelmenü" articlemenu contentpart.
put in each articlemenu part the folder of autor A, autor B, ....
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post by vrain »

Yes, but how do I customize the look of that list, since it does not follow the articlelist template and seems to have it own one?

thx

V
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post by vrain »

bump
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

sry, no idea.
well let us show the new release this year. oliver put some new things in it and we would be happy. :)
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

If you look at the rendered source of pages with "article menu" and "link article", they are assigned a CSS class:

Code: Select all

class="articleLinkInternal"
Is that what you are asking?
For example:
<img src="img/leer.gif" width="1" height="8" alt=""><br><span class="contentHead">content title:</span><br>
<img src="img/leer.gif" width="1" height="3" alt=""><br><span class="contentSubHead">subtitle:</span><br>
<img src="img/leer.gif" width="1" height="2" alt=""><table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td nowrap><img src="img/article/intlink_1.gif" alt="" /><img src="img/leer.gif" width="1" height="11" alt="" /></td>
<td><a href="1.1.0.0.1.0.phtml" target="_self" class="articleLinkInternal">article 1</a></td></tr>
<tr valign="top"><td nowrap><img src="img/article/intlink_1.gif" alt="" /><img src="img/leer.gif" width="1" height="11" alt="" /></td>
<td><a href="1.2.0.0.1.0.phtml" target="_self" class="articleLinkInternal">article 2</a></td></tr>
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Karla

Post by vrain »

The CSS file gives you these default options for displaying this class:

Code: Select all

.articleLinkInternal {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
}
But it only changes the appearence of each individual link. What I want is a similar template to article listing, where I can use tags like {Author}, {Image}, {Summary}, etc.

Basically, if /phpwcms_template/inc_cntpart/articlesummary/article/sample.tmpl controls the look of article listing, how can I use a similar template for articles listed with article menu content part?

In a general sense, all I want is the ability to use the sample.tmpl template for listing articles by each section. Whereas it is clear how to do it if you have 20 articles in one folder, how do you still list all your articles if they are in 20 different sub-folders? I have 20 authors in 20 folders, how do I list all the articles with the sample.tmpl template?

Thanks in advance,

V
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post by vrain »

*bump*
Post Reply