-
AuthorPosts
-
kevin bates Friend
kevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
September 26, 2008 at 7:19 pm #133783I 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 Friendjwellman
- Join date:
- April 2008
- Posts:
- 543
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 115
- Thanked:
- 59 times in 21 posts
September 26, 2008 at 7:45 pm #272508You 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 Friendkevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
September 26, 2008 at 9:41 pm #272572Nope! 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 FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 26, 2008 at 10:31 pm #272577open 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?1 user says Thank You to Menalto for this useful post
kevin bates Friendkevin bates
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
September 29, 2008 at 5:19 pm #273091Menalto, 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!
kevintreybraid Friendtreybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
November 5, 2008 at 6:00 am #278118ive 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
AuthorPostsViewing 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
Hacking the footer on Pyrite
Viewing 6 posts - 1 through 6 (of 6 total)