0
Welcome Guest! Login
0 items Join Now

Please Help I can't get php code to display in modules

    • 's Avatar

    Please Help I can't get php code to display in modules

    Posted 17 years 3 months ago
    • Hello, admitedly. I don't know much about joomla. However, when I put the code listed below into a word pad file and save it as a php and upload it to my server and then load it into a browser it works ala www.radiomaxx.net/index5.php


      However, In a joomla templete with the same pathing I make a module and paste the cody into the window but it does not work. All I see is the descriptive text none of the php rendered information. Any help appreciated. Thakns. You can look at www.radiomaxx.net right side page is where i have the same info pasted into a created module but as you can see nothing shows. And I'm not using wysiwig.



      <?php include_once("stellar-settings.php"); ?>
      <?php include_once("stellar-donations.php"); ?>


      <TR><TD valign=top style="padding: 5px 5px 5px 5px;border-width: 1px;border-spacing: 0;border-style: solid;border-color: #000000;">
      <B>#7 Complex Status Display - Top Donations</B><BR>
      <div style="text-align: center;padding: 5px 5px 5px 5px;border-width: 1px;border-spacing: 0;border-style: dotted;border-color: #000000;">
      <?PHP donationsMapTop('donation',200,5); ?>
      </div>
      </TD>
      <TD valign=top style="padding: 5px 5px 5px 5px;border-width: 1px;border-spacing: 0;border-style: solid;border-color: #000000;">
    • svrsolid's Avatar
    • svrsolid
    • Rocketeer
    • Posts: 77
    • Thanks: 0

    Re: Please Help I can't get php code to display in modules

    Posted 17 years 3 months ago
    • You need to have an extension installed that will execute the php code. By default anything that is content in Joomla is not parsed for PHP / javascript / etc. If you look at extensions.joomla.com and then Custom Code area there are a number of products that allow you to execute code within a module or component position.

Time to create page: 0.078 seconds