Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • giuliano m Friend
    #952497

    How to insert a module / position in all articles before the comments.

    what file I have to change? and what code should I use?

    I tried several of the advice, but they do not work.


    1. Screenshot_8
    pavit Moderator
    #952513

    Hi there

    Articles are using the magazine layout , so you can try to add a new position in that layout

    giuliano m Friend
    #952527

    thanks for the reply.

    I tried to follow the guides for new position but obviously I’m wrong something. not work.

    please let you can write the correct code ?

    Posso parlarti in italiano ? ho visto che alcune volte rispondi anche così .

    pavit Moderator
    #952540

    Ciao

    Puoi anche risolvere in questo modo

    Edita questo file /plugins/content/jadisqus_debate_echo/tmpl/disqus.php
    poco prima del <div id="disqus_thread"> inserisci questo codice php

    <?php 
    $bottomshare_modules = 'bottomshare';
    $attrs = array();
    $attrs['style'] = 'T3xhtml';
    $result = null;
    $renderer = JFactory::getDocument()->loadRenderer('modules');
    $bottomshare = $renderer->render($bottomshare_modules, $attrs, $result); ?>
    <?php if ($bottomshare) : ?>
    <?php echo $bottomshare; ?>
    <?php endif; ?>

    bottomshare sarà il nome della nuova posizione dove pubblicare i tuoi moduli

    Per inserire il nome della posizione in modo che appaia in automatico nel drop down selector della lista delle posizioni nei moduli devi aggiungere il nome della nuova posizione

    bottomshare

    in questo file /templates/ja_teline_v/templateDetails.xml

    Saluti


    1. Screenshot-at-lug-23-18-58-33
    2. Screenshot-at-lug-23-19-01-26
    3. Screenshot-at-lug-23-19-05-53
    giuliano m Friend
    #953369

    E’ perfetto grazie ^^ per l’aiuto

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

This topic contains 4 replies, has 2 voices, and was last updated by  giuliano m 7 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum