× Joomla LinkedIn support forum

Topic-icon Adding jlinked to jomsocial get connected box

Active Subscriptions:

None
12 years 3 months ago #17086 by cissp
Hello,

We just bought JLinked and so far, installed it and its working like a charm. No issues. I just have couple of style issues and I'm sorry that I'm asking for help. I'm not a developer. We are using jomsocial 2.4.1 and in the frontpage_guests.php I added {glinked} below connect with face book, however, I can't have it centered and it looks out of place. Also, How to add {glinked} in the first step of jomsocial registration under or login with facebook. Your documentations doesn't show that. I know it should be added to the register/view.html.php but when I add the code {glinked} after this paragraph, I get an error: // @rule: Load recaptcha if required.
CFactory::load( 'helpers' , 'recaptcha' );
$recaptchaHTML = getRecaptchaHTMLData();

$fbHtml = '';

if( $config->get('fbconnectkey') && $config->get('fbconnectsecret') )
{
CFactory::load( 'libraries' , 'facebook' );
$facebook = new CFacebook();
$fbHtml = $facebook->getLoginHTML();
}


$tmpl = new CTemplate();
$content = $tmpl->set( 'data' , $data )
->set( 'recaptchaHTML' , $recaptchaHTML )
->set( 'config' , $config )
->set( 'isUseFirstLastName' , $isUseFirstLastName )
->set( 'fbHtml' , $fbHtml )
->fetch( 'register.index' );

$appsLib =& CAppPlugins::getInstance();
$appsLib->loadApplications();

$args = array(&$content);
$appsLib->triggerEvent( 'onUserRegisterFormDisplay' , $args );

echo $this->_getProgressBar(1);
echo $content;
}

Can you please help. Thank you. I included attachments to help.
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #17112 by cissp
Wow. No support available. I was hoping to get support as fast as I was getting the sales emails. Shame on you.
The topic has been locked.
Support Specialist
12 years 3 months ago #17113 by alzander
Cissp,
There's definitely support available. We were just reading through yours and other requests. We try to prioritize needs, and there were some others that came first this morning. Now.. to help you out :)

First, when you say {glinked} above, I'm assuming you're using the proper {JLinkedLogin}, or whatever tag. (Not G). For the frontpage.guests.php file, can you post (or private message) a URL for the site so we can see how the styles look? That will help us provide the best solution to your problem as every Joomla and JomSocial template is a bit different.

For the Register page, I believe the answer you're looking for is in the documentation on the following page:
www.sourcecoast.com/jlinked/docs/third-p...ration-for-jomsocial

Look at the bottom section for "JomSocial Registration Page". If that's not what you're talking about, let us know. The code shouldn't be added to the view.html.php file though as that will (as you've noticed) throw an error. Our {JLinked} tags are for HTML output, not PHP code, which is what the view.html.php file is.

Hope that all helps, but definitely let us know if you need anything else. We're here to help developers and non-developers alike. It's what your subscription comes with. Please have some patience though, as most of the time we're quick, but sometimes it make take some hours to get an answer. We generally try to not let any question go unanswered beyond a day though.

Thanks,
Alex
The topic has been locked.