-
AuthorPosts
-
jooservices Friend
jooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 27, 2015 at 7:41 am #733506Hi there
As i said it’s Joomla core logichttps://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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 28, 2015 at 8:59 am #568639Thanks!
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 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 28, 2015 at 8:59 am #733733Thanks!
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 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 2, 2015 at 10:37 am #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 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 2, 2015 at 10:37 am #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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 2, 2015 at 10:53 am #569175Hi there
May i know your issue detail and which view you want to work on.Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 2, 2015 at 10:53 am #734264Hi there
May i know your issue detail and which view you want to work on.Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 4, 2015 at 1:57 am #569227Hi 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 Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 4, 2015 at 1:57 am #734316Hi 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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 4, 2015 at 9:46 am #569317Now the site is totally messed up after I made an template override in com_content > category!? Why? I haven’t touched any php files…
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 4, 2015 at 9:57 am #569328Hi 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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 5, 2015 at 6:23 am #569449Ok, I’ll close this topic now and start a new clean one, when needed. Thanks!
Felix Rimfrost
felix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
May 5, 2015 at 6:23 am #734538Ok, I’ll close this topic now and start a new clean one, when needed. Thanks!
Felix Rimfrost
AuthorPostsThis topic contains 28 replies, has 2 voices, and was last updated by felix1 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum