[Added] FC 1.5.6 RC2a (r1057) page class?

More
11 years 9 months ago #27256 by gcprnet
Hi,
I use FC 1.5.6 RC2a (r1057) and I'm trying to style a flexicontent form for the frontend.
In my joomla template I get the page class via:
Code:
$pageclass = $params->get( 'pageclass_sfx' );
and I use it as:
Code:
<div id="all" class="<?php echo $pageclass; ?>">
I have a menu item of the type "FLEXIcontent » Items / Form" which I assigned a page class to but when I klick on the menu item the page class is not inserted:
Code:
<div id="all" class="">
Is there anything I miss?
Regards

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

More
11 years 9 months ago #27258 by ggppdk
pageclass_sfx is set in the menu item, the current menu item is setting one?

(also in later builds the menu item pageclass will only be cleared, if not matching the current flexicontent item/category/tags view exactly)


-- 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 8 months ago #27259 by gcprnet
Yes, in the menuitem I set a pageclass_sfx but it doesn't show up in the page. It works when I set a pageclass_sfx in a menu item of type FLEXIcontent » Items but it doesn't when the menu item type is FLEXIcontent » Items / Form (frontend adding new item)

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

More
11 years 8 months ago #27267 by ggppdk
Ok i have added the page class suffix to the the top container of the form in r1413

<div id="flexicontent" class="flexi_edit you_page_class_sfx"> ....

Will make a build soon, you can test, also your revision i cannot support it, sorry


-- 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 8 months ago #27300 by gcprnet
Thanks, I'll move on to the latest release then and everything will be fine :-)

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.317 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