Results 1 to 2 of 2

Thread: site wide variables in a php cms

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    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.
    Last edited by chris1990; Jun 9th, 2011 at 03:31 AM.
    If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.

    If you fail, try and try again, its the only way to success.

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    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).
    Like Archer? Check out some Sterling Archer quotes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width