Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Remove entire Get Connected area on guest frontpage

10 years 3 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

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>
2 Create new folder here (including html as there wasn't one) : components/com_community/templates/html/com_community/ then copy frontpage.guests.php from original path above into this folder and again delete the same block of code
3
4
5
RESULT
Attempt number 1 did nothing
Attempt 2 did nothing

EXPECTED RESULT

No Get connected box or login details on guest screen

BROWSER
Latest versions of IE and Chrome

I realise the folders and files have changed in the new Jomsocial/Socialize. How do i get rid of this?

Kind regards

Mel

10 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: P. Irion
10 years 3 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

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

10 years 3 months ago
Licenses:

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).


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 3 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

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

10 years 3 months ago
Licenses:

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...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 3 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

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

10 years 3 months ago
Licenses:

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).


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW