Custom Article Listing
Custom Article Listing
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
-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
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
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
If you look at the rendered source of pages with "article menu" and "link article", they are assigned a CSS class:
Is that what you are asking?
For example:
Code: Select all
class="articleLinkInternal"
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>
Karla
The CSS file gives you these default options for displaying this class:
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
Code: Select all
.articleLinkInternal {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
}
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