Shape 5

Joomla Templates => City Portal - January - Club => : jjsmulo January 17, 2009, 06:44:51 PM



: Make My Home Page and RSS Icons
: jjsmulo January 17, 2009, 06:44:51 PM
I figured out that if I set up a Contact page the 'email' icon up top will go to my Contact page.

But I can't figure out how to get the Make My Home Page Icon not say "Shape 5 - City Portal" when I click on it to put into bookmarks.

I also can't figure out how to get the RSS icon to work.

Help would be much appreciated.


: Re: Make My Home Page and RSS Icons
: dangel January 17, 2009, 06:55:11 PM
I have similar problems.  I haven't looked how to switch the Make My Homepage to a different text, yet.

My RSS feed comes back as
http://www.yoursite.com//index.php?option=com_rss&feed=RSS2.0&no_html=1
and results in a 404 page error.


: Re: Make My Home Page and RSS Icons
: kalasoft January 17, 2009, 07:46:53 PM
You'll find these configurations within the index.php file. Do a search for 's5_homepage' and in this group is where you can edit the 'Email, My Home Page and RSS feed information.

Ed H.


: Re: Make My Home Page and RSS Icons
: jjsmulo January 17, 2009, 07:58:31 PM
Thank you for the help.

I'm guessing that the code I'm supposed to change for the home page is:

:
<div id="s5_homepage"></div>
<div class="s5_padding" onclick="javascript:bookmarksite('Shape 5 - City Portal', '<?php echo $LiveSiteUrl;?>')" >Make My Homepage</div>

I tried changing 'Shape 5 - City Portal' to 'Test Site' and I get error messages that it didn't save or fatal error. Am I in the wrong place?

Thanks again for your help.


: Re: Make My Home Page and RSS Icons
: kalasoft January 17, 2009, 08:09:59 PM
I just changed the following code to my specific website... no errors!

ORIGINAL CODE:
:
<div class="s5_padding" onclick="javascript:bookmarksite('Shape 5 - City Portal', '<?php echo $mosConfig_live_site;?>')" >Make My Homepage</div>


MY REVISED CODE:
:
<dass="s5_padding" onclick="javascript:bookmarksite('the Fewer the Less', '<?php echo $mosConfig_live_site;?>')" >Mark This Homepage</div>


: Re: Make My Home Page and RSS Icons
: jjsmulo January 17, 2009, 09:11:01 PM
That's strange, our code is different. Did you go to the index.php in the City Portal template or elsewhere?


: Re: Make My Home Page and RSS Icons
: kalasoft January 17, 2009, 09:56:35 PM
No, the code is the same, I just excluded the

:
<div id="s5_homepage"></div>

from what I posted.

Ed H.


: Re: Make My Home Page and RSS Icons
: jjsmulo January 18, 2009, 12:47:47 PM
What about the difference between:

:
('Shape 5 - City Portal', '<?php echo $LiveSiteUrl;?>')

and

:
('Shape 5 - City Portal', '<?php echo $mosConfig_live_site;?>')

Do I need to change "$LiveSiteUrl" to $mosConfig_live_site? I'm not sure why those parts were different.


: Re: Make My Home Page and RSS Icons
: kalasoft January 18, 2009, 04:55:51 PM
What version of Joomla are you working behind? The code I referenced was from the Joomla 1.0x template. I know there are some global code differences between the two versions and that could be the difference. I'll look into the Joomla 1.5 template to see if this is the case.


: Re: Make My Home Page and RSS Icons
: jjsmulo January 18, 2009, 09:19:44 PM
I'm using 1.5.8. I'm still not sure what I can do to get this to save. Thanks.


: Re: Make My Home Page and RSS Icons
: kalasoft January 19, 2009, 08:02:18 AM
I installed this template onto a Joomla 1.5 install and changed the following code to my specific site without a problem.

:
<div class="s5_padding" onclick="javascript:bookmarksite('the Fewer the Less', '<?php echo $LiveSiteUrl;?>')" >Mark My Homepage</div>

You might want to un-install/re-install this template on your end and also ensure that the file '/templates/city_portal/params.ini' and '/templates/city_portal/index.php' is writable.


: Re: Make My Home Page and RSS Icons
: jonahh January 19, 2009, 11:02:51 AM
I'm using 1.5.8. I'm still not sure what I can do to get this to save. Thanks.

Permissions on your server may prohibit you from saving the index.php from your Joomla admin.  Try using and FTP client or the Joomlexplorer component to edit the index.php file and save it.