Skip to main content

Change the view of the category page

12 years 9 months ago #140326 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

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140348 by Mohamed Thelji
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 ?

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140354 by kopretina
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.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140397 by nicolas
Edit the file "listing" of the view "category" via the menu Display>Views
And move the code
Code:
<?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
at the end.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140412 by kopretina
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.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140427 by kopretina
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?

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140434 by nicolas
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.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #140453 by kopretina
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.

Please Log in or Create an account to join the conversation.

8 years 2 months ago #297589 by Theodutch
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
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
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
Powered by Kunena Forum