- Posts: 68
- Thank you received: 0
Change the view of the category page
12 years 9 months ago #140326
by kopretina
Change the view of the category page was created by kopretina
Hi,
is there any possibility to change the view of the category page?
I would like to put at first products and under them the text in category.
Could you help me?
Best regards
is there any possibility to change the view of the category page?
I would like to put at first products and under them the text in category.
Could you help me?
Best regards
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 9 months ago #140348
by Mohamed Thelji
Replied by Mohamed Thelji on topic Change the view of the category page
Hi,
I didn't fully understood what you really want to do, can you give me more information about what you want to do through some screenshots for example ?
I didn't fully understood what you really want to do, can you give me more information about what you want to do through some screenshots for example ?
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140354
by kopretina
Replied by kopretina on topic Change the view of the category page
Here is the picture of the category page.
There is text and that product.
I would like to have at fist products and the text on the bootom of the page.
There is text and that product.
I would like to have at fist products and the text on the bootom of the page.
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140397
by nicolas
Replied by nicolas on topic Change the view of the category page
Edit the file "listing" of the view "category" via the menu Display>Views
And move the code
at the end.
And move the code
Code:
<?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140412
by kopretina
Replied by kopretina on topic Change the view of the category page
Thanks for help.
But I think correction must be done in "product listing". On the picture is page with products and it is one category.
I tried it and it works perfectly.
But I think correction must be done in "product listing". On the picture is page with products and it is one category.
I tried it and it works perfectly.
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140427
by kopretina
Replied by kopretina on topic Change the view of the category page
Still one question.
Is there any possibility to divide description and part keep above products and part under them.
Is it possible to use the tag "read more" and respectively how?
Is there any possibility to divide description and part keep above products and part under them.
Is it possible to use the tag "read more" and respectively how?
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140434
by nicolas
Replied by nicolas on topic Change the view of the category page
You need to create a custom category field and add some code to the same view like that:
<?php echo $this->element->CUSTOM_FIELD; ?>
where CUSTOM_FIELD is the column name of the field.
<?php echo $this->element->CUSTOM_FIELD; ?>
where CUSTOM_FIELD is the column name of the field.
Please Log in or Create an account to join the conversation.
12 years 9 months ago #140453
by kopretina
Replied by kopretina on topic Change the view of the category page
Thanks a lot. I will try it. If there I see some problem, I will still contact you.
Many thanks to you and to whole team for your perfect support and help.
Many thanks to you and to whole team for your perfect support and help.
Please Log in or Create an account to join the conversation.
8 years 2 months ago #297589
by Theodutch
Replied by Theodutch on topic Change the view of the category page
I managed to create a custom category field. The idea is to have a second text field at the bottom of the page, just like the topic starter mentioned. The only issue i am facing is that the text in this custom field is not responsive. It seems to be a css problem? Could you help me out? To be specific: the text i entered in the custom field displays at one line.
Please Log in or Create an account to join the conversation.
8 years 2 months ago - 8 years 2 months ago #297600
by Philip
Replied by Philip on topic Change the view of the category page
Hello,
As we are unable to know what will be enter in a custom field (Text, image, or else) you can imagine that we can anticipate this by using Css command.
So, if required you have to add css command like on this css reference must do the trick.
Regards
As we are unable to know what will be enter in a custom field (Text, image, or else) you can imagine that we can anticipate this by using Css command.
So, if required you have to add css command like on this css reference must do the trick.
Regards
Last edit: 8 years 2 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds