We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Vladimir
  2. General Discussion
  3. Friday, 22 August 2014
  4.  Subscribe via email
Question in a subject ;)
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

Yeah, when adding a position in any layout, you can define the style of the position. Here is an example:

<jdoc:include type="modules" name="<?php $this->_p($sidebar1) ?>" style="T3Xhtml" />


Hope it help you.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Not exactly ...

<div class="container t3-sl t3-sl-1">
<?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3, position-4') ?>
</div>


I need to put style only "positiion-1"

Is there a solution?

And in the template t3_bs3_blank I do not work style "t3modal"

<jdoc:include type="modules" name="<?php $this->_p($mymodule) ?>" style="t3modal" />


Code in the file modules.php

function modChrome_t3modal($module, &$params, &$attribs)
{

$headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3;

if (!empty ($module->content)) : ?>

<div class="moduletable <?php echo $params->get('moduleclass_sfx'); ?> modalmodule">
<div>
<a href="#module<?php echo $module->id ?>" role="button" class="btntext" data-toggle="modal">
<?php echo $module->title; ?>
</a>
</div>
<div id="module<?php echo $module->id ?>" class="modal hide fade" aria-hidden="true">
<div class="modal-header">
<h<?php echo $headerLevel; ?>><span><?php echo $module->title; ?></span></h<?php echo $headerLevel; ?>>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>

</div>
<div class="t3-module-body">
<?php echo $module->content; ?>
</div>
</div>
</div>

<?php endif;
}


Firebug error does not issue.....
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi again,

1. For spotlight block, please use the format below to add style for each position inside the block:

<?php $this->spotlight('spotlight-1', 'position-1, position-2, position-3, position-4', array('style'=>'style1,style2, ...')) ?>


2. And in the template t3_bs3_blank I do not work style "t3modal"

For this question, please check if modules.php is included in folder: "templates/your_template/html". If you don't find the find, please copy the file from folder: "plugins\system\t3\base-bs3\html". Next please check if the chrom function modChrome_t3modal exists in that file. If you don't find the function, please update the function to the file.

By default, the module style (module chrome) file is included in t3 core "plugins\system\t3\base-bs3\html\modules.php" - for t3 bas3 or "plugins\system\t3\base\html\modules.php" - for t3 bs2. If you want to override the module style, please copy the modules.php in the t3 core to your template html folder then implement your customization.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.