kik-off
|
Hi, I do something similar. But I got to run the Module Class Suffix in the post-version (2.2.0.16808) inserting in css:
div.moduletable_globalnews, div.module_globalnews { background-image:url(http://www.xxx.com/templates/xxx/images/xxx.png); background-position:center top; background-repeat:no-repeat; height:200px; font-size:10px; color:#545454; text-align:right; } And _globalnews in Joomla module class suffix.
Also insert code somewhere .php file, not remember who was.
I have remade the theme to the latest 2.2 and stopped working . Looking at the differences between the two themes in html/module.php, I have seen that are not equal.
This is the first 35 lines from old theme, thas works:
<?php // no direct access defined('_JEXEC') or die('Restricted access'); function modChrome_artstyle($module, &$params, &$attribs) { $style = isset($attribs['artstyle']) ? $attribs['artstyle'] : 'art-nostyle'; $sfx = $params->get('moduleclass_sfx'); if (in_array($sfx, array('art-nostyle', 'art-block', 'art-article'))) $style = $sfx; switch ($style) { case 'art-block': modChrome_artblock($module, $params, $attribs); break; case 'art-article': modChrome_artarticle($module, $params, $attribs); break; case 'art-nostyle': modChrome_artnostyle($module, $params, $attribs); break; } } function modChrome_artnostyle($module, &$params, &$attribs) { if (!empty ($module->content)) : ?> <div class="art-nostyle"> <?php if ($module->showtitle != 0) : ?> <h3><?php echo $module->title; ?></h3> <?php endif; ?> <?php echo $module->content; ?> </div> <?php endif; }
The first 42 lines from remaded theme, not work:
<?php // no direct access defined('_JEXEC') or die('Restricted access'); function modChrome_artblock($module, &$params, &$attribs) { if (!empty ($module->content)) : ?> <div class="Block"> <div class="Block-tl"></div> <div class="Block-tr"></div> <div class="Block-bl"></div> <div class="Block-br"></div> <div class="Block-tc"></div> <div class="Block-bc"></div> <div class="Block-cl"></div> <div class="Block-cr"></div> <div class="Block-cc"></div> <div class="Block-body"> <?php if ($module->showtitle != 0) : ?> <div class="BlockHeader"> <div class="l"></div> <div class="r"></div> <div class="header-tag-icon"> <div class="t"> <?php echo $module->title; ?> </div> </div> </div> <?php endif; ?> <div class="BlockContent"> <div class="BlockContent-body"> <?php echo $module->content; ?> </div> </div> </div> </div>
Also the Footer stopped working properly...
Sorry for my poor english
|
kik-off
|
Hi, I found my problem. The 2 modules that I have already shown me, changing in the index.php:
This:
<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
For this:
<jdoc:include type="modules" name="banner6" style="xhtml" />
I do not understand why so much change in Artistes version after version.
I purchased my copy some time ago (version 1) and i have the impression that Artisteer is always in Beta phase.
I am not an expert in the code, so I bought Atisteer, anyway, thanks to their bugs, I have learned much.
Agian sorry for my poor english
|