Broken Links

7 posts by 2 authors in: Forums > CMS Builder
Last Post: April 20, 2011   (RSS)

I would like to use the list feature to create sub menus to a client site (www.newcareinc.com/home.php). Unfortunately, the links are broken. I'm not sure if it's because I re-ordered the records in the editors or something else. Do you have a solution and a way to keep them from breaking again?

Re: [tsuluwerks] Broken Links

By Jason - April 18, 2011

Hi,

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: [tsuluwerks] Broken Links

By Jason - April 19, 2011

Hi,

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

Thanks, Jason. I also attached the include files.
T

Re: [tsuluwerks] Broken Links

By Jason - April 20, 2011

Hi,

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

It still isn't working. I have removed all where and limit references. Now, in the "About MIHC" section, all of the links bring up the same page. I will contact you by phone, since I must present this to my client tomorrow.