Page 1 of 1

Article list outside an article

Posted: Fri 17. Feb 2006, 15:55
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:

No sugestions at all?

Posted: Thu 23. Feb 2006, 12:36
by yuluma
Isn't there anybody that can point me in some direction? Or is my question to simple or not right explained? :(

{NEW:5:1}

Posted: Thu 23. Feb 2006, 12:51
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:

Posted: Thu 23. Feb 2006, 13:29
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

TEASER

Posted: Fri 24. Feb 2006, 12:31
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 !!!!

Another question

Posted: Fri 24. Feb 2006, 12:43
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 ...

Posted: Fri 24. Feb 2006, 13:10
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