"Copy-paste error" in layouts / default.php?

Professional Joomla Templates & WordPress Themes Forums Joomla Templates ST Venus "Copy-paste error" in layouts / default.php?

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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1668

    kanjan
    Member

    Hi there,
    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 of

    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?

    Checkit out.
    Best regards, K.

    #1672

    Anonymous

    Hi !
    You must add your position into file TemplateDetails.xml, refer in here :

    http://docs.joomla.org/How_do_you_add_a_new_module_position%3F

    Best regards

    #1677

    kanjan
    Member

    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 258

    #1681

    Anonymous

    Hi !
    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” />
    </div>
    <?php endif; ?>

    Best regards

    #1682

    kanjan
    Member

    Hi anminh,

    Thank you.

    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.

    #1690

    Anonymous

    Hi !
    Because this position don’t have any modules => don’t effect to this template.

    Best regards

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.