Drag Sort feature breaks links
3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 25, 2009 (RSS)
I am finding that when I attempt to change the order of a list of products in the CMS Builder, all the auto-generated links in that list are linking only to the first product.
When I delete the list of products and start over, it works great. When I re-order them in the CMS Builder, all the links will only link to the first item created.
The error can be seen on the subpages of the product section at: http://www.financialtoolsfortrades.org/products.php.
When I delete the list of products and start over, it works great. When I re-order them in the CMS Builder, all the links will only link to the first item created.
The error can be seen on the subpages of the product section at: http://www.financialtoolsfortrades.org/products.php.
Re: [tsuluwerks] Drag Sort feature breaks links
By Chris - November 25, 2009
Hi Tracy,
The links on products.php look correct, but it seems that details-products.php isn't loading the correct record. I have a feeling that the drag sort thing is a red herring.
Can you please post the complete PHP source code for your details-products.php page? I'll have a look and see if I can figure out why the incorrect record is being loaded.
The links on products.php look correct, but it seems that details-products.php isn't loading the correct record. I have a feeling that the drag sort thing is a red herring.
Can you please post the complete PHP source code for your details-products.php page? I'll have a look and see if I can figure out why the incorrect record is being loaded.
All the best,
Chris
Chris
Re: [chris] Drag Sort feature breaks links
Alas, I think I figured it out. All of the pages except "aboutus.php" was missing the following line of code:
Thanks, Chris!
'where' => whereRecordNumberInUrl(1),
Thanks, Chris!