Tabs not showing up

17 years 9 months ago #17292 by velcro
Replied by velcro on topic Re:Tabs not showing up
you may have received an answer on this but it goes just below the first head tag in the templates index.php file.
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>

you can access this buy choosing the template you are using and then choose the edit html button on the top right.

btw it makes no difference and the tabs still won't show :)

Ive searched around all afternoon and have yet to find a fix.
it is very difficult getting help for CB or CBE
good luck!

Please Log in to join the conversation.

17 years 6 months ago #22266 by MrChan
Replied by MrChan on topic Re:Tabs not showing up *FIX SOLUTION HERE"
Hello;

Ok this issue with the ex2 template has been buggin the hell out of me for a couple days, so today I sat down and traced the issue back to the sifr scripts.

What happens is the template looks for a swf file, which contains a font, then it replaces the existing font with the swf font, and hides the default font ;) So then you have a bunch of tabs in the user profile piled on top of each other, and no actual tab selection.... Whew thats long winded haha.

Anyway I have attached the file that you can simply "REPLACE" your old one and it will work. "BACK UP YOUR FILE FIRST" I do not want to be held accountable for any bugs, it works flawless on my site.

To install the file do the following:

1 - Extract the zip to your desktop.
2 - Upload and overwrite the file on your server - /templates/rt_extremities2/sifr/
3 - Edit templateDetails.xml with the following files listing below. (or you can just simply remove the 2 un-needed files on your xml file: sifr-addons.js and sIFR-print.css)

Here is the file:

Attachment rt_extremities2_tabs_fix.zip not found



Now to let you know my template was slightly altered because I did not want all of the sifr crap on my server. So in: templateDetails.xml I have the following files listed:

[code:1] <files>
<filename>index.php</filename>
<filename>rt_splitmenu.php</filename>
<filename>templateConfig.inc.php</filename>
<filename>templateDetails.xml</filename>
<filename>template_thumbnail.png</filename>
<filename>css/index.html</filename>
<filename>css/template_css.css</filename>
<filename>css/template_ie.css</filename>
<filename>css/blue_color.css</filename>
<filename>css/green_color.css</filename>
<filename>css/red_color.css</filename>
<filename>images/arrow.png</filename>
<filename>images/emailButton.png</filename>
<filename>images/ex2_banner_blue.jpg</filename>
<filename>images/ex2_banner_green.jpg</filename>
<filename>images/ex2_banner_red.jpg</filename>
<filename>images/ex2_bg_bottom_grey.png</filename>
<filename>images/ex2_bg_bottom_red.png</filename>
<filename>images/ex2_bg_middle_grey.png</filename>
<filename>images/ex2_bg_middle_red.png</filename>
<filename>images/ex2_bg_top_grey.png</filename>
<filename>images/ex2_bg_top_red.png</filename>
<filename>images/ex2_bullet_grey.png</filename>
<filename>images/ex2_bullet_red.png</filename>
<filename>images/ex2_button_grey.png</filename>
<filename>images/ex2_button_red.png</filename>
<filename>images/ex2_header_blue.jpg</filename>
<filename>images/ex2_header_green.jpg</filename>
<filename>images/ex2_header_red.jpg</filename>
<filename>images/ex2_menu_grey.png</filename>
<filename>images/ex2_menu_red.png</filename>
<filename>images/indent1.png</filename>
<filename>images/indent2.png</filename>
<filename>images/indent3.png</filename>
<filename>images/indent4.png</filename>
<filename>images/index.html</filename>
<filename>images/pdf_button.png</filename>
<filename>images/printButton.png</filename>
<filename>js/ie.js</filename>
<filename>js/index.html</filename>
<filename>sifr/index.html</filename>
<filename>sifr/sifr-green.js.php</filename>
<filename>sifr/sifr-blue.js.php</filename>
<filename>sifr/sifr-red.js.php</filename>
<filename>sifr/optimus.swf</filename>
<filename>sifr/sifr.js</filename>
<filename>sifr/sIFR-screen.css</filename>
<filename>sifr/mabella.swf</filename>
<filename>sifr/stockquote.swf</filename>
</files>[/code:1]

I am sure that it will work with all of the sifr crap installed, just use my modified file to fix the tab issue, or follow my solution above, to remove some of the sifr stuff thats not needed.

Anyway enjoy the fix, I hope you now can enjoy this awesome template :)

Oh! on a side note to all other users, that are using other templates and are having the same problem, this solution might apply, sifr is used on a large number of templates and can cause this issue with them too. Just follow the above steps, just make sure you do a back up og your template files first.

Take care.

Post edited by: MrChan, at: 2006/10/08 11:48
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.175 seconds

Facebook Twitter LinkedIn