Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • kevin bates Friend
    #133783

    I am using the Pyrite template on J1.5.7. The domain is cutterart.com
    All I want to do is add the phone number beneath the copyright. I have tried to add it with html code on the include/footer.php but it does not show up, Here is the code:

    <div align=”center”>
    © <?php echo JHTML::_(‘date’, ‘now’, ‘%Y’ ) . ‘ ‘ . $mainframe->getCfg(‘sitename’); ?><p><br />phone: 541.388.8182 </p>
    </div>
    <div align=”center”>
    <p><br />phone: 541.388.8182 </p>
    </div>

    Is there a better way to add this or how should I code this?

    jwellman Friend
    #272508

    You have it in the wrong spot. It does not have to be within in the PHP code. Try this at the very end of the footer (that means after the end of php code which should have a ?> indicating the end.
    <small>Phone: 541.388.8182</small>

    kevin bates Friend
    #272572

    Nope! I wish I could say that that did it but it did not.
    Here is the code now:
    <div align=”center”>
    ©<?php echo JHTML::_(‘date’, ‘now’, ‘%Y’ ) . ‘ ‘ . $mainframe->getCfg(‘sitename’); ?><small>Phone: 541.388.8182</small>
    </div>
    Anything you can think of would be helpful.
    Thanks!

    Menalto Friend
    #272577

    open up the templates folder and in there you have a folder called html, open that one, and you see a folder called mod_footer, open that one and in there you have a file caled default.php, open that file and you see this here:

    <?php // no direct access
    defined('_JEXEC') or die('Restricted access'); ?>
    <small><?php echo $lineone; ?> Designed by
    <a href="http://www.joomlart.com/" title="Visit Joomlart.com!" target="blank">JoomlArt.com</a>.</small>
    <!--<small><?php echo JText::_( 'FOOTER_LINE2' ); ?></small> -->

    Play around and let us know how it is going?

    kevin bates Friend
    #273091

    Menalto, thank you so much – that did the trick.
    Now I am wondering where I can set the width of the footer menu (topmenu).
    I will post a new thread for this.
    Thanks!
    kevin

    treybraid Friend
    #278118

    ive tried to make this edit too and for some reason it isnt working…. site is up but not active— i can pm you my login details to take a look… i am trying to add the address at the bottom in the footer…see the screenshot…

    it can be before or after it…

    any idea’s?
    thanks
    trey


    1. lsh9999
Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  treybraid 16 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum