The Order Which More Info Pages Are Generated During Publish

General ShopSite user discussion

The Order Which More Info Pages Are Generated During Publish

Postby ashubert » Sat Sep 19, 2009 6:02 pm

I have custom templates.

My products on their more info page get assigned a Category based on what pages they appear on. For example if I have a baseball, its more info page shows the user he came from the sporting goods page. I use a VAR in the sporting goods page template that gets used on the products more info page during publish.

However, I have some items that need to be on more than one page. For example, a BBQ Meat thermometer needs to appear on - gadgets and sometimes on the home page.

The problem is the more info page is publishing from the home page first and assigning it to the category HOME PAGE rather than - GADGETS.

Is there a way to change the publish order to force the more info to be built after the - gadget page rather than the home page?

Sorry if this is confusing, it is for me too :-)
ashubert
 
Posts: 15
Joined: Tue Aug 22, 2006 1:41 pm
Location: Ventura, CA

Postby Jim » Sat Sep 19, 2009 8:05 pm

No, the publish order is not defineable. The files will be published in the order that they occur in the database.

You could put the page in one of hte custom fields and then use that for your var instead of the page name.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby ashubert » Mon Sep 21, 2009 11:17 am

Hi, Jim, thanks for the reply!

I used the VAR because it required less maintenance (few pages) than products. Plus pages pretty much will always be there, product comes and goes.

I guess I could do that. So If I delete the home page or rename it, will it then change the publishing order? Or can I change it in mySQL?

I know this functionality probably is not major enough for most users but a feature enhancement or way to change this in the future would be cool.
ashubert
 
Posts: 15
Joined: Tue Aug 22, 2006 1:41 pm
Location: Ventura, CA

Postby Jim » Mon Sep 21, 2009 12:10 pm

Renaming the home page would not change the order.

If you delete the home page and recreate it then the page order would change. But if you delete other pages and add new pages then it may end up with the main page being the one with the lowest record number again.

ShopSite does not use mySQL, the data is stored in an SQLite database. You can't set the order of product records in that database though, they will always be in the order that they were created.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby ashubert » Mon Sep 21, 2009 1:42 pm

Thanks much!

I will delete the page. Then add it as needed.

I appreciate the help!

Andy
ashubert
 
Posts: 15
Joined: Tue Aug 22, 2006 1:41 pm
Location: Ventura, CA

Postby Jim » Mon Sep 21, 2009 1:45 pm

Make sure you do a full publish through Utilities > Publish > Regenerate and not just click the Publish tab otherwise even with removing the main page it may assign the product the name of the main page because other pages might not be published.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby ashubert » Mon Sep 21, 2009 1:58 pm

Will do. Thank you!
ashubert
 
Posts: 15
Joined: Tue Aug 22, 2006 1:41 pm
Location: Ventura, CA


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 116 guests