: Possible to redirect REGISTER button to a dedicated register page? : berryc March 22, 2010, 06:17:56 AM Hello,
I like the register popup, but is it possible to redirect it to my Jomsocial registration page instead? Thanks, Craig : Re: Possible to redirect REGISTER button to a dedicated register page? : mikek March 22, 2010, 07:43:33 AM Hello, you would need to look for the following in your template's index.php file:
<?php if ($this->countModules("register")) { ?> <div id="s5_register" class="s5box_register"> <div id="s5_register_inner"> <jdoc:include type="modules" name="register" style="title_only" /> </div> </div> <script type="text/javascript" language="javascript"> var s5_reg_width = document.getElementById("s5_register").offsetWidth; </script> <?php } ?> and change it: <div id="s5_register" class="s5box_register"> <div id="s5_register_inner"> <a href="your link here">[/url] </div> </div> <script type="text/javascript" language="javascript"> var s5_reg_width = document.getElementById("s5_register").offsetWidth; </script> Where it says "your link here" put in the actual url you want it to go to. : Re: Possible to redirect REGISTER button to a dedicated register page? : berryc March 22, 2010, 10:16:08 AM Hi Mike,
Thanks for the tip, but it's not working yet (still loads the popup registration). Also, for some reason the module title isn't appearing now either. You can see it here: http://meningodsimage.com NOTE: I wasn't sure if I was supposed to leave or remove those php tags but neither way worked. Should they be removed? Thanks for your help, Craig : Re: Possible to redirect REGISTER button to a dedicated register page? : mikek March 22, 2010, 11:41:41 AM Hello, the php tags should be removed. There's an error in my code above:
<a href="your link here">[/url] should be: <a href="your link here">Link Text Here[/url] : Re: Possible to redirect REGISTER button to a dedicated register page? : chuks30 March 22, 2010, 11:51:13 AM Hello Mike, is been a while.
Please I need your help. I just install the basic template and i also installed the s5box module however, neither the login form or the register form is showing on click. kindly take a look. Here is the link: http://necea-ng.com/ : Re: Possible to redirect REGISTER button to a dedicated register page? : mikek March 22, 2010, 12:41:12 PM Hello, please be sure to open new topics for new questions. The s5 box module must be published and installed to all pages for the login and register to work, please see the following:
http://www.shape5.com/demo/basics/index.php?option=com_content&view=article&id=146&Itemid=92 : Re: Possible to redirect REGISTER button to a dedicated register page? : berryc March 22, 2010, 01:08:18 PM Hi Mike,
Thanks for the update. My title is appearing now and when I hover over the button, the redirect URL is appearing in the status bar, but when I click, I still get the popup. I've cleared local and site cache as well. Does anything need to be changed in the module code itself? Thanks again for your help on this, Craig : Re: Possible to redirect REGISTER button to a dedicated register page? : mikek March 22, 2010, 01:20:42 PM Try removing this section of the code to see if it changes anything:
class="s5box_register" : Re: Possible to redirect REGISTER button to a dedicated register page? : berryc March 22, 2010, 01:28:47 PM Magic! It's working now ;D
Thanks Mike |