Vineet Sawant Posted May 8, 2013 Share Posted May 8, 2013 (edited) Hello All, I'm working on a website of online ticket booking system. There's a field called as show_start_time linked to show page. It's then connected to drama & theatre pages via page fields which use show page for displaying show details such as theatre name, show's time etc. But when I update the the show's start time, it doesn't update the data being displayed on the drama and theatre page. For example, There 3 pages: Drama Theatre Show Drama page has several fields including a page field called "drama_shows". It uses the Shows page as pagelist to select a show from the list. Same goes for Theatre page where "theatre_shows" field uses shows page as pagelist for displaying shows available in the theatre. Show page has a datetime field called as "show_start_time" & it has two page fields called as "show_drama" & "show_theatre" using dramas list page and theatres list page respectively. Now when I update a morning show connected to Show #1 playing Theatre ABC, it updates the start time on shows page but not on other pages. Can anyone tell me what's the problem? Thanks everyone in advance. P.S. The updated start time is visible on show page. Edited May 9, 2013 by vineonardo Link to comment Share on other sites More sharing options...
diogo Posted May 8, 2013 Share Posted May 8, 2013 Before updating the start time, it appeared on the others? Show us the specific code that echoes the start time on each template. Link to comment Share on other sites More sharing options...
Soma Posted May 9, 2013 Share Posted May 9, 2013 Now when I update a morning show connected to Show #1 playing Theatre ABC, it updates the start time on shows page but not on other pages. Can anyone tell me what's the problem? Can't tell a problem without understanding exactly what you're doing on "other pages". If you reference a page it will always have the actual data from that page, unless you have a cache on these pages. Link to comment Share on other sites More sharing options...
Vineet Sawant Posted May 9, 2013 Author Share Posted May 9, 2013 Hello All, Thanks for your replies. I fixed the bug, it was causing due to wrong a mistake in code logic, I've fixed it now. Will write in detail what mistake I was doing and how I fixed it so that everyone can know. For now, the topic has been solved. Thanks again to all of you for your time. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now