Hi all,
I have a simple enough problem, I feel dumb asking it actually but I cannot seem to find the right spot to put in a piece of PHP code. Here's the situation:
I have a Xanthia Theme that I have heavily modified, and its parts in the Xanthia editor in the Admin section are all .HTML files.
I have a pulldown menu that I used instead of a block-menu, which requires one simple IF clause in PHP, using the pnUserLoggedIn functionality. Essentially I have a PHP coded set that must be in the BODY of the HTML served, and a header and footer text, that must also be included. The header and footer stuff is not a problem. They can go into the HTML HEADER FOOTER templates.
I just don't know where I can force this short 6 lines of PHP code that will be seen by the XANTHIA theme at some point between the HEADER template and the FOOTER template.
in the Theme.php there is a routine that runs the header, and a routine that runs the footer... should I put this code (PHP) after the run header function?
Anyone have any ideas?
My prior theme was non Xanthia and was all PHP files... so the menu was no issue.
Anyone able to help?
Greetings,
Antonio
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 10:33 PM
- 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
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
