detail page
11 posts by 2 authors in: Forums > CMS Builder
Last Post: April 7, 2010 (RSS)
By KCMedia - April 5, 2010
I have a general area on each page called used motorcycles and i have the logos in there linked to the used motorcycles by manufacturer this works great and when you click say Honda logo it will show all the honda bikes but when you click the bike to look at the bike it will show the bike.
But now 3 other sections that are imbeded into the page the bottom location logos and also the wording and logos on the top left hand side now show errors.
the home page is
http://www.actionmc.com.au/newsite/index.php
then click on honda logo in the pre owned bikes
then click on each of the 3 bikes in the list and the first record dosnt have an issues but then any other 2 products they cause errors on the page i cant work out why.
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] detail page
By Jason - April 5, 2010
Could you attach your "used-motorcyclesDetail.php" file so we could take a look at what's happening on line 137?
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] detail page
By KCMedia - April 5, 2010
Here is the file
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] detail page
By Jason - April 6, 2010
'where' => whereRecordNumberInUrl(1),
from line 40.
Give that a try and let me know what happens.
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] detail page
By KCMedia - April 6, 2010
That fixed it right away thank you very much it was driving me mad [mad]
Craig
KC Media Solutions
www.kcmedia.biz
Re: [Jason] detail page
By KCMedia - April 6, 2010
Also i just noticed that i have the same sort of issue with another page.
On the bottom of each page there is 2 maps one with each store if you click the map it will show you the store info for that store.
If you look at the page when you have that page showing for one store it will have an error on the bottom of the page for the other store on the page and vice versa i have attached the page.
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] detail page
By Jason - April 6, 2010
I think we're running into the same kind of problem as before. Try removing the line:
'where' => whereRecordNumberInUrl(1),
from lines 47 and 54.
Let me know if that works.
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] detail page
By KCMedia - April 6, 2010
no that didnt fix it i removed the lines and i get this error if i click on the city store location under the parramatta store location
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/actionmc.com.au/httpdocs/newsite/store-locations.php on line 335 No record found!
and if i click the parramatta store iamge i get this under the city location
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/actionmc.com.au/httpdocs/newsite/store-locations.php on line 275 No record found!
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] detail page
By Jason - April 6, 2010
On lines 47 and 54 add this:
'allowSearch' => false,
Put this where we removed the other lines.
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] detail page
By KCMedia - April 6, 2010
That fixed the issue great well done thank you very much.
what do you think of the site so far.
Still have a lot of other features and function that i am trying to build into CMS builder just trying to overcome some issues with getting them to work right.
Craig
KC Media Solutions
www.kcmedia.biz