Show Page Heading in FC?

More
7 years 7 months ago #67504 by lipatovroman
Hi!
Joomla menu item have parameter "Show Page Heading"



Is it possible to set this parameter right in FC category or Item settings?

Thanks.

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

More
7 years 7 months ago #67506 by lipatovroman
Also I found, that FC ignores Global Menu setting



FC displays Page Headings only if it enabled in EACH menu item.

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

More
7 years 7 months ago - 7 years 7 months ago #67512 by ggppdk
Replied by ggppdk on topic Show Page Heading in FC?
Hello

There is no bug here,
this is by design

-- the page heading is ignored if it is not a DIRECT MATCH to the current view

The view does not "match"
e.g. if current view is single "item" record it will not "match"
e.g. if current view is subcategory or any other , it will not "match"

Also Category ID an some other URL variables must match or be empty:
authorid
tagid
layout

thus it will not show if requirements are not met

Full logic is this
Code:
$view_ok = 'category' == @$menu->query['view']; // These URL variables must match or be empty: $cid_ok = $cid == (int) @$menu->query['cid']; $layout_ok = $layout == @$menu->query['layout']; $authorid_ok = ($layout!='author') || ($authorid == (int) @$menu->query['authorid']); $tagid_ok = ($layout!='tags') || ($tagid == (int) @$menu->query['tagid']); $menu_matches = $view_ok && $cid_ok && $layout_ok && $authorid_ok && $tagid_ok;


-- 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...
Last edit: 7 years 7 months ago by ggppdk.

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

More
7 years 7 months ago #67522 by lipatovroman
So, we just should configure Show Page Heading = Yes in each item menu?
Is this correct?

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

More
7 years 7 months ago #67523 by ggppdk
Replied by ggppdk on topic Show Page Heading in FC?

So, we just should configure Show Page Heading = Yes in each item menu?
Is this correct?


hhmm, i am not sure what you mean with the above
but if you enable in menu items,
and the menu item matches the current view then it will be shown

A note: about the check, that requires the category ID to be matched for the page heading to be shown
some times you would want the page heading to apply to subcategories too, but in some other case you would not want ...

But without adding any other configuration parameters, the safety is the current way (which is indeed different than joomla usual behaviour)


-- 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.627 seconds
Save
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