-
AuthorPosts
-
felix1 Friend
felix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 18, 2015 at 7:41 pm #205642Hallo!
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?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 19, 2015 at 1:41 am #567480Hi 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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 19, 2015 at 5:59 am #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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 19, 2015 at 6:46 am #567488Hi there
If you can’t work on it. Please provide your 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
April 19, 2015 at 8:18 am #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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 20, 2015 at 3:51 am #567554Hi 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 Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 20, 2015 at 3:51 am #732664Hi 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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 20, 2015 at 3:12 pm #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?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 21, 2015 at 12:38 am #567679Hi 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 Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 21, 2015 at 12:50 am #567681Hi there
It’s updated. Please check it at your side.Thank you,
Viet Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 21, 2015 at 10:18 am #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 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 21, 2015 at 10:18 am #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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 22, 2015 at 11:58 am #567889Hi 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 Vufelix1 Friendfelix1
- Join date:
- February 2015
- Posts:
- 220
- Downloads:
- 36
- Uploads:
- 78
- Thanks:
- 67
- Thanked:
- 20 times in 6 posts
April 25, 2015 at 9:34 pm #568297Can you please show me step by step how you solved this issue?
Felix Rimfrost
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
April 27, 2015 at 7:41 am #568410Hi 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 VuAuthorPostsThis 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
Jump to forum