Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Mohamed H. Jurriah Friend
    #204306

    Hey

    I tried to center the full text image without any luck. I hope somebody could help me. I tried with a plugin, but then the title and the addthis sociale media plugin wasnt align any longer:

    Maybe it could be better if I added a module in the following space. Because this solution is more preferable:

    my url: http://www.laliganews.dk


    1. 1
    2. 2
    phong nam Friend
    #561526

    Please check the screenshot bellow

    Do you want to config the image and article info like that?


    1. article
    Mohamed H. Jurriah Friend
    #561593

    yes. but I want to move the social media buttons along with the picture

    phong nam Friend
    #561602

    Please download the zip file below then extract to ja/templates/ja_fubix/html/com_content/article

    Do not forget rename your old file to old_default.php before replacing.

    Result look like so


    1. result
    1. default.php_.zip
    Mohamed H. Jurriah Friend
    #561607

    Wow thanks for the help.

    but what if I want to add a module in this area


    1. result
    phong nam Friend
    #561671

    You should custom your php code to load module for this “area”

    E.g: I want to load modules (position: top-header) here so my php code look like so( ja/templates/ja_fubix/html/com_content/article)

    <?php
    jimport( 'joomla.application.module.helper' );
    $new_modules = JModuleHelper::getModules( 'top-header');
    $attribs['style'] = 'JAxhtml';
    ?>

    <?php if (count(JModuleHelper::getModules('top-header'))): ?>
    <?php foreach ($new_modules as $new_module){
    echo JModuleHelper::renderModule($new_module, $attribs);
    }
    ?>
    <?php endif; ?>

    The result look like so

    Doc: https://docs.joomla.org/JModuleHelper/renderModule

    If you need more custom works, check this service


    1. 1
    2. result
Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  phong nam 9 years, 8 months ago.

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