CMS fields other than 'Introduction' and 'Body'

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

CMS fields other than 'Introduction' and 'Body'

Postby SimonMGarrett » Sat Jun 30, 2012 6:40 pm

I'm a PivotX newb. Is there an easy way to add/edit content fields in the CMS interface to take data for custom template variables?

Out of the box, the CMS interface has 'Introduction' and 'Body' fields, but lets say I want to give a client the option to fill in three boxes on each page, say 'Block 1', 'Block 2' and 'Block 3'? It would be nice to give the client three textbox fields in the CMS interface for him to fill in. Of course, I could code the page structure in the existing 'Body' field, but it really wouldn't be long before the client messes it up (he's a lovely guy, but believe me he just wouldn't cope).

Is this possible, perhaps via Smarty tags that automatically get picked up by PivotX?

If not, would it be a complete nightmare to hack^H^H^H^H masterfully alter PivotX's own code and templates to add these fields? I'm a fairly able PHP programmer.

Thanks.
SimonMGarrett
 
Posts: 2
Joined: Sat Jun 30, 2012 6:26 pm

Re: CMS fields other than 'Introduction' and 'Body'

Postby Schop » Sat Jun 30, 2012 10:05 pm

User avatar
Schop
Contributor
 
Posts: 481
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: CMS fields other than 'Introduction' and 'Body'

Postby SimonMGarrett » Sun Jul 01, 2012 10:36 am

Thanks! Looks perfect :)
SimonMGarrett
 
Posts: 2
Joined: Sat Jun 30, 2012 6:26 pm


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 3 guests

cron