1

Hi guys I'd like to be able to give my CMS pages a PHP variable so that I can identify them and display a PHP array on the page (Basically giving me great control over the content that is displayed within my CMS pages).

Is this possible?

1 Answer 1

0

For this you can use CMS page Identifiers , and identify them using

Mage::getSingleton('cms/page')->getIdentifier();

and fetch the code according to that

Or Code the page in a PHTML file and call that into your CMS page that way u will have more flexibility

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.