Trying to integrate Community Builder with Gavick template.

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Jan 19, 2013 3:36 pm
Hi,

I've got a couple of sites where I am trying to integrate Community Builder plugin from www.joomlapolis.com

I have the same problem for Music and World News II Joomla 2.5 templates.

The point is: When I install and activate Community Builder (CB) in either of these gavick templates, the 'register' link on login interface title should point to 'index.php/component/comprofiler/registers' which the user refistration form for CB. However, in this templates, the 'register' link on top of login form still links to regultar user registration (index.php?option=com_users&view=registration ).

Image

(sorry image interface is spanidh version).

I wonder If any of you would you kindly tell my how can I fix this login form. Just If I can disable the 'register' link on top of it could solve my problems.

Best regards,

Javi Sanchez
Madrid.
User avatar
Junior Boarder

GK User
Sun Jan 20, 2013 12:27 pm
Hi,

The register link as I remember is hard-coded in the layouts/blocks/tools/login.php file :)
User avatar
Administrator

GK User
Mon Jan 21, 2013 10:27 am
Hi dziudek,

Thanks a lot for the tip, that finally solved my problem.

Best regards,

Javier Sánchez
Madrid.
User avatar
Junior Boarder

GK User
Tue May 07, 2013 10:18 am
Hi,

As per dziudek comment, the 'register' link on login interface, which is hard-coded in the layouts/blocks/tools/login.php file can be changed to point to /compnent/comprofiler/registers which is the Community Builder (CB) register form.

However, As a follow up on this issue about 'Trying to integrate Community Builder with Gavick template', now I would like to redirect the user to this form, when clickin on 'register' gavick buttom also.

So the question is How to point to CB register form, instead of normal joomla register form, when the user click on gavick 'Register' buttom.

Thanks in advances for any help or tip.

Best regards,

Javi from Madrid.
User avatar
Junior Boarder

GK User
Tue May 07, 2013 10:31 am
The register button link should be placed in layouts/blocks/logo.php file in the code fragment like:

Code: Select all
<?php if(GK_REGISTER) : ?>
   <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>
User avatar
Administrator

GK User
Tue May 07, 2013 1:21 pm
Hi dziudek,

Thanks for the quick response, If have tried adding this new file layouts/blocks/logo.php , with the url pointing to CB registration form, but I am afraid that nothing change :? . I am still getting the regular contextual Joomla register form...

I am using twn2 template...


Code: Select all
<?php if(GK_REGISTER) : ?>
   <a href="<?php echo $this->URLbase(); ?>index.php/component/comprofiler/registers" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>


I wonder If I should modify registration.php controller file...

Thanks a lot, anyway :D

Regards,

Jav.
User avatar
Junior Boarder

GK User
Wed May 08, 2013 1:43 pm
In this case I don't know why your page redirects to the normal registration page - you can try overriding the CB views or asking the CB support.
User avatar
Administrator

GK User
Thu May 09, 2013 10:04 am
Hi,

I am trying to add Community Builder (CB) now to new installating based on 'TheRealDesign' template. In this case, I can not access CB Login or CB register at all, and it seems that gkLogin and gkRegister overrides CB functionality.

I wonder if there may be a quick way to forget about gkLogin and gkRegister, May be just deleting '/gk_the_real_design/html/com_users/' folder :o ? je, je.

Well, thanks in advance for any hint or tip. I am really worried, having 2 deploys on the way with this nice template.

Best regards,

Javi from Madrid.
User avatar
Junior Boarder

GK User
Thu May 09, 2013 11:14 am
Hi,

I want to apologize about my previous post. The problem is solved and working.

Best Regards,

Javi.
User avatar
Junior Boarder

GK User
Mon Jul 01, 2013 9:44 am
dziudek wrote:The register button link should be placed in layouts/blocks/logo.php file in the code fragment like:

Code: Select all
<?php if(GK_REGISTER) : ?>
   <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>


Hi, I am still on the way to be able to point gk_register button to Community Builder registers form.

This is the new code fragment:

Code: Select all
<?php if(GK_REGISTER) : ?>
         <a href="<?php echo $this->URLbase(); ?>component/comprofiler/registers" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
         <?php endif; ?>


After this modification at logo.php file, I find that If I right-click the buttom I can access the CB Register Form succesfully. However, If I normal-click the buttom, The normal registration pop-up form still appears. Is there any way to avoid the pop up and definitely point to 'component/comprofiler/registers'. Where can I modifiy the gk_register buttom behaviour in order to cancel the popup form...

I have an example at http://s471090637.mialojamiento.es/

Thanks in advance for any help,

Best Regards,

Javi in Madrid.
User avatar
Junior Boarder

GK User
Tue Jul 02, 2013 10:11 am
Hi,

Please search in the js/gk.scripts.js file for the following statement:

Code: Select all
if(document.id('btnRegister')) {
//... code here
}


and remove the whole code block.
User avatar
Administrator

GK User
Tue Jul 16, 2013 11:40 am
Hi dziudek,

Just not sure If I finally said thanks for this help. It really finally solved the problem and is succesfully on production.

Its great that now I am focusing on a new project, testing Magazine template, and in this case I have found a great Register URL Template Feature option to do this. THIS IS REALLY AMAGING FOR COMMUNITY BUILDER INTEGRATION GUYS!! Congratulations for that and thanks again for you help ;-) !!

Javi in Madrid.
User avatar
Junior Boarder


cron