site wide variables in a php cms
I am using this cms, which has a plugin to mange site wide variables. (e.g; you can put [phone_number] anywhere on the site and set its value in the admin section).
I don't know much about php but i assume the php scripts change the value as it loads the page. I have a sidebar which uses an iframe and the php doesn't change the values on the other page.
The cms also has a fragmenter plugin which i think the php scripts load the fragments content, i was wondering if i replaced my iframe with a fragment would i be able to change values using the site wide variables.
I dont really understand the fragmentor plugin so heres a link.
By the way my iframe page uses javascript, so i would need that to work.
Re: site wide variables in a php cms
Since I have no actual experience with this content management system, I won't be able to say much. And it really depends on what you're actually doing inside of your iframe. It seems like it lets you create a block of some sort and place it into your CMS, and the block can be fully customized to retrieve whatever data you want. I'd suggest you walk through their little tutorial and do whatever you're trying to do, and see if it works out. I can't see why it wouldn't (though in your main template, you'd probably need to include the JavaScript resources if they're external).