hello,
i've a question, is it possible to remplace the search module position(controllable only by template) with the joomla integrated language switcher?
if yes what should i do?
thx a lot for the patience
- ziggy
- Commercial Templates
- Friday, 15 February 2013
- Subscribe via email
Hi Sebastian
In your templates header.php you can try replacing the following in your templates index.php (../templates/j51_clarity/index.php)
With
This will create a module position (search) in place of the preinstalled search module.
Ciarán
In your templates header.php you can try replacing the following in your templates index.php (../templates/j51_clarity/index.php)
<?php if($search_onoff == "1") : ?>
<div id="search">
<?php echo $search; ?>
</div>
<?php endif; ?>
With
<div id="search">
<jdoc:include type="modules" name="search" />
</div>
This will create a module position (search) in place of the preinstalled search module.
Ciarán
- more than a month ago
- Commercial Templates
- # 1
hello thx a lot for the answer
i've try to remplace the code in the index.php but then when i go in the module to assign a position i don't find the search position in the carity template position list..
i've try to remplace the code in the index.php but then when i go in the module to assign a position i don't find the search position in the carity template position list..
- more than a month ago
- Commercial Templates
- # 2
Hi Sebastian
To create the position within this list simply type it in to the Positions field.
Ciarán
To create the position within this list simply type it in to the Positions field.
Ciarán
- more than a month ago
- Commercial Templates
- # 3
hello,
if i type the position appear only the beez3 search position but not the clarity..
if i type the position appear only the beez3 search position but not the clarity..
- more than a month ago
- Commercial Templates
- # 4
Simply type search in to the field without selecting any position from the list and click save.
Ciarán
Ciarán
- more than a month ago
- Commercial Templates
- # 5
that's what i've do, but when i type search,it will atomatically turn to search position of beez3 template...
- more than a month ago
- Commercial Templates
- # 6
Hi Sebastian
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this further for you.
Ciarán
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this further for you.
Ciarán
- more than a month ago
- Commercial Templates
- # 7
Thank you Sebastian
As you have correctly pointed out there is indeed an issue when typing in a module position that already exists so I have renamed the module position in your templates index.php to searchmodule and it now appears to be working correctly. I have created an example module (Test Module) and it appears to be showing correctly.
Ciarán
As you have correctly pointed out there is indeed an issue when typing in a module position that already exists so I have renamed the module position in your templates index.php to searchmodule and it now appears to be working correctly. I have created an example module (Test Module) and it appears to be showing correctly.
Ciarán
- more than a month ago
- Commercial Templates
- # 9
Hello Ciarán!
I want to do the same thing with my search module, i changed from my Clarity template file - index.php
with
but you renamed the module position in your templates index.php to searchmodule.
The changes in the index.php should look like this?
??
Thank you!
Victoria
P.S. Or maybe there is another option/place to set the language flags in Clarity Template?
I want to do the same thing with my search module, i changed from my Clarity template file - index.php
<?php if($search_onoff == "1" : ?>
<div id="search">
<?php echo $search; ?>
</div>
<?php endif; ?>
with
<div id="search">
<jdoc:include type="modules" name="search" />
</div>
but you renamed the module position in your templates index.php to searchmodule.
The changes in the index.php should look like this?
<div id="search">
<jdoc:include type="modules" name="searchmodule" />
</div>
??
Thank you!
Victoria
P.S. Or maybe there is another option/place to set the language flags in Clarity Template?
- more than a month ago
- Commercial Templates
- # 11
Hi Victoria
Yes that is correct. Changing the replaced code to the following will change your module position name to searchmodule
Ciaráb
Yes that is correct. Changing the replaced code to the following will change your module position name to searchmodule
<div id="search">
<jdoc:include type="modules" name="searchmodule" />
</div>
Ciaráb
- more than a month ago
- Commercial Templates
- # 12
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »