mod_flexicontent.php verifyparams call

More
12 years 2 months ago #36017 by zouz747
Here's the context:
1. no comment component installed
2. global config says 'no comments'
3. Strangely though, I get [display_comments] => 1 [comments_label] => 0 [display_comments_feat] => 1 [comments_label_feat] => 0
4. Anyway, the problem with verifyparams() is its being called AFTER php variables init (those used in the templates) thus with no impact on $display_comments_feat or $display_comments resulting in $item->comments_rendered crashing for one.

I would simply move the call to verifyparams before initing php variables.

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

More
12 years 2 months ago #36019 by ggppdk
:D , exactly, i have fixed this just this morning,
(i have not commited to SVN yet)
(i am currently doing some work on universal content module)


-- 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
12 years 2 months ago #36025 by micker
thanks for return

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.

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