NOTICE: RocketTheme will be releasing templates for Joomla! 1.5 only starting January 2009. Read the thread…
RocketTheme  |  General  |  General Discussion  |  Topic: How Could I Do this?? « previous next »
Pages: [1] Go Down Print
Author Topic: How Could I Do this??  (Read 2656 times)
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

How Could I Do this??
« on: November 15, 2007, 02:34:12 PM »

First, thanks for taking a moment to read. I have installed template Colormatic

Now in its default state at the top in the " Header " position there is a TAB which says " Open Control Panel " when you click that it comes down and in the demo version there are each of the 16 styles displayed.... ok now I have 2 ideas that I would like to see if they are possible

1st and foremost I would like to see...

How hard would it be to create 6 more of those tabs and have them beside each other and when they are clicked instead of having the thing come down just have it go to an external website

I will explain why.. I have 7 websites and i want them immediately available as options that people can go to when they load up my first site, so at first I thought ok I will keep the 1 tab and just change the wording from " Open Control Panel " to " View Other Sites and then in the drop down have 7 small images of my sites

But experience has shown people if you want people to see something put it as much in front of their face as possible not hidden behind a drop down tab.

So I thought well if i have 7 tabs along the top of the fx-tab.png side by side with the names of my sites on each one it would be clearer and then once clicked it would take them to that site.

Ok.... so how would i go about doing that? Obviously i have would have to take the one fx-tab.png and create 6 more with my wording on it but the question is

1. How can i first stop the dropdown from occuring on the tab thats there
2. How can i setup each tab side by side
3. How can i have it so that each tab when clicked goes to its external site

I really hope someone can help me with this
Logged
Robert Wade
Professional
Hero Rocketteer
*
Offline Offline

Posts: 574


Re: How Could I Do this??
« Reply #1 on: November 15, 2007, 02:53:47 PM »

jono...this sounds like it would take a bit of custom coding which I would imagine you'd have to either do it yourself or find someone to do it for you.  I do not think there are any tutorials of such around the RT area.

Why not just put images/links in a module that is highly visible or at the top somewhere and skip all the additional work?  It might make it easier for you and also help you avoid the custom coding.  Just a thought. Smiley
Logged

Not sure which file to edit or what code to change? Check out Firebug
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

Re: How Could I Do this??
« Reply #2 on: November 15, 2007, 03:03:12 PM »

jono...this sounds like it would take a bit of custom coding which I would imagine you'd have to either do it yourself or find someone to do it for you.  I do not think there are any tutorials of such around the RT area.

Why not just put images/links in a module that is highly visible or at the top somewhere and skip all the additional work?  It might make it easier for you and also help you avoid the custom coding.  Just a thought. Smiley

Yeah i just thought it would be fairly straight forward as there must be some code somewhere in this template telling it to display this TAB, if i could just find where that is maybe I could figure it out.. I just want to keep the tab but get rid of the dropdown.. you dont know where the code for the tab is would you?
Logged
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

Re: How Could I Do this??
« Reply #3 on: November 15, 2007, 03:13:21 PM »

Like it calls it the header position but I cant find anywhere in the template or site modules this drop down tab?Huh
Logged
GollumX
Professional
Hero Rocketteer
*
Offline Offline

Posts: 2755


Got Coffee?

Re: How Could I Do this??
« Reply #4 on: November 15, 2007, 05:02:51 PM »

probably easier to remove the fx tab, then add in a full width div at the top of index.php. stick a module in the div and publish the othermenu to the module position. Of course you'd have to style the menu to give it the horizontal tabbed look you want.
Logged

Say no to Internet Explorer 6.
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

Re: How Could I Do this??
« Reply #5 on: November 15, 2007, 05:12:22 PM »

what would the full div code look like?
Logged
GollumX
Professional
Hero Rocketteer
*
Offline Offline

Posts: 2755


Got Coffee?

Re: How Could I Do this??
« Reply #6 on: November 15, 2007, 06:26:26 PM »

I'm sorry, I have changed my mind.

It would take a bit of work, but you might do better to just duplicate the fxtab

In index.php, look for:
Code:
<div id="fxTab">
<span class="fxTrigger">Open Control Panel</span>
</div>

Replace it with:
Code:
<div class="fxTab">
          <span class="fxTrigger"><a href="http://www.yoursecondsite.com>Second Site</a></span>
</div>
<div class="fxTab">
          <span class="fxTrigger"><a href="http://www.yourthirdsite.com>Third Site</a></span>
</div>
<div class="fxTab">
          <span class="fxTrigger"><a href="http://www.yourfourthsite.com>Fourth Site</a></span>
</div>

Modify the CSS as needed. Note #fxTab and #fxTrigger will need to be changed to .fxTab and .fxTrigger respectively in your css files. Use the 'margin' property to position the tabs. You may need to give each tab div an id in addition to the class(fxTab) to help you exactly place each one.

A bit of work, but doable. Sorry but I can't add more to this... work, and keeping a roof over my family and all that Wink
As always, Firebug is your friend!
« Last Edit: November 15, 2007, 06:28:30 PM by GollumX » Logged

Say no to Internet Explorer 6.
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

Re: How Could I Do this??
« Reply #7 on: November 15, 2007, 06:42:50 PM »

hey that was really kind of you to put the effort in to help. I will definately give that a try.. thank you very much- fingers crossed
Logged
abundance
Sr. Rocketeer
****
Offline Offline

Posts: 162

Re: How Could I Do this??
« Reply #8 on: November 15, 2007, 06:54:11 PM »

unfortunetly that didnt work the tabs did not display it messed it all up big time, so i went back to the default.. nice try though
Logged
GollumX
Professional
Hero Rocketteer
*
Offline Offline

Posts: 2755


Got Coffee?

Re: How Could I Do this??
« Reply #9 on: November 15, 2007, 06:57:15 PM »

of course it didn't work.. there is a lot more than that to be done. what I posted their is just the idea.

If I find some time this evening I'll dl colormatic and give it a go. no promises though! Smiley
Logged

Say no to Internet Explorer 6.
Pages: [1] Go Up Print 
RocketTheme  |  General  |  General Discussion  |  Topic: How Could I Do this?? « previous next »
Jump to: