0
Welcome Guest! Login
0 items Join Now

adding <?php mosShowHead (); ?> into the head section

  • adding <?php mosShowHead (); ?> into the head section

    Posted 16 years 1 month ago
    • By adding the Jom Comment component to any of Rocketthemes templates I am supposed to add <?php mosShowHead (); ?> to the head section of the template. So i go into template manager and choose the template, I then click on "Edit HTML"

      I add that code in the head section as below:

      <head>
      <?php mosShowHead (); ?>
      <jdoc:include type="head" />
      <?php
      require(YOURBASEPATH . DS . "rt_tabmodules.php");
      require(YOURBASEPATH . DS . "rt_utils.php");
      require(YOURBASEPATH . DS . "rt_head_includes.php");
      ?>
      </head>

      When I try to access the front end after saving it comes up with :
      Fatal error: Call to undefined function mosshowhead() in /home/couchcri/public_html/templates/rt_catalyst_j15/index.php on line 58

      I understand that this may not be your problem but have any of you used Jom Comment successfully with a rocketheme template. I have searched the forums here but cannot find anything that works. I think I may just be adding that code in the incorrect place.
  • Re: adding <?php mosShowHead (); ?> into the head section

    Posted 16 years 1 month ago
    • SHADLEY ONIA wrote:
      By adding the Jom Comment component to any of Rocketthemes templates I am supposed to add <?php mosShowHead (); ?> to the head section of the template.
      I don't think by using Jom Comment, you need to put <?php mosShowHead (); ?> in the index.php, because in Joomla 1.5, you have already had <jdoc:include type="head" />

      Just installed the jom comment like you install another component without needing hacking on template index.php

Time to create page: 0.043 seconds