0
Welcome Guest! Login
0 items Join Now

Including PHP in HiveMind modules

  • Including PHP in HiveMind modules

    Posted 17 years 2 weeks ago
    • Hey Guys,

      I'm a newbie having alot of fun with HiveMind. Love the template - while simple, its one of the most professional look templates on this site (i.e.) doesn't look like a "techie-blog" site.

      I'm havign trouble including PHP script within the module positions. Is there some setting I am overlooking?

      I have downloaded some plug-ins form the Joomla.org site that allow me to parse PHP within the main content section of my template. Works like a charm.

      The only problem - none of the plug-ins allow me to run PHP within my modules - I'm I missing something. Is it normal to run small PHP scripts withing Module content?? Any tips on how??

      Any suggestions more than welcome. Cheers.
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Including PHP in HiveMind modules

    Posted 17 years 2 weeks ago
    • pagecafe's Avatar
    • pagecafe
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: Including PHP in HiveMind modules

    Posted 16 years 10 months ago
    • I am trying to run a js script in a module (Firenze) and I have tried both the Joomla PHP module - mod_php (mentined by Gollum) and also another highly rated module called Jumi. The script runs fine on Firefox but does nothing or displays an error on IE6. (The script is in the top module at www.promoz.com ). Below is the script which starts up a "live support" chat with a 3rd party service. Any ideas on how to make this work with IE6.

      Thx,
      Al

      <!-- live2support.com tracking codes starts -->
      <div align="right">
      <script type="text/javascript">
      <!--
      var l2s_pht=escape(location.protocol); if(l2s_pht.indexOf("http")==-1) l2s_pht='http:'; function l2s_load() { document.write('<scr'+'ipt type="text/javaScr'+'ipt" src="'+unescape(l2s_pht)+'//live2support.com/js/lsjs1.php?stid=10101" defer=true>'+'</scr'+'ipt>'); }
      l2s_load(); //--></script>
      </div>
      <!-- live2support.com tracking codes closed -->

Time to create page: 0.066 seconds