Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Enabled toggle - loads second FE collection 18 Sep 2014 14:49 #12645

  • philm
  • philm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi,

I have created two collection pages, on the primary I have a toggle enable/disable on the frontpage if I toggle an item it loads the secondary page.

I had the same problem on the save & close and cancel would load the wrong page. I set the 'Layout' to force the correct page to be loaded, but the toggle still loads the second page.

I dont have any setting to force ajax to reload the primary page.

The behaviour is exactly the same in the 'Sanbox' so this isolates my build which may have had a problem.

Any ideas.

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

Last edit: by philm.

Enabled toggle - loads second FE collection 18 Sep 2014 15:36 #12647

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, strange bug.
It is possible, because all actions are recieved by the same controller, wich then redirect correctly to the right page.


Wich PTL ? (Project / Table / Layout)
So I can check...
Coding is now a piece of cake

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

Enabled toggle - loads second FE collection 18 Sep 2014 16:29 #12650

  • philm
  • philm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi

The Project is 'YIT My Partnerships'

Only one table

The collections ( FE )

If you view SITE partnership and select Enable/Disable you'll see this loads the other collection.

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

Enabled toggle - loads second FE collection 19 Sep 2014 16:21 #12654

  • philm
  • philm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Found the issue,

I was related to alias named switched around. I changed both name to something else and all working fine.

Unsure whether the names had been written into the build by mistake

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

Enabled toggle - loads second FE collection 22 Sep 2014 11:21 #12657

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Excellent you got it sorted out.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.085 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started