1. skyd34th
  2. Commercial Templates
  3. Wednesday, 18 April 2012
  4.  Subscribe via email
J51 - Rendezvous

It is posibble to put custom module in predefined positions in this template (like hornav, search)?

I want to put custom module (VM cart) in SEARCH position.

best regards
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

In your templates header.php you can try replacing the following in your templates header.php (../templates/j51_rendezvous/php/layouts/header.php)

<div id="search">
<?php echo $search; ?>
</div>


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
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
thx, Great it's work

Is there any module styling in this template for modules outside main page (modules on wood texture) ?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi skyd34th

Do you mean for the search module you have created or the base modules?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Yes.

For example when i publish VM Cart module in base1-a position it's get grey background on wood texture.

When i publish VM Cart in Search position that i created it's have no style - it's posible to turn on this background by Module Class Suffix? or other way?

And if there other, different styling for modules in position like base1 like white bg ?
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

To edit the base module background you can add the following CSS to the custom CSS field in your templates parameters..

[code type=css]#base .module {
background: #FFFFFF;
}[/code]

Where #FFFFFF is your new background colour.

For your new VM module you can use the following CSS selector to style it..

[code type=css]#search {...}[/code]

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok