Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Delete entries in the header of Home?

9 years 5 months ago
Licenses:
JomSocial Expired

Is there a easy way, to delete the entries like "register for free" and "Come into our community. Expand your network and meet new people!" and also the "register button"?

It would be enough just to remove the entire header permanently, we don´t need somthing like this.

9 years 5 months ago
Licenses:

Hi, Karl.

Sure, it's should be quite easy. Copy this file:

ROOT/components/com_community/templates/default/frontpage.guests.php

to:

ROOT/templates/your-template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)

Then remove this (lines 22-52):

<div class="row-fluid hero-area">
	<div class="hero-area-wrapper">
		<img class="hero-area-bg" src="<?php echo $heroImage; ?>">
		<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>

If you would also remove login panel, remove the rest:
<div class="cGuest">


	<div class="login-area">

	<form class="reset-gap" action="<?php echo CRoute::getURI();?>" method="post" name="login" id="form-login" >

		<div class="row-fluid">

			<div class="span5">
				<div class="input-prepend input-block-level">
				  <span class="add-on"><i class="joms-icon-user"></i></span>
				  <input type="text" name="username" id="username" tabindex="1" placeholder="<?php echo JText::_('COM_COMMUNITY_USERNAME'); ?>" />
				</div>
			</div>

			<div class="span5">
				<div class="input-prepend input-block-level">
					<span class="add-on"><i class="joms-icon-lock"></i></span>
					<input type="password" name="<?php echo COM_USER_PASSWORD_INPUT;?>" id="password"  tabindex="2" placeholder="<?php echo JText::_('COM_COMMUNITY_PASSWORD'); ?>" />
				</div>
			</div>

			<div class="span2">
				<input type="submit" value="<?php echo JText::_('COM_COMMUNITY_LOGIN_BUTTON');?>" name="submit" id="submit" class="btn btn-block btn-primary"  tabindex="3" />
			</div>

		</div>

		<div class="row-fluid">
			<div class="span4">
				<?php if(JPluginHelper::isEnabled('system', 'remember')) : ?>
					<label for="remember" class="checkbox inline">
						<input type="checkbox" alt="<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>" value="yes" id="remember" name="remember"  tabindex="4" />
						<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>
					</label>
				<?php endif; ?>
			</div>

			<div class="span8">
				<ul class="inline unstyled pull-right">
					<li>
						<a class="reminder-link" href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=remind' ); ?>" tabindex="5">
							<?php echo JText::_('COM_COMMUNITY_FORGOT_USERNAME_LOGIN'); ?></a>
					</li>
					<li>
						<a class="reminder-link" href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=reset' ); ?>" tabindex="6">
							<?php echo JText::_('COM_COMMUNITY_FORGOT_PASSWORD_LOGIN'); ?>
						</a>
					</li>
					<li>
					<?php if ($useractivation) { ?>
						<a class="reminder-link" href="<?php echo CRoute::_( 'index.php?option=com_community&view=register&task=activation' ); ?>" class="login-forgot-username">
							<span><?php echo JText::_('COM_COMMUNITY_RESEND_ACTIVATION_CODE'); ?></span>
						</a>
					<?php } ?>
					</li>
				</ul>
			</div>
		</div>
		<input type="hidden" name="option" value="<?php echo COM_USER_NAME;?>" />
		<input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN;?>" />
		<input type="hidden" name="return" value="<?php echo $return; ?>" />
		<?php echo JHTML::_( 'form.token' ); ?>
	</form>
	<?php echo $fbHtml;?>
	</div>
</div>


- 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: Karl-Michael
9 years 5 months ago
Licenses:
JomSocial Expired

Works excellent....thank 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