-
AuthorPosts
-
May 9, 2006 at 11:32 am #116670
I have downloaded the JA Pluto Dark and Bright templates and I have quickly changed most of the items that I wanted to in the template, but I can’t find the area to change the text for the following sliding items at the top of the template:
Today Movie, Statistics, Our Sponsors
Where do I find these text items to change each to what I want?
(I modified my original question as I found out the text items are called the HEADER SPOTLIGHT items in the ja-pluto template HTML)
Any help appreciated.
(Note! I managed to figure it out, even though I am lacking sleep)See my reply below for details of how to change the HEADER SPOTLIGHT text items.
Douglas
May 9, 2006 at 12:15 pm #209335I am learning more and more about Joomla and templates every day. I was almost ready to go to sleep and then it hit me. I must have missed it in the Edit HTML area of the Template Manager.
😀How to Change the HEADER SPOTLIGHT text items Today Movie, Statistics, Our sponsors:
1. In Joomla, select the Site Menu > Template Manager > Site Templates
The Template Manager will appear with a list of your templates available.
2. Select the ja_pluto template, then select Edit HTML in the top right area of Joomla.
(Be careful not to change anything but the HEADER SPOTLIGHT text items, as you are editing the template HTML, and you don’t want any erros if you mess up. It’s easy if you are careful.)This will bring up the Template HTML Editor to edit the index.php
3. Scroll down to the <!– BEGIN: HEADER SPOTLIGHT –>
You will see the Text items for the Header Spotlight, and you can change the text for each item. See below for the changes I made:
Be careful not to make any other changes other than the text inbetween the <a> text item </a>
4. This is where you will change the Header Spotlight text items to what you want in your website template.
In this example below this ORIGINAL I changed the following text items:
<a>Today Movie</a> I change the text to <a>Today’s Menu News</a>
<a>Statistics</a> I change the text to <a>Today’s Specials</a>
<a>Our Sponsors</a> I change the text to <a>Our Specials</a>
ORIGINAL HEADER SPOTLIGHT in ja-pluto
=================================<!– BEGIN: HEADER SPOTLIGHT –>
<div id=”spotlight”>
<ul class=”headtab-wrapper”>
<?php if ( mosCountModules( ‘top’) ) { ?>
<li class=”headtab” id=”headtab-1″>
<a>Today Movie</a>
</li>
<?php }
if ( mosCountModules( ‘user5’) ) { ?>
<li class=”headtab” id=”headtab-2″>
<a>Today Game</a>
</li>
<?php }
if ( mosCountModules( ‘user1’) || mosCountModules( ‘user2’) || mosCountModules( ‘user6’) ) { ?>
<li class=”headtab” id=”headtab-3″>
<a>Statistics</a>
</li>
<?php } ?>
<li class=”headtab” id=”headtab-4″>
<a>Our Sponsors</a>
</li>
</ul>HOW I MODIFIED THE TEXT IN HEADER SPOTLIGHT in ja-pluto
=================================<!– BEGIN: HEADER SPOTLIGHT –>
<div id=”spotlight”>
<ul class=”headtab-wrapper”>
<?php if ( mosCountModules( ‘top’) ) { ?>
<li class=”headtab” id=”headtab-1″>
<a>Today’s Menu News</a>
</li>
<?php }
if ( mosCountModules( ‘user5’) ) { ?>
<li class=”headtab” id=”headtab-2″>
<a>Today’s Specials</a>
</li>
<?php }
if ( mosCountModules( ‘user1’) || mosCountModules( ‘user2’) || mosCountModules( ‘user6’) ) { ?>
<li class=”headtab” id=”headtab-3″>
<a>Weekly News</a>
</li>
<?php } ?>
<li class=”headtab” id=”headtab-4″>
<a>Our Menu Specials</a>
</li>
</ul>5. When you are done making the changes, choose Save and then you can Preview your website to see the changes.
I hope this helps those who want to change the etxt for the Header Spotlight in ja-Pluto.
🙂 Douglas:)
Hieu Nguyen AdminHieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
May 16, 2006 at 8:08 am #209412Thank you Douglas, your valuable post is sure to help lots of people here!
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Hieu Nguyen 18 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum