Skip to main content

#115 Category picture & text not displayed

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
n/a

Latest post by sulpher on Sunday, 21 July 2024 21:31 EEST

butterworth191

When I use the category menu and select the particular category which is for a painting competition and comprises of two sections, as below, the title of the category is displayed but description and image from the category are not displayed on the frontend web page.

 

Details

I have created two sections for a painting competition

  • up to 7 years
  • 8 - 11 years

each of the two sections has an image and details of the particulars

I have Also created a category to which the above two contest belong.  This category has an image and more details of the contest.

Screenshots

https://postimg.cc/gallery/bP7gRG8

Would appreciate you thoughts as to why the content of the category is not being displayed

Dave

sulpher

Hi David,

There is no such functionality when a user proceeds to a specific category. Image and description displays on the list of all cateogries.

See: https://playground.norrnext.com/categories

But there is no image and description on the specific category page (as on your screenshot):

https://playground.norrnext.com/category

 

But you can get such functionality via еру template layout override by adding the following code:

Display image:

<?php echo $category->getParams()->get('image', ''); ?>

Display description:

<?php if (!empty($category->description)) : ?>
     <?php echo  $category->description; ?>
   <?php endif; ?>

 

Read more about template layout override:

https://docs.norrnext.com/norrcompetition/customisation/template-overriding

 

sulpher
I am closing the ticket. If you will have more questions - please open a new ticket. Thanks.
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.