Would like to separate the {CONTENT} tag from the {PHP:filename.php} tag with code inside a template main box:
Ex. if (FE_CURRENT_URL == "{SITE}index.php?article")
use {CONTENT};
else
use {PHP:filename.php};
Having trouble with a call of the {CONTENT} within the html code found in the file.
For what is intended, just created another template for the content based article.
Upgraded to 1.4.5 (2010/02/22, r401).
Consider this one solved.
All templates where the desired, either built content for the article or that of {PHP:filename.php}
can be done by leaving the main box empty, and using a html content part to hold the above PHP tag.
The content added by the article form is called by default, so a empty main on the template form leaves a call
of the default.
Could have sworn that before the upgrade, using the {PHP:tag} within a html content part from the article form page
would not work . Tried it after the upgrade and using just the {PHP:tag} alone nothing else within a html
content part from the article form page (addition to the content) the file is included with out worry of conflict with
other content.
CONTENT TAG
Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Return to “phpwcms Support English”
Jump to
- General
- ↳ Announcements
- ↳ Copyright
- ↳ phpwcms !!!Security Alert!!!
- phpwcms English
- ↳ phpwcms Installation Troubleshooting English
- ↳ phpwcms Support English
- ↳ phpwcms Templates English
- ↳ phpwcms Modules English
- phpwcms Deutsch
- ↳ phpwcms Installationsprobleme Deutsch
- ↳ phpwcms Support Deutsch
- ↳ phpwcms Templates Deutsch
- ↳ phpwcms Module Deutsch
- phpwcms Showcase, Projects & Discussion
- ↳ phpwcms Discussion
- ↳ sites you are proud of (made with phpwcms only)
- ↳ sites under construction (made with phpwcms only)
- phpwcms unsupported
- ↳ (unofficial) tutorials & documentation
- ↳ hacks & enhancements
- ↳ hacks & enhancements Support
- Non-phpwcms specific and outdated
- ↳ General Discussion
- ↳ phpwcms Feature Requests
- ↳ phpwcms Bug Reports