Overall I'm getting used to how Layouts and user controls are assigned to flesh out pages in the site. However I'm finding difficulty when it comes to content pages and sidebar content.
If I want to implement content pages as webpages, I can't use layouts and implement the layout sidebar(s). Because the sidebar content must always be a user control. There's no way to specify the sidebar in the layout should be webpage content and not a user control.
So far the only solution I can think of is to build a generic user control that accepts a webpageId as a parameter. Then I can build the sidebar content as another webpage and reference it within the user control and set the parameter value via the Layouts UI.
Are there any plans to improve this?
Layouts and sidebar content, how is it done?
Layouts and sidebar content, how is it done?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: Layouts and sidebar content, how is it done?
Try this
Create a new custom control in ConLib folder. Extend it from CommerceBuilder.UI.WebControls.HtmlContainer. Hopefully it will become available to be added to sidebars in Layout editor. You can set the Value parameter of this control which can be HTML content. The [[ConLib:XXX]] syntax is also accepted in this value field.
Create a new custom control in ConLib folder. Extend it from CommerceBuilder.UI.WebControls.HtmlContainer. Hopefully it will become available to be added to sidebars in Layout editor. You can set the Value parameter of this control which can be HTML content. The [[ConLib:XXX]] syntax is also accepted in this value field.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Layouts and sidebar content, how is it done?
I am just getting ready to do that on a site because they want to be able to edit sidebar and other html content via the admin. I will try the other suggestion also and see how far I get with it.
So far the only solution I can think of is to build a generic user control that accepts a webpageId as a parameter.
I'm going to post a feature request because we have clients wanting to do this without doing ftp edits.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx