Conlib Properties

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
BC_Bo
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Fri Jul 15, 2011 9:11 am

Conlib Properties

Post by BC_Bo » Thu Feb 27, 2014 11:21 am

I am trying to change the properties of the conlib FeaturedProductsGrid. I am using this on my homepage and don't believe there is a way to edit this through a GUI as it is a webpage. Is there a way to do this that I'm not seeing?

The Conlib reference and User Guide lead me to believe that I modify these properties when I call the conlib item. By this I mean that I go to Website > Webpages > Edit Webpage I should change:

[[ConLib:FeaturedProductsGrid]]
to
[[ConLib:FeaturedProductsGrid IncludeOutOfStockItems="true" Caption="Featured Products" Size="9" MaxItems="9" Columns="3"]]
* which should show all featured products in a 3x3 grid

When I do this the item will not display. Instead I get the conlib string as text followed by "Illegal characters in path."

Am I doing this in the wrong place? Do I need to modify the .ascx file?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Conlib Properties

Post by Katie » Thu Feb 27, 2014 3:51 pm

Strange. I just made this change and it worked fine.

[[ConLib:FeaturedProductsGrid IncludeOutOfStockItems="False" Caption="Featured Products" Size="9" MaxItems="9" Columns="3"]]

Check to make sure you don't have any extra characters before or after the control.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

BC_Bo
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Fri Jul 15, 2011 9:11 am

Re: Conlib Properties

Post by BC_Bo » Thu Feb 27, 2014 4:02 pm

Katie - Thanks for the reply. Where did you post it? Are you just typing it into the HTML/Content portion of Website > Webpages > Edit Webpage for the homepage?

BC_Bo
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Fri Jul 15, 2011 9:11 am

Re: Conlib Properties

Post by BC_Bo » Thu Feb 27, 2014 4:21 pm

Never mind. I should have tried it first. It worked perfectly when I pasted it from the forum. I'll have to look back and see what the issue was. For record/forum, you do make these changes under Website > Webpages > Edit Webpage > Type it under Content.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Conlib Properties

Post by Katie » Thu Feb 27, 2014 5:01 pm

Yes, that's exactly right. I am editing the default 'Home Page' under Website > Webpages > Edit Webpage. Making changes in the Content area of the built-in editor.

Glad it's working for you now!

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Post Reply