Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • jooservices Friend
    #733506

    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

    felix1 Friend
    #568639

    Thanks!

    Now I know why I didn’t understand you earlier. I beginning to learn how to change CSS-code, but PHP i over my head… 🙁
    I need to study that to in the future…

    Well, I have just tested Purity under my own domain and now I’m going to help a soccer club with their site using Purity III.

    I will come back again, asking for help when it’s time to override this issue on the new site…

    Sincerely//Felix

    Felix Rimfrost

    felix1 Friend
    #733733

    Thanks!

    Now I know why I didn’t understand you earlier. I beginning to learn how to change CSS-code, but PHP i over my head… 🙁
    I need to study that to in the future…

    Well, I have just tested Purity under my own domain and now I’m going to help a soccer club with their site using Purity III.

    I will come back again, asking for help when it’s time to override this issue on the new site…

    Sincerely//Felix

    Felix Rimfrost

    felix1 Friend
    #569172

    <em>@jooservices 470516 wrote:</em><blockquote>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</blockquote>

    Hallo again!

    PHP is to difficult for me yet, so I need your help to change PHP code (see above). I have installed Purity III on a new server for a soccer team that I will help.

    I have created template override via backend, but haven’t changed blog_item.php because I don’t know how…

    I will PM you access to backend so you can override category and article view as asked before.

    Felix Rimfrost

    felix1 Friend
    #734261

    <em>@jooservices 470516 wrote:</em><blockquote>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</blockquote>

    Hallo again!

    PHP is to difficult for me yet, so I need your help to change PHP code (see above). I have installed Purity III on a new server for a soccer team that I will help.

    I have created template override via backend, but haven’t changed blog_item.php because I don’t know how…

    I will PM you access to backend so you can override category and article view as asked before.

    Felix Rimfrost

    jooservices Friend
    #569175

    Hi there
    May i know your issue detail and which view you want to work on.

    Thank you,
    Viet Vu

    jooservices Friend
    #734264

    Hi there
    May i know your issue detail and which view you want to work on.

    Thank you,
    Viet Vu

    jooservices Friend
    #569227

    Hi there
    # Just wonder have you solved your issue at your side ?
    # If we are talking about another issue or another site please create new topic.
    Actually you can copy modified file from old site to new site if they are same version.

    Thank you,
    Viet Vu

    jooservices Friend
    #734316

    Hi there
    # Just wonder have you solved your issue at your side ?
    # If we are talking about another issue or another site please create new topic.
    Actually you can copy modified file from old site to new site if they are same version.

    Thank you,
    Viet Vu

    felix1 Friend
    #569317

    Now the site is totally messed up after I made an template override in com_content > category!? Why? I haven’t touched any php files…


    1. Screenshot_2015-05-04-11-41-30

    Felix Rimfrost

    jooservices Friend
    #569328

    Hi there
    # Please let me know what’s exactly your issue
    # Actually we have fixed your issue in this topic for

    http://www.rimfrost.se/purity-iii/administrator
    As above my replied. The only thing we need to do here is switch html as needed.
    # For another issue please create new topic with detail. And if you can’t work on it. Please provide your backend & FTP access. I’ll help you do that.

    Thank you,
    Viet Vu

    felix1 Friend
    #569449

    Ok, I’ll close this topic now and start a new clean one, when needed. Thanks!

    Felix Rimfrost

    felix1 Friend
    #734538

    Ok, I’ll close this topic now and start a new clean one, when needed. Thanks!

    Felix Rimfrost

Viewing 13 posts - 16 through 28 (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