- Posts: 15
COMMUNITY FORUM
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
left side module
- greatway
- Topic Author
- Offline
- New Member
Less
More
11 years 3 weeks ago #137078
by greatway
left side module was created by greatway
hello the nokori template has a right module position can you help me add also a left position? even if we have to disable the right module thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 weeks ago #137079
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic left side module
Hello Vaggelis,
No need to do this. You can simply swap the places in your index.php.
Change that to:
Let me know if you wish to rename that module position because you will need to edit one more file.
No need to do this. You can simply swap the places in your index.php.
<div class="column small-12<?php if($this->countModules('nokkori_Right') && ($view!='item' && $view!='article')) echo ' sidebar-8 large-8'; else echo ''; ?> contentBlock<?php echo $contentPadding; ?>">
<?php if($this->countModules('nokkori_Component') && ($view!='item' && $view!='article')): ?>
<div class="componentMod">
<jdoc:include type="modules" name="nokkori_Component" style="nu" />
</div>
<?php endif; ?>
<jdoc:include type="message" />
<!-- component area -->
<jdoc:include type="component" />
<?php if($this->countModules('nokkori_Component') && ($view=='item' || $view=='article')): ?>
<div class="componentMod">
<jdoc:include type="modules" name="nokkori_Component" style="nu" />
</div>
<?php endif; ?>
</div>
<?php if($this->countModules('nokkori_Right') && ($view!='item' && $view!='article')): ?>
<aside class="column small-12 sidebar-4 large-4 sidebar">
<jdoc:include type="modules" name="nokkori_Right" style="nu" />
</aside>
<?php endif; ?>
Change that to:
<?php if($this->countModules('nokkori_Right') && ($view!='item' && $view!='article')): ?>
<aside class="column small-12 sidebar-4 large-4 sidebar">
<jdoc:include type="modules" name="nokkori_Right" style="nu" />
</aside>
<?php endif; ?>
<div class="column small-12<?php if($this->countModules('nokkori_Right') && ($view!='item' && $view!='article')) echo ' sidebar-8 large-8'; else echo ''; ?> contentBlock<?php echo $contentPadding; ?>">
<?php if($this->countModules('nokkori_Component') && ($view!='item' && $view!='article')): ?>
<div class="componentMod">
<jdoc:include type="modules" name="nokkori_Component" style="nu" />
</div>
<?php endif; ?>
<jdoc:include type="message" />
<!-- component area -->
<jdoc:include type="component" />
<?php if($this->countModules('nokkori_Component') && ($view=='item' || $view=='article')): ?>
<div class="componentMod">
<jdoc:include type="modules" name="nokkori_Component" style="nu" />
</div>
<?php endif; ?>
</div>
Let me know if you wish to rename that module position because you will need to edit one more file.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- greatway
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 2 weeks ago #137080
by greatway
Replied by greatway on topic left side module
great! thank you two more things since we are in the mood! I put a backround image in the module position.
sidebar {padding-top:0px;font-size:14px;background-image:url('../images/module_bodybg.png');background-repeat:repeat-y;}
but it does not go down to the bottom ! it stops in the midle of the screen.
and also the modules i publish left are not showing inside k2 items i want the published on all pages!
thank you again for your time.
sidebar {padding-top:0px;font-size:14px;background-image:url('../images/module_bodybg.png');background-repeat:repeat-y;}
but it does not go down to the bottom ! it stops in the midle of the screen.
and also the modules i publish left are not showing inside k2 items i want the published on all pages!
thank you again for your time.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 weeks ago #137081
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic left side module
This piece of code is preventing the module area to be displayed inside items.
so change it to
.
For the bg image please send me a link so I can look into it.
$this->countModules('nokkori_Component') && ($view=='item' || $view=='article')
so change it to
$this->countModules('nokkori_Component')
For the bg image please send me a link so I can look into it.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.