plugin GeoContent

More
11 years 8 months ago #34311 by ggppdk
Replied by ggppdk on topic plugin GeoContent
Hello,

just note that triggering content plugins is irrelevant to displaying editor button in item form

-- this plugin is commercial so i cannot examine its code,
-- it could be that it checks if current view is com_content edit form? please ask this the developer ! it should be very easy for him to fix

You could also test this:
-- Edit plugins/flexicontent_fields/textarea/textarea.php
Add this at top of function onDisplayField() (inside it just after {) :
Code:
// Pretend to be com_content, could this be needed ? or will it cause problems? JRequest::setVar('view', 'article'); JRequest::setVar('option', 'com_content'); JRequest::setVar("isflexicontent", "yes");
And add the bottom of it (inside it just before })
Code:
// Restore Request variables JRequest::setVar('view', FLEXI_ITEMVIEW); JRequest::setVar('option', 'com_flexicontent');

Regards


-- 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 #34337 by daf56
Replied by daf56 on topic plugin GeoContent
thank you very much, I'll try this solution as soon as possible.

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

More
11 years 8 months ago #34357 by ggppdk
Replied by ggppdk on topic plugin GeoContent
OK give us feedback if it works


-- 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 #34382 by daf56
Replied by daf56 on topic plugin GeoContent
seems to be solved! i turned off the view check in this way:
// original code -Act in front-end and com_content only
if( $option !== 'com_content') {
return;
}

// modified code -Act in front-end and com_content only
if( $option !== 'com_content') {
//return;
}

in plugins/editors-xtd/geocontent/geocontent.php

Thank you very much for your help!

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

More
11 years 8 months ago #34395 by ggppdk
Replied by ggppdk on topic plugin GeoContent
Thanks for feedback,
it is what i suspected ...
this means that my suggest would have worked too ...,


-- 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.792 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