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!