Hi Beat!
As promised, I did focused on troubleshooting at this stage the behaviour between the Yoo-template and cbpaidsubscbot.
I have a solution, bjut since I am not an expert, I would recon that you guys or Yoo guys have a look to the solution and maybe find a better one.
The Issue: Right template position did not appear when enabling cbpaidsubscbot.
- I checked the JA-Purity and SiteGround template samples that work with the cbpaidsubscbot.
- I compared some code from Yoo-templates and these templates and found an essential difference.
- The index.php template file in Yoo template has a code set around line 180;
[code:1]<?php if($this->countModules('right') && !class_exists('JEditor')): ?>[/code:1]
- The issue seems to be caused by the code:
&& !class_exists('JEditor')):
Something to do with the editor I guess. The template under certain circumstances thinks its in editor mode and hence removes the right column. Some expert may confirm this better than me.
Solution:
1. Changed that section of the code above to
[code:1]<?php if($this->countModules('right')):?>[/code:1]
Note: As I said I am not an expert, so I don't know what the influences are of removing that part of the code
2. In Yoo Templates, I did some additional revaming of CSS style
div#right which I edited in Edited layout.css.
div#right {
width: 180px;
margin: 0px 0px 0px 5px;
padding: 0px 0px 0px 10px;
float: right;
border-left-style:dotted;
border-color:gray;
border-left-width:thin;
}
So far this solution works for me and I can now use cbpaidsubscbot for the right position modules.
flopez.
Ps: Since it looks rather to be an issue around Yoo template, the same response has been posted to yootemplate forum.