cspgsl
Jr. Member
Offline
Posts: 903
|
|
« on: October 21, 2008, 11:14:08 AM » |
|
I cannot get rid of the Register tab at the top of the page.
I have followed the suggestion by blanking out Right Tab Label and Right Tab Link but the word Register reappears upon save and the tab, while initially disappearing comes back on its own
Any suggestions outside of changing the code?
Thx
|
|
« Last Edit: October 21, 2008, 11:17:02 AM by cspgsl »
|
Logged
|
|
|
|
jwtimmons
Jr. Member
Offline
Posts: 5
|
|
« Reply #1 on: October 21, 2008, 03:19:35 PM » |
|
I've noticed the same, if I remove the word register and apply or save and reopen the word is back
However if you remove the word, immediately save and refress the website you'll see the register tab is gone
Every time you open the template page the fields ger repopulated and you must remeber to remove the word
FWIW the fields above do similar unless you type something else in.
|
|
|
Logged
|
|
|
|
cspgsl
Jr. Member
Offline
Posts: 903
|
|
« Reply #2 on: October 21, 2008, 04:21:50 PM » |
|
Yes, hopefully we'll get a response from S5
|
|
|
Logged
|
|
|
|
cspgsl
Jr. Member
Offline
Posts: 903
|
|
« Reply #3 on: October 22, 2008, 06:03:17 AM » |
|
I got rid of it by editing index.php in Templates | Sea of Glass
Comment out lines 485 to 493 inclusive
|
|
|
Logged
|
|
|
|
jonahh
|
|
« Reply #4 on: October 22, 2008, 10:48:21 AM » |
|
Yes, was just going to suggest this cspgsl, thats how to remove it.
|
|
|
Logged
|
Jonah Hall ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
cspgsl
Jr. Member
Offline
Posts: 903
|
|
« Reply #5 on: October 22, 2008, 03:59:54 PM » |
|
Thanks
|
|
|
Logged
|
|
|
|
philly0128
Jr. Member
Offline
Posts: 136
|
|
« Reply #6 on: November 06, 2008, 01:35:09 PM » |
|
I followed the instructions here root/SOG/template and open the index.php. I just got a php editor and I went to the line 485-493 and found this
body {
background:<?php echo ($s5_colorback);?> url(<?php echo ($s5_repeatback);?>) repeat-x;}
</style>
<?php if ($is_ie6 == "yes") { ?>
<style type="text/css">
.s5_backmiddlemiddle {
Now is comment out the same as delete? because I couldn't find anything in the php editor that said comment out. but once I deleted this and place it back on the server. my site wouldn't open up, I just got a white box.
Where did I go wrong?
|
|
|
Logged
|
|
|
|
cspgsl
Jr. Member
Offline
Posts: 903
|
|
« Reply #7 on: November 06, 2008, 06:33:20 PM » |
|
I think you missed the lines that needed to be "commented out". I don't know what editor you are using but when looking at index.php in Dreamweaver the lines to comment out are 485 to 493 You want to wrap <?php if ($s5_registertext != "") { ?> <div id="s5_register" onclick="window.document.location.href='<?php echo $s5_registerlink;?>'"> <div id="s5_registerleft"></div> <div id="s5_registermiddle"> <?php echo $s5_registertext ;?> </div> <div id="s5_registerright"></div> </div> <?php } ?> between <!-- and --> Try to restore the lines you deleted and then do the above.
|
|
|
Logged
|
|
|
|
philly0128
Jr. Member
Offline
Posts: 136
|
|
« Reply #8 on: November 07, 2008, 07:05:37 AM » |
|
ok, I see I can't trust the # lines, b/c this was found at 969-977 using 2 different php editor program. so I deleted this line and upload the file back and it worked, thanks
<?php if ($s5_registertext != "") { ?>
<div id="s5_register" onclick="window.document.location.href='<?php echo $s5_registerlink;?>'">
<div id="s5_registerleft"></div>
<div id="s5_registermiddle">
<?php echo $s5_registertext ;?>
</div>
<div id="s5_registerright"></div>
</div>
<?php } ?>
|
|
|
Logged
|
|
|
|
cspgsl
Jr. Member
Offline
Posts: 903
|
|
« Reply #9 on: November 07, 2008, 09:22:37 AM » |
|
Glad it worked
|
|
|
Logged
|
|
|
|
lioshaping
Jr. Member
Offline
Posts: 24
|
|
« Reply #10 on: September 21, 2012, 01:08:52 PM » |
|
Hi how can we set the link to target _blank ?
|
|
|
Logged
|
|
|
|
pmiddleton
|
|
« Reply #11 on: September 21, 2012, 01:45:28 PM » |
|
in the code above change window.document.location.href to window.open
|
|
|
Logged
|
|
|
|
lioshaping
Jr. Member
Offline
Posts: 24
|
|
« Reply #12 on: September 21, 2012, 02:13:23 PM » |
|
<div class="s5_wrap" style="margin:0 auto;"> <!-- Logo and Banner --> <div id="s5_logo" style="cursor:pointer;" onclick="window.open='index.php'"></div> <?php if ($s5_registertext != "") { ?> <div id="s5_register" onclick="window.open='<?php echo $s5_registerlink;?>'">
Hi is this right?
|
|
|
Logged
|
|
|
|
pmiddleton
|
|
« Reply #13 on: September 24, 2012, 12:55:00 PM » |
|
That looks right
|
|
|
Logged
|
|
|
|
lioshaping
Jr. Member
Offline
Posts: 24
|
|
« Reply #14 on: October 01, 2012, 12:16:11 PM » |
|
Hi Paul,
Apologies. But it did not work out, able to advise?
lio
|
|
|
Logged
|
|
|
|
|