Tagged: avatarmodule, Error in template, ST Venus, stick-right-bottom
This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 11 months ago.
November 19, 2014 at 11:08 pm #1668
i like you template ST_venus but i do think its a little buggy here and there… at least i found a “copy-paste-error” i believe. As if you may open core/layouts/default.php on line 244 to 258 you see two blocks of123456789<div class="avatar-position-stick" id="avatar-position-stick-right-bottom"><jdoc:include type="modules" name="stick-right-bottom" style="avatarmodule" /></div><?php endif; ?><?php if ($template->countModules('stick-right-bottom')) : ?><div class="avatar-position-stick" id="avatar-position-stick-right-bottom"><jdoc:include type="modules" name="stick-right-bottom" style="avatarmodule" /></div><?php endif; ?>
So it seems the template loads the “stick-right-bottomm” position unnessesarily twice into the template…
correct me if i am wrong but i dont think that this is wanted?
Best regards, K.November 20, 2014 at 1:39 am #1672
You must add your position into file TemplateDetails.xml, refer in here :
Best regardsNovember 20, 2014 at 10:13 am #1677
You dont understand me: i DONT want to put a new module somewhere - but YOU HAVE an ERROR in YOUR St_Venus-Template - the error is mentioned up in my explanation… see core/layouts/default.php on line 244 to 258November 24, 2014 at 2:36 am #1681
I’m so sorry you for this delay.
Thank you for having discovered this error, please delete one of two code:
<?php if ($template->countModules(‘stick-right-bottom’)) : ?>
<div class=”avatar-position-stick” id=”avatar-position-stick-right-bottom”>
<jdoc:include type=”modules” name=”stick-right-bottom” style=”avatarmodule” />
<?php endif; ?>
Best regardsNovember 24, 2014 at 9:40 am #1682
But of course I already did erase this part - but this does NOT have ANY effect on my other
described problem. I wonder if you really know whats happening with that template ??
best regards, K.November 25, 2014 at 2:00 am #1690
Because this position don’t have any modules => don’t effect to this template.
You must be logged in to reply to this topic.