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 »

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 »

>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
slinkyomeara
Posts: 24
Joined: Tue 16. Sep 2008, 03:26

Re: Article Template

Post by slinkyomeara »

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: 6446
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Article Template

Post by update »

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 maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
slinkyomeara
Posts: 24
Joined: Tue 16. Sep 2008, 03:26

Re: Article Template

Post by slinkyomeara »

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 »

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