Forum Support

Shape 5
April 18, 2021, 06:11:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: cannot get rid of the Register tab at the top of the page  (Read 1424 times)
cspgsl
Jr. Member
**
Offline 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 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 Offline

Posts: 903



« Reply #2 on: October 21, 2008, 04:21:50 PM »

Yes, hopefully we'll get a response from S5 Kiss
Logged
cspgsl
Jr. Member
**
Offline 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
Administrator
*****
Offline Offline

Posts: 23789



WWW
« 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 Offline

Posts: 903



« Reply #5 on: October 22, 2008, 03:59:54 PM »

Thanks
Logged
philly0128
Jr. Member
**
Offline 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 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

Code:
<?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 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 Offline

Posts: 903



« Reply #9 on: November 07, 2008, 09:22:37 AM »

Glad it worked  Wink
Logged
lioshaping
Jr. Member
**
Offline 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
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #11 on: September 21, 2012, 01:45:28 PM »

in the code above change window.document.location.href to window.open
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
lioshaping
Jr. Member
**
Offline 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
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #13 on: September 24, 2012, 12:55:00 PM »

That looks right
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
lioshaping
Jr. Member
**
Offline 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
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.