Welcome, Guest
Username: Password: Remember me

TOPIC: [CLOSED] Create menu item, refresh iframe in loop

[CLOSED] Create menu item, refresh iframe in loop 19 Jan 2012 14:07 #1025

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
When i want to create a menu item, i choose one of the menu options of my J-Cook component.

In the required fields i have one Select field, this is a modal field with a Select button. When i use that Select button an iframe pops up. This view in the iframe is refreshed contstantly. I think there is a bug that the refreshing comes into a loop. I used a component created with the latest J-Cook release (1.4.8 ).

I cannot test this in the Sandbox because i cannot create menu items in the Sandbox. Other menu types, for example the content Article option is working correct, also there are Select buttons that opens iframes.

I hope my description is clear enough.
Molenwal1 Webdesign
www.molenwal1.nl
Last Edit: 19 Jan 2012 14:07 by molenwal1.
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 19 Jan 2012 14:28 #1026

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Yes, I understand.


It is about filters. You can check your files in the 'modal' layout and remove or rearrange your filters.
A javascript script reloads the page when the selected value of a filter does not anymore exists.

Try to avoid this functionality.

Monday, I'll be more active on the forum and will answer you more precise.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 24 Jan 2012 18:10 #1058

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Does the problem remains ?

I can help you now.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 24 Jan 2012 18:15 #1059

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
Could you please give some more information, i did not yet have time to look further into this issue.
Molenwal1 Webdesign
www.molenwal1.nl
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 26 Jan 2012 14:45 #1099

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
I looked further into this issue, but sorry i still have not found the problem.

You wrote this:
A javascript script reloads the page when the selected value of a filter does not anymore exists.

Should i look to the value stored in the menu-item? I think that is not the problem because i delted my old menu-item and created a new one and still have the problem.

More help is welcome.
Molenwal1 Webdesign
www.molenwal1.nl
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 26 Jan 2012 14:49 #1100

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Which layout is problematic ?

I give a try.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 26 Jan 2012 15:02 #1103

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, I tried all your front item layouts and I coulnd't see this problem.
Should i look to the value stored in the menu-item? I think that is not the problem because i delted my old menu-item and created a new one and still have the problem.


No, I speak about values inside your component.
For example : You filter on a particular value. This value stay in memory in the user states vars.
You delete this value (item) on wich the filter is searching. Then if you reload the list, the filter flushes itself if it don't find this removed value.
But it can happen a bug when reading this coherence values, so it loops the refreshing.

It is a JS source, located in your modal_filters.php file (from memory)
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Create menu item, refresh iframe in loop 27 Jan 2012 10:09 #1107

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
Now i understand it. Sorry that it took a while. I deleted some testdata and one of these was set in the menu.

It is a booking form, so i do not want to set a default at all. I changed the xml for the menu, ok now!

Next challenge: create Modal behaviour for other fields! Thank you!
Molenwal1 Webdesign
www.molenwal1.nl
The administrator has disabled public write access.
Time to create page: 0.070 seconds

Get Started