Article Template

post everything related to phpwcms templates here
Post Reply
slinkyomeara
Posts: 24
Joined: Tue 16. Sep 2008, 03:26

Article Template

Post by slinkyomeara » Fri 8. May 2009, 06:29

Hello,

How do I apply a template to an article and use css to style the article and text?
Where is the default style for the article text stored?

I can style everything already such as article date article summary article title but not the actual article text

cheers

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Article Template

Post by flip-flop » Fri 8. May 2009, 10:24

>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )

slinkyomeara
Posts: 24
Joined: Tue 16. Sep 2008, 03:26

Re: Article Template

Post by slinkyomeara » Sat 9. May 2009, 13:45

Thanks for that now what is the tag for an articles content? These are the only sections but this does not cover the
actual article text? Is it in frontend.css?

<!--
sample custom full article summary template
===========================================

TITLE = article title
SUB = article subtitle
SUMMARY = article summary text
IMAGE = summary image, also click zoomable
CAPTION = summary image caption
DATE = show article date {DATE:FORMAT lang=LANG} or {DATE:FORMAT}

//-->
<div>

User avatar
update
Moderator
Posts: 6372
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Article Template

Post by update » Sat 9. May 2009, 14:07

Did you ever check out the Content Part concept? If not, the it will be the hottest thing to discover....
It's mostly all about webdesign, logo design, new and old pages refresh, print BUT slowly switching to be supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.

slinkyomeara
Posts: 24
Joined: Tue 16. Sep 2008, 03:26

Re: Article Template

Post by slinkyomeara » Sun 10. May 2009, 05:30

ok i found that frontend.css is controlling the style of the article
so now ask what css style controls the articles text?

You still have not answered my question and those links you sent me are badly written english and hard to follow

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Article Template

Post by flip-flop » Sun 10. May 2009, 08:17

In every article/cp-template you can build your own classes (container) and set the corresponding instructions in template/inc_css/frontend.css (or your own on, created in template/inc_css/* - if you have bind it in Admin -> templates to your template).

Please translate the text into a better english if it is so wrong.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )

Post Reply