Hello,
I just trying to get started with Xanthia and Smarty and I'm finding it very difficult to get anywhere. If someone could help me out that would be great.
I fount this thread:
http://forums.postnu…&mode=newtopic&f=58
I can get it working with AutoTheme but really want to use xanthia. Could some please show me how to do that with Smarty.
I'm sure I would not be be the only one who would benifit from this as it' is used in quite a few themes I've seen.
Thank you for your time.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Building dynamic theme links
-
- Rank: Freshman
- Registered: Apr 06, 2005
- Last visit: Feb 27, 2010
- Posts: 59
-
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
That link doesnt go to a thread...
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Freshman
- Registered: Apr 06, 2005
- Last visit: Feb 27, 2010
- Posts: 59
My apologies, blurry eyes. This time it is correct, I tried it before pressing submit.
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=15061&highlight=
Thank you for your time HammerHead -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Two choices - either include the PHP in your template using the pnRender / Xanthia tag:
Code
Or use Smarty functions to do the same thing, (see docs at http://smarty.php.net)
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide
- Moderated by:
- Support
