Article list outside an article

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

Article list outside an article

Post by yuluma »

I created a category with different articles (+/- 10) now I would like to create a list with articles from a different category on the {LEFT} side of the webpage. But because the placing of content is only possible in a content part I would like to know how I can create an article list (with code) in a template.

Because my english is not so good:
the page with articles: http://www.davido.nl/sj/index.php?het_f ... le_dagblad

And I made a screenshot of what I'm trying to create. Image

My question: what do I look for, does this exists? (think so) but I dont have a clue where to search... Any ideas?

:roll:
Yuluma Nunbanna - workaholic ad dies vitae
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

No sugestions at all?

Post by yuluma »

Isn't there anybody that can point me in some direction? Or is my question to simple or not right explained? :(
Yuluma Nunbanna - workaholic ad dies vitae
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

{NEW:5:1}

Post by yuluma »

I could use the {NEW:5:1} tag, but then I also get this anoying date, now only find out where the reptag is created.... :lol:
Yuluma Nunbanna - workaholic ad dies vitae
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hey !

Hope I understood you well:

2 ideas ... one : {TEASER_EX} via search function, this forum....

2nd: switch off date in the news template, as fo'Y-m-d' you enter ''

I PM you where you can see both in 1 site

Jürgen

EDIT: Getting older and older ... to "notch out" :shock: date in news section you need to edit (by mind link) config_template.inc.php which is located in /config/phpwcms ... UFF ;)

The news section has his own date validation as far as i remember
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

TEASER

Post by yuluma »

Hello all,

:oops: TEASER worked fine, till now I never used it because the replacement tag was confusing me so much. Now days the inventor created a TEASER TAG CREATOR and life is so simple and perfect.

I created a new template called archief.tmpl wich is only showing the title as a link.

{TEASER_EX:fd_archief_2005|5:-1:article_title|ASC:0:Pagina:1::archief.tmpl:-1:}

offcourse I first installed the TEASER tag
thanks for your comments and help! sometimes only searchin for keywords doesnt works when the solution is completely new :lol:

love PHPWCMS !!!!
Yuluma Nunbanna - workaholic ad dies vitae
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

Another question

Post by yuluma »

Is there any php guru that could tell me how to limit the above to a certain amount of letters.

http://www.davido.nl/sj/index.php?het_f ... le_dagblad

Now I'm just pulling the articles titels from a certain category, but I would like to limit the amount of letters, and if larger then break the title and follow up with ...
Yuluma Nunbanna - workaholic ad dies vitae
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

hi

if you refer to the {NEWS} Tag:

$template_default["news"]["link_length"] = 10; //if 0 no limit

10 as example ...;)

inside of config/phpwcms/conf.template_default.inc

:idea:
Jürgen
Post Reply