0
Welcome Guest! Login
0 items Join Now

SOLVED Content Settings for outline "single" not overriding base outline

  • SOLVED Content Settings for outline "single" not overriding base outline

    Posted 8 years 10 months ago
    • Hello,

      I'm using Version 5.3.1 with interstellar theme and I've been struggling to figure out what I believe to be a bug in the outline overrides for "Content" settings - specifically the "Single" settings.

      I am trying to turn on the "featured image" in the "single" section of my outline (I've confirmed that this is the proper scope, in fact I turned all "featured images" on all scopes of my outline to be sure.). This setting switches and saves fine. The change is not reflected on-page. I've located the view>partials>content-single.html.twig and done some testing: Everything inside this if statement fails regardless of the setting in my outline (line 37):

      {% if gantry.config.get('content.' ~ scope ~ '.featured-image.enabled', '1') and post.thumbnail.src %}

      I tried to simplify the boolean to confirm it was the "featured-image.enabled" and not the "post.thumbnail.src" causing the failure and the following still failed.

      {% if gantry.config.get('content.' ~ scope ~ '.featured-image.enabled', '1') %}

      So to further test I tried editing the base outline content settings for "single" featured image. this worked and the featured image is displayed in the post.

      So to conclude the override for the custom outline content settings is not overriding the base outline settings. All other layout and assignment settings are working fine.

      Any help with this would be much appreciated even if it is to confirm that this behaviour is not intended.
    • Last Edit: 8 years 10 months ago by RZN8 Media.
  • Re: SOLVED Content Settings for outline "single" not overriding base outline

    Posted 8 years 10 months ago
    • Please disregard the above.. I was mistaken when I thought the assignemnt was working properly.. apparently When I assigned it to Taxonomies: Categories > "myCategory" it doesn't work on "singles" ( not sure what this assignment is actually intended for ( category pages? ) anyway reassigning it to Posts: Terms > "myCategory" works as expected.. I think these assignemnt options need a little "help" Icon and some descriptive text describing what instances it covers..

Time to create page: 0.068 seconds