Item Form - add new item, required element is not enforced

More
6 years 8 months ago - 6 years 8 months ago #68769 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
Hi
If I disable some modules, like CB login, core.js won't be loaded again after admin.js.
So if I disable these modules, the form is OK.

<script src="core.js"></script>
<script src="admin.js"></script>

So I think the overriding is OK.

If I enable these modules, core.js will be loaded after admin.js again, at almost the end of js loading lines.

Like this:

<script src="core.js"></script> <-- this one is loaded by system I think
<script src="admin.js"></script> <-- this one is loaded by flexicontent
<script src="core.js"></script> <-- this one should be loaded by module

The core.js is loaded again, so the overriding is be overrided again I think.

I hope this helps.

Thanks,
Lomu
Last edit: 6 years 8 months ago by lomuyeh.

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

More
6 years 8 months ago #68780 by ggppdk
Replied by ggppdk on topic Item Form - add new item
Hello

it seems that the module could be adding the core.js file without call the Joomla API

i will check if it is the above is true


-- 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
6 years 8 months ago #68782 by ggppdk
Replied by ggppdk on topic Item Form - add new item
Hello

the problem is that some extensions will use "absolute URL path" for adding some files
(adding the domain name)

www.dddooommmain.com/ ...

instead of the correct way of using URL withou the domain name starting with just:
/...

The above result in some JS files being double loaded !!


-- 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
6 years 8 months ago #68783 by ggppdk
Replied by ggppdk on topic Item Form - add new item
In your case it seems to be happening by the com_bruce component


-- 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
6 years 8 months ago #68785 by ggppdk
Replied by ggppdk on topic Item Form - add new item
Hello

a sidenote
after the forms submits with some required fields missing, e.g. title
-- then it will not save , but just reload

in your case the message is not shown because your Joomla template seems not to have the
"system messages position" ?


-- 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
6 years 8 months ago - 6 years 8 months ago #68796 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
Hi
I found what make it happened.

A plugin called 'AcyMailing CB Plugin' of CB.
I disabled it and that line disappeared.

And I found that acymailing loads the core.js by using the domain name, not the '..' .
The modules I mentioned: CB_login and Kunena Latest, all connect to CB. So I think that's why they double load the core.js.

So I think it may be the problem of acymailing.

Thanks,
Lomu
Last edit: 6 years 8 months ago by lomuyeh.

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

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