ISSUE SUMMARY:
I am trying to re-design my front page (I only want to keep the community toolbar login at the top and then add my own modues).
Usually I can go to components/com_community/templates/default/frontpage.guest.php and edit or add components/module views there, but having done that it has no effect. I noticed there is now a second folder under templates called jomsocial - does this have something to do with why the get connected area is not deleting?
I am using Jomsocial 4.1, Socialize 2 and Joomla latest.
STEPS TO REPLICATE:
1 Go to components/com_community/templates/default/frontpage.guests.php and delete the following:
<div class="row-fluid hero-area">
<div class="hero-area-wrapper">
<div class="content hidden-phone">
<h1><?php echo JText::_('COM_COMMUNITY_GET_CONNECTED_TITLE'); ?></h1>
<div class="content-cta">
<div class="row-fluid">
<div class="span7">
<p><?php echo JText::_('COM_COMMUNITY_HERO_PARAGRAPH'); ?></p>
</div>
<div class="span4 offset1">
<?php if ($allowUserRegister) : ?>
<a class="btn btn-block btn-large btn-primary" href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' , false ); ?>">
<?php echo JText::_('COM_COMMUNITY_JOIN_US_NOW'); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="content visible-phone">
<?php if ($allowUserRegister) : ?>
<a class="btn btn-block btn-large btn-primary" href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' , false ); ?>">
<?php echo JText::_('COM_COMMUNITY_JOIN_US_NOW'); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>
Hi, Melanie.
Yes, file structure was changed. Copy this file:
ROOT/components/com_community/templates/jomsocial/layouts/frontpage/guest.php
to:
ROOT/templates/your-template/html/com_community/layouts/frontpage (if you don't have any of those folders, feel free to create them)
Then edit file and remove everything from line 13-82.
Hi Michal,
I was dabbling round in the administrator area for Jomsocial and came across the ThemeDesigner. Under general preferences there are a few check boxes that say:
Enable login area
Show frontpage image
Show frontpage paragraph
I set all these to No and the get connected boxes no longer show. Is this an acceptable way of doing it or should I continue to do as you suggested? Only one more thing. I am left with a grey empty box area where the get connected image etc. was. Is this another setting in the ThemeDesigner? I only want to remove the grey box on the guest front page and not from the template as a whole.
Kind regards
Mel
Hi, Melanie.
Ah, right... I just forgot about this method... I just a code freak ;)
I need to get access to your site, to see that gray area as it may be caused by your template. A simple css tweak should fix it...
So please edit your first post and provide access rights (need to be at least administrator access as site is locked down).
Hi Michal - thats understandable as its literally only just been included :)
I have had to re-think my approach. Basically all I am trying to do is have a different look for my frontpage and 4 other public/guest pages. Ideally i just want the community toolbar as my main login logout and registration. I also want to use a different template (a Joomlart template which is also using t3framework) but this creates issues with registration and login logout - because I can't display the community toolbar on the joomlart template pages.
I tried to recreate the look of the joomlart template using socialize (this would be the most efficient and ideal solution). i was able to create the new module position (they need to be full with of the site) as per navmenu. However, I couldn't figure out how to style the modules to look like the joomlart template.
I am not sure how best to approach this now. Is there an option to display the toolbar on my joomlart template? Or even a way of copying the style on the joomlart template module i want to replicate?
Mel
Hi, Melanie.
We could help with some SIMPLE code tweak. But styling whole module or moving it (as it is integrated part of Socialize template) to another template can't be supported. In most cases it will require css styling but I can't guarantee it - no one of us tried to use JomSocial Toolbar module with other templates... there was no need for this... Also if you manage to fit module with other template and will have some issue with it - this will be not supported as well...
So you must decide what approach to take...
Hi michal,
I think I have found the solution I need. I am back to using the Socialize template and have managed to customise it now :) I have one last issue. I need to change the Sign up buttom on the Community toolbar to open my own link (a subscription form) Where would I go to change this? and how would I add a regular url in its place i.e. my signup form is
www.mysite.com/subscribe
Kind regards
mel
Hi, melanie.
You could do that in the same file I mentioned here:
www.jomsocial.com/forum/socialize-templa...est-frontpage#121331
Just replace URL under button to your page.
But be aware that JomSocial registration will be available from other places like modal login window (displayed when user is not logged in but try to perform action for logged in only e.g sending a PM).