new rep tag possible!?

Use GitHub to post feature requests for phpwcms.
Locked
Pappnase

new rep tag possible!?

Post by Pappnase »

hello

a few times would ask to show news at the index page.

some kind of {levelcontent:ID:count}

ID is for the level of the sitestructure
count for the shown summarys

so this tag should read all articles in one sitestructure level.
you can place an summary content wherever you want.
Last edited by Pappnase on Wed 16. Jun 2004, 13:32, edited 1 time in total.
rk
Posts: 162
Joined: Sat 24. Apr 2004, 23:48
Location: Hannover, Germany
Contact:

Post by rk »

i quote my own post from "Extended {RELATED...} tag"
I would like to have an more extended related tag.

I think a combination from new and related would be very usefull.

{RELATED:INT_COUNT:keyword1, keyword2,...:Date[1|0]:css_class}

Then we can for example show a "Newsticker" for special keywords and we can use different css_classes in different situations/positions.

Another way for the Date-Parameter was to use the Format from the new {DATE:FORMAT} and if it is emty don't show a date .
I think on that way everythink is possible :D .
Ralf
Pappnase

Post by Pappnase »

rk wrote:i quote my own post from "Extended {RELATED...} tag"
I would like to have an more extended related tag.

I think a combination from new and related would be very usefull.

{RELATED:INT_COUNT:keyword1, keyword2,...:Date[1|0]:css_class}

Then we can for example show a "Newsticker" for special keywords and we can use different css_classes in different situations/positions.

Another way for the Date-Parameter was to use the Format from the new {DATE:FORMAT} and if it is emty don't show a date .
I think on that way everythink is possible :D .
Hello Ralf

Sorry i didn't see this thread!

Your solution is also nice but also i need to say that i don't like the long Rep tags with thousands of config extensions! if you have one template for this like the new article summary i think it's enough. i think if you have this mass of config seperated by : you worries almost newbies. i rellay need to say that i have with this settings also my problems :oops:


my idea is only to read out one structure you want. and you only decide how many articels would be shown from this structure. it should be shown in this way how you format it in ths level. understand what i mean!? iwill hope.
rk
Posts: 162
Joined: Sat 24. Apr 2004, 23:48
Location: Hannover, Germany
Contact:

Post by rk »

Pappnase wrote:i think if you have this mass of config seperated by : you worries almost newbies.
You are right.

A better way is to made a content-part. But i think oliver do something that will help :D.
positioning content, templates, ...
Pappnase wrote: understand what i mean!? i will hope.
Yep, your idea is also good. It is ever good to made a differenz between content and layout. Than you can use the content on different ways :lol: .
Ralf
Locked