Print Page | Close Window

Content Pages

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3487
Printed Date: 01-March-2025 at 8:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Content Pages
Posted By: macleather
Subject: Content Pages
Date Posted: 04-March-2010 at 7:57pm
Hi All,

I'm on version 4 and have been unable to figure out how to change the order for my content page links. I have set the order in the manage content pages but that doesn't work. I noticed that in my header.asp file where it appears to be calling the content pages there is part of that line that says ORDER BY pcCont_PageName ASC;". Is there a way to change that to have it ORDER BY the order set in manage content pages?

Thanks for any help.

Alan

-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather



Replies:
Posted By: RedLeafDev
Date Posted: 04-March-2010 at 8:03pm
Hi Alan,
 
Try replacing "ORDER BY pcCont_PageName ASC" with "ORDER BY pcCont_Order ASC".
 
Let me know how it goes.


-------------
http://www.redleafdevelopment.com" rel="nofollow - Red Leaf Development

Certified ProductCart Developers

www.redleafdevelopment.com


Posted By: macleather
Date Posted: 04-March-2010 at 8:10pm
Red Leaf, Thanks so much. It worked just fine. I was hoping it was that simple but, not being a programmer, I'm always a little nervous making changes without some advise

-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather


Posted By: Guests
Date Posted: 05-March-2010 at 12:56am
Originally posted by RedLeafDev RedLeafDev wrote:

Hi Alan,
 
Try replacing "ORDER BY pcCont_PageName ASC" with "ORDER BY pcCont_Order ASC".
 
Let me know how it goes.
 
I ran into the same issue myself and guessed this was the issue, but just hadn't got time to dive it on it.
 
EI needs to fix this on v4.1 now that they've introduced this new functionality in the CP for content pages.


Posted By: Greg Dinger
Date Posted: 05-March-2010 at 1:00am
Preferably the merchant should be allowed to manage the order of the pages  just as we can order categories and products.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Guests
Date Posted: 05-March-2010 at 1:12am
Originally posted by Greg Dinger Greg Dinger wrote:

Preferably the merchant should be allowed to manage the order of the pages  just as we can order categories and products.
 
On v4 they can order them, but the query isn't correct to have them display in that order. Amy nailed it; EI needs to fix it for v4.1, it would seem.


Posted By: Guests
Date Posted: 05-March-2010 at 1:52am
Originally posted by RedLeafDev RedLeafDev wrote:

Hi Alan,
 
Try replacing "ORDER BY pcCont_PageName ASC" with "ORDER BY pcCont_Order ASC".
 
Let me know how it goes.
 
Hi Amy,
 
I just tried this on the v4 development site I was encountering this issue on, and now everything lines up as per the ordering in the CP.
 
I suspected that was the issue, but thank you for saving me the time to go dig around for it.
 
Hamish, et al.: get this into the spec for v4.1, please.


Posted By: Hamish
Date Posted: 05-March-2010 at 4:38am
I'll add it to the request list :-)

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net