Broken Links
7 posts by 2 authors in: Forums > CMS Builder
Last Post: April 20, 2011 (RSS)
By tsuluwerks - April 18, 2011
Re: [tsuluwerks] Broken Links
By Jason - April 18, 2011
I took a look at your page and wasn't able to find any links that are broken. Could you please give some more information about which links are broken and where that information is coming from?
Thanks
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Broken Links
By tsuluwerks - April 18, 2011
The record exists in the CMS Builder database (otherwise, the link itself would not show up).
This is happening on almost all of the subpages.
Re: [tsuluwerks] Broken Links
By Jason - April 19, 2011
Okay, I see where you're referring to now. Could you attach a copy of services.php so I can see your code. It should be a simple fix.
Thanks.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Broken Links
By tsuluwerks - April 19, 2011
T
Re: [tsuluwerks] Broken Links
By Jason - April 20, 2011
What's happening here is that you're selecting from 6 different sections, but are using 'whereRecordNumInUrl(1)' for each one. So what's happening is that you're selecting your services record correctly, but your other selections are failing since they don't all have the same record number.
Here are the other 5 sections you're selecting from:
contact_and_hours
job_openings
mailing_list
current_edition
jahco_statement
What you can do is first go through your script and if some of these queries aren't being used, you can remove them. If any of these sections are single record section, you can remove the "where" option from these queries.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Broken Links
By tsuluwerks - April 20, 2011