Articles

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Articles

Post by wireless »

How doI automaticly append the author, date, and email link to the end of an article with out having to add it manualy everytime?

:?
Pappnase

Post by Pappnase »

hello

thats the way we do it at the docu site.

this is a part of the template for the main area

Code: Select all

<br />
{CONTENT}
<br />
{DATE_ARTICLE} - {TIME_ARTICLE} by [MAIL {AUTHOR}@your_domain.com]{AUTHOR}[/MAIL]
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

Where do I put this?

in the config file?
Still trying to get my hands around this
Pappnase

Post by Pappnase »

hello

in your template!
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

boy do I feel stupid
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

works great.
however, when I have more that one article on a page it doesn't show up unless you go to that article.

Is there a way to get this to show below every article (summary) regardless of how many are listed on a given page?
Pappnase

Post by Pappnase »

hello

try it by editing the template for the article summarys!
i never test it!
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

hate to be a nag, but where would I find that template
Pappnase

Post by Pappnase »

hello

http://docu.fhss.de/creating_articles.phtml

http://docu.fhss.de/creating_articles.phtml wrote:template article listing / display full article (optional):
Here you can choose an template for article and summary. Choose for an test the sample.tmpl in the dropdown menues. You will find the template for article listing in /phpwcms_template/inc_cntpart/articlesummary/list and for the full article /phpwcms_template/inc_cntpart/articlesummary/article.
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

Got it.
Thanks for the help.

So can I define that this templete become the default so I don't have to select it everytime?
Pappnase

Post by Pappnase »

hello

no thats not possible at the moment! as far as i know this feat. will come.
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

:cry:
oldfolk
Posts: 41
Joined: Tue 5. Oct 2004, 17:15

Post by oldfolk »

Have you tried renaming the default to something else and naming the one you want to use as default 'default'?

I'm not sure if this would mess things up so besure to keep the original default in the same folder and rename 'default_1st' or something. Then if something screws up, ftp into backend, delete the new default and name the original back to default.

Just a suggestion....
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

where is the default template?
Pappnase

Post by Pappnase »

hello


no the default template is hardcoded! so how you wanna rename it!?
Post Reply