Page 1 of 1

article menu outside of {CONTENT}? wie liste ich Artikel?

Posted: Fri 9. Apr 2004, 11:33
by nmd_inc
First Hello to all,
I've been sneaking around the board for a while, but this is my first appearance.. :-)

my question: I would like to insert an "article menu" in the left box (while having {CONTENT} in the main box.
The Idea is, that the page would have a small list (on the main page) of the articles somewhere in the structure.

I looked at "spirous patch" but I think that would be overkill to do it that way (and I'm not sure the patch still works?)

If phpWCMS doesn't have such a function, can I do it with an external php-File? How could I get only Article titles etc. from a certain part of the site structure?

***

vielleicht besser auf deutsch:

Ich habe in der Struktur einen Punkt "Veranstaltungen" und möchte nun im Gesamtlayout in der linken Box (unterhalb der normalen Navigation) eine kurze Liste der Artikel die es unter "Veranstaltungen" hat. Wenn ich einen Content "article menu" in das hauptdokument einfüge, gibt es mir eine schöne kleine Liste, kann ich diese liste auch ausserhalb eines {CONTENT} d.h. im Template haben?

Bin übrigens begeistert von phpWCMS! :-)

greetings, nmd

Re: article menu outside of {CONTENT}?

Posted: Fri 9. Apr 2004, 11:51
by frold
nmd_inc wrote:
my question: I would like to insert an "article menu" in the left box (while having {CONTENT} in the main box.
The Idea is, that the page would have a small list (on the main page) of the articles somewhere in the structure.
{NAV_TABLE_SIMPLE}
Creates a simple navigation table based on the currect structure level.

{NAV_TABLE_COLUMN}
Produces a complete menu - the same as on the left.
How could I get only Article titles etc. from a certain part of the site structure?
{NAV_LIST_CURRENT} - fixed replacement tag
The {NAV_LIST_CURRENT} replacement tag uses predefined settings. To change the layout you have to adjust the CSS information of page's template on which the navigation list should be presented. The predefined class is "list_level". To use your own class name you have to use the customizable replacement tag

{NAV_LIST_CURRENT:show-index:index-name:list_class}
This is the customizable version of the current level replacement tag: show-index can be set to 0 or 1. If it is set to 0 the index-name will not returned. You can name the index-name as you like. This links back to the parent level. You can use your own class name with this replacement tag.

Im not sure if this is what you are looking for?

more replacment tags: http://www.phpwcms.de/forum/viewtopic.p ... eplacement

Posted: Fri 9. Apr 2004, 12:08
by nmd_inc
sorry, I probably wasn't clear enough: I don't need a navigation.

when you insert a content part "article list" into an article you get a small list of all articles under a certain structure point you specified.

now I would like to have such a list (which you can only have inside an article [and inside replacement tag CONTENT]) in the left box

The list will always be the same, doesn't matter on which page you are.

If its possible to have such a list inside an article, it should also be possible to have it somewere else, not? I just don't understand enough php and don't really get how phpWCMS is built :cry:

Posted: Fri 9. Apr 2004, 13:45
by Jan212
folgendes mußt du tun:
im bereich artikel erstellen-> artiklebasisinformationen -> schlüsselwort ein schlüsselwort definieren *veranstaltungen*
dann an die stelle wo die liste erscheinen soll
z.B - {RELATED:5:VERANSTALTUNGEN} wobei nur die 5 sich auf das z.B bezieht :wink:

hier die logische aufschlüsselung:

{RELATED:max_count_links:keyword}