Page 1 of 1

phoca t template adding module class suffix

Posted: 22 Feb 2011, 12:23
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

Re: phoca t template adding module class suffix

Posted: 24 Feb 2011, 02:28
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

Re: phoca t template adding module class suffix

Posted: 24 Feb 2011, 15:33
by Postler
Thanks Jan,

now it´s working.

Have a nice day
Thomas

Re: phoca t template adding module class suffix

Posted: 25 Feb 2011, 00:33
by Jan
Ok