Include a specific entry in a template file

Discuss PivotX 2.0.x themes here, and view themes that are available for download.

Include a specific entry in a template file

Postby brettpthomas » Fri Feb 18, 2011 5:58 pm

Hey, just trying this out - can you include a specific entry in a template file?

Something like this would be awesome: [[ include entry_id="3" ]]

Use case is that I want to allow user to edit a component of the theme via the admin GUI.
brettpthomas
 
Posts: 2
Joined: Fri Feb 18, 2011 5:52 pm

Re: Include a specific entry in a template file

Postby hansfn » Fri Feb 18, 2011 9:36 pm

I think you are looking for getentry.
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Include a specific entry in a template file

Postby brettpthomas » Fri Feb 18, 2011 11:23 pm

Yup, thanks!
brettpthomas
 
Posts: 2
Joined: Fri Feb 18, 2011 5:52 pm


Return to 2.x Themes

Who is online

Users browsing this forum: No registered users and 3 guests

cron