Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • felix1 Friend
    #205642

    Hallo!

    I just started to use Purity III but have a little problem…

    How can i switch place between headline and image in all articles?

    I want every article to start with the image and then the headline and text.

    Is it possible to use “custom.css” to change that?


    1. bild-rubrik

    Felix Rimfrost

    jooservices Friend
    #567480

    Hi there
    You can’t switch these elements by css. Please check into layout file.
    # Use search string to locate layout file
    # Modify it as your needed.

    Thank you,
    Viet Vu

    felix1 Friend
    #567487

    <em>@jooservices 469257 wrote:</em><blockquote>Hi there
    You can’t switch these elements by css. Please check into layout file.
    # Use search string to locate layout file
    # Modify it as your needed.

    Thank you,
    Viet Vu</blockquote>

    What is the exact name of the layout file? When you answer, think of me as a total beginner and explain in detail which file I must change…

    Felix Rimfrost

    jooservices Friend
    #567488

    Hi there
    If you can’t work on it. Please provide your FTP access.
    I’ll help you do that.

    Thank you,
    Viet Vu

    felix1 Friend
    #567492

    <em>@jooservices 469268 wrote:</em><blockquote>Hi there
    If you can’t work on it. Please provide your FTP access.
    I’ll help you do that.

    Thank you,
    Viet Vu</blockquote>

    Thanks! Thats very nice of you. I’ll PM you FTP access…

    Afterwards, I would really appreciate if you could show me what you did? Maybe I will go back to the original layout if it doesen’t look good…

    Felix Rimfrost

    jooservices Friend
    #567554

    Hi there
    It should be updated . Please check it at your side.
    Override with blog layout for category view.
    You can do same thing for another view.

    Thank you,
    Viet Vu

    jooservices Friend
    #732664

    Hi there
    It should be updated . Please check it at your side.
    Override with blog layout for category view.
    You can do same thing for another view.

    Thank you,
    Viet Vu

    felix1 Friend
    #567648

    <em>@jooservices 469369 wrote:</em><blockquote>Hi there
    It should be updated . Please check it at your side.
    Override with blog layout for category view.
    You can do same thing for another view.

    Thank you,
    Viet Vu</blockquote>

    Thanks!

    It worked, but only on homepage. In full article view, the image is still below headline…

    And I didn’t understand how/where you override with blog layout for category view? Could you please give me detailed instructions, step by step about this issue?


    1. full_article

    Felix Rimfrost

    jooservices Friend
    #567679

    Hi there
    # I have updated for view category with blog layout. And that’s why i said you can update same thing for another view .

    Let me help you update for view article.

    Thank you,
    Viet Vu

    jooservices Friend
    #567681

    Hi there
    It’s updated. Please check it at your side.

    Thank you,
    Viet Vu

    felix1 Friend
    #567750

    <em>@jooservices 469536 wrote:</em><blockquote>Hi there
    It’s updated. Please check it at your side.

    Thank you,
    Viet Vu</blockquote>

    Thanks!

    Can you please show me how you did it? Attach a screenshot so I can understand better!

    Felix Rimfrost

    felix1 Friend
    #732857

    <em>@jooservices 469536 wrote:</em><blockquote>Hi there
    It’s updated. Please check it at your side.

    Thank you,
    Viet Vu</blockquote>

    Thanks!

    Can you please show me how you did it? Attach a screenshot so I can understand better!

    Felix Rimfrost

    jooservices Friend
    #567889

    Hi there
    # We are working on Joomla! component com_content
    # We are working with view category & view article
    # Get these information now we can do override these views layout by copy and override it under template/html
    # They are using JHtml to render layouts. Just move it as we needed.

    That’s all.

    Thank you,
    Viet Vu

    felix1 Friend
    #568297

    Can you please show me step by step how you solved this issue?

    Felix Rimfrost

    jooservices Friend
    #568410

    Hi there
    As i said it’s Joomla core logic

    https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

    In your site i have overridden for category & article view

    /purity-iii/templates/purity_iii/html/com_content/category/blog_item.php

    than customize as needed

    <?php if ($params->get('show_title')) : ?>
    <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>
    <?php endif; ?>

    <?php if ($topInfo): ?>
    <?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $this->item, 'params' => $params, 'position' => 'above')); ?>
    <?php endif; ?>

    <?php echo $this->item->introtext; ?>

    Same for article view.

    But please note. For different component / different concept. Code are not same. So just follow logic instead 🙂

    Thank you,
    Viet Vu

Viewing 15 posts - 1 through 15 (of 28 total)

This topic contains 28 replies, has 2 voices, and was last updated by  felix1 9 years, 6 months ago.

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