phoca t template adding module class suffix

Phoca Templates - templates for Joomla! CMS
Postler
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2011, 11:49

phoca t template adding module class suffix

Post by Postler »

Hey there,

really hope you can help me out. I´m trying to get this worked but get no solution for my problem.

I downloaded the phoca t template (thanks for this - its great)
now i got following problem.
i added a new custom module, and i want to add an suffix to get an image before the titel of the module.
should look like this:
http://www.yootheme.com/demo/themes/joo ... &Itemid=58

i added following line to my template.css

Code: Select all

div.moduletable_test {
        background-color: #FFFFD2;
}
 
div.moduletable_test h3, ul.moduletable_test, ul.moduletable_test a {
        color: #8B4513;
}
so my suffix should be _test , right??
but when i write this in my module suffix field i see no changes in the module.

i use firebug to see the sourcecode for my module and i can read following:

Code: Select all

<div class="module">
<div class="phoca-in">
<h3 class="module-title">hello world</h3>
<div class="module-content">hello world</div>
</div>
</div>

Code: Select all

div.module h3 {
    border-bottom-color: #58585A;
    border-bottom-style: solid;
    border-bottom-width: 4px;
    color: #C4161C;
    font-family: Arial,sans-serif,Verdana,Helvetica;
    margin-top: 10px;
}
template.css (Zeile 309)
h3 {
    font-size: 1.2em;
so hopefully someone can tell my why the suffix don´t take affect on the module. what can be the problem.

Thanks in advance for your help
Thomas
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca t template adding module class suffix

Post by Jan »

Hi, I have fixed it in 1.0.3

Depends on positions, on some positions, there is:

module
on other positions, there is:
moduletable

Both now should accept the suffix (in 1.0.2 only the moduletable accepted it)

So please upgrade, see the code if the module uses module or moduletable and then you should be able to add your suffix there.
https://www.phoca.cz/download/category/5 ... -templates
Jan
If you find Phoca extensions useful, please support the project
Postler
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2011, 11:49

Re: phoca t template adding module class suffix

Post by Postler »

Thanks Jan,

now it´s working.

Have a nice day
Thomas
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca t template adding module class suffix

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply