[SOLVED] Conflict of a plugin in FLEXIcontent item form, it makes bad regex replacement

More
9 years 6 months ago - 9 years 6 months ago #54166 by seabird
Hello,

I have a conflict with a joomla plugin's template.
If I activate the plugin, I have a problem with the title of the form. ( with cck-2.2.1 rc or cck-3.0.0_Beta6b )
There apparently has a problem with quotes in
Code:
echo $ this-> form-> getInput ('title')
[IMG


If i desactivate the plugin , its ok
with firebug , i see this:
Code:
<div class="fc_edit_container_full"> <label id="jform_title-lbl" class="hasTip flexi_label" title="" for="jform_title"> Title </label> <div class="container_fcfield container_fcfield_id_1 container_fcfield_name_title"> <input type="text" heading"="" name="jform<div class="> <h4></h4> </div> " id="jform_title" value="" class="fcfield_textval" size="40" maxlength="254" required aria-required="true" /> </div> <div class="fcclear"></div>...

instead of
Code:
<div class="fc_edit_container_full"> <label id="jform_title-lbl" class="hasTip flexi_label" title="" for="jform_title"> Title </label> <div class="container_fcfield container_fcfield_id_1 container_fcfield_name_title"> <input id="jform_title" class="fcfield_textval" type="text" aria-required="true" required="required" maxlength="254" size="40" value="" name="jform[title]"> </div> <div class="fcclear"></div>...

There is a problem with jform[title] .
If I replace title by an other word . the problem disappears. The problem is the word title which conflicts with the plugin.
But I don't know why ?

EDIT:
I think I have corrected my problem. I replace
Code:
echo $ this-> form-> getInput ('title')
by
Code:
<input type="text" id="jform_title" value="<?php echo $this->item->title; ?>" class="fcfield_textval" size="40" maxlength="254" aria-required="true" name="jform&#91;title&#93;" />
I replace [ and ] by html code
Code:
jform&#91;title&#93;

Thanks,

Eric
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 6 months ago - 9 years 6 months ago #54169 by seabird
Last edit: 9 years 6 months ago by ggppdk.
The following user(s) said Thank You: micker

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

More
9 years 6 months ago - 9 years 6 months ago #54217 by ggppdk
Hello

It seems that the plugin has some wrong regular expression,
which one is it?

- also you can report the wrong replacement to the author of the plugin, so that he can fix the regular expresions


-- 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: 9 years 6 months ago by ggppdk.

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

More
9 years 6 months ago #54394 by seabird
Hello,

I find the conflict with the plugin's template.
The problem is shortcodes.
I reported it to the author of the plugin who will correct it.

Eric

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

More
9 years 6 months ago #54396 by micker
plugin name ?

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
9 years 6 months ago #54397 by seabird
Oui autant pour moi. C'est sur c'est mieux :)
Plugin: bt_mas_plg_system-bonusframework-v1.0.5-joomla3.zip
bonusthemes.com/index.php/component/epro.../1?anchor=downloadsp

Eric

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

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