Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Enabled toggle - loads second FE collection

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

  • philm
  • philm's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 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.
Last Edit: 18 Sep 2014 14:53 by philm.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • philm
  • philm's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 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.
The administrator has disabled public write access.

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

  • philm
  • philm's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Excellent you got it sorted out.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.141 seconds

Get Started