Override title / show title [Explained]

More
11 years 7 months ago #41863 by micker
please update to last flexicontent version 2.1
and update joomla to 2.5.16
maybe your bug is already corrected !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 7 months ago #41956 by jrodgar
hi!

Joomla 3.1.5
Flexicontent 2.1.1 r1793

I´m getting on the template different values for show_page_heading and show_page_title.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 7 months ago #41959 by ggppdk
hello

I´m getting on the template different values for show_page_heading and show_page_title.


can you please explain ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #41960 by ggppdk
Hello here is exactly what is happening :
Code:
[size=85]// ******************* // Create page heading // ******************* if ( !FLEXI_J16GE ) $params->def('show_page_heading', $params->get('show_page_title')); // J1.5: parameter name was show_page_title instead of show_page_heading else $params->def('show_page_title', $params->get('show_page_heading')); // J2.5: to offer compatibility with old custom templates or template overrides // if above did not set the parameter, then default to NOT showing page heading (title) $params->def('show_page_heading', 0); $params->def('show_page_title', 0); // ... the page heading text $params->def('page_heading', $params->get('page_title')); // J1.5: parameter name was show_page_title instead of show_page_heading $params->def('page_title', $params->get('page_heading')); // J2.5: to offer compatibility with old custom templates or template overrides [/size]


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #41964 by jrodgar
Wait, I have there something else
Code:
if ( !FLEXI_J16GE ) $params->def('show_page_heading', $params->get('show_page_title')); // J1.5: parameter name was show_page_title instead of show_page_heading else $params->def('show_page_title', $params->get('show_page_heading')); // J2.5: to offer compatibility with old custom templates or template overrides [b]// Prevent showing page heading if IT IS same as category title if ( $params->get('page_heading') == $category->title && $params->get('show_cat_title', 1) ) $params->set('show_page_heading', 0);[/b] // if above did not set the parameter, then default to NOT showing page heading (title) $params->def('show_page_heading', 0); $params->def('show_page_title', 0); // ... the page heading text, set it only if not already set $params->def('page_heading', $params->get('page_title')); // J1.5: parameter name was show_page_title instead of show_page_heading $params->def('page_title', $params->get('page_heading')); // J2.5: to offer compatibility with old custom templates or template overrides

Components/com_flexicontent/views/category/view.html.php

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 7 months ago #41983 by ggppdk
Hello

yes it slighty different for item view than it is for category


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.368 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save