Hi,
Joomla : v3.2.3
JomSocial:v3.2.0.1
Socialize:v1.2.7
I need to set a Joomla custom html module at the logo position.
Unfortunately can' t find out how to set it, there is no logo position in the Socialize template.
Is there a way to set this configuration ?
Cheers,
L
Hi SAS Coeurs de Breizh,
Actually the purpose of adding image or text at logo is in template manager > socialize
that's why there is not module position introduced there.
If you want to show any text or logo then configure there.
If you are interested to introduce any module position at logo then you need to have small customization at the template file.
In that case you need to have knowledge of coding.
Let me know if you are interested.
Thanks
Hi,
yes I'm interested.
I've some basic knowledge.
Hope it won't be necessary to be a guru.
Cheers,
L
Hi SAS Coeurs de Breizh,
I have added necessary code and introduced new module position "logo"
and add a "custom html" module at that position. Please check the changes at your site.
Here what I have taken steps as
1. Introduced a new module position at root/templates/socialize/tpls/block/header-jb.php
<!-- LOGO -->
<div class="span8 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php echo $logoimage ?>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
</div>
<!-- //LOGO --><!-- LOGO -->
<div class="span8 logo">
<?php if($this->countModules('logo')){ ?>
<jdoc:include type="modules" name="<?php $this->_p('logo') ?>" style="raw" />
<?php }else{ ?>
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php echo $logoimage ?>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
<?php } ?>
</div>
<!-- //LOGO --><position>logo</position>
Hi,
I appreciate, I've done the changes on my test server.
It works as expected.
Great job !
Cheers,
L
Ashraf,
a quick question before closing this issue.
How can i set the new logo position in order to recover top-header & langswitherload position ?
I just want one position only the logo one, instead of having three (logo + top-header + langswitchload)
Thank you,
Cheers,
L
Ashraf,
finally I've managed to get it running. On my local test platform logo takes all the width.
I've just kept the code for the logo and changed the class to span12. Also removed the usless position from the xml file.
Cheers,
L