Putting Category Content at Bottom
Putting Category Content at Bottom
In AC 7.0.7, I customized the CategoryGridPage4 to display the content at the bottom, below the the products and subcategories. How can this be done in AC Gold?
Thanks,
Scott Kahle
Thanks,
Scott Kahle
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Putting Category Content at Bottom
I figured it out. I hade to move the followig code on the CategoryGridPage4.ascx:
to just above </ContentTemplate>
What I would like to be able to do now, is have two areas for description / content. One at the top for a short description and one at the bottom for more informative content. For example; in the top area, I could desribe what the category is or have a slaes message. Like possibly "We offer several quality brands of scaffolding.
Choose the type that meets your application; Construction, maintenance, interior, exterior, etc. BLAH, BLAH sale stuff. Maybe a graphic or slider.
The bottom could be for technical informative content like how to choose the type and options to meet your requirements and safely setting up scaffolding.
The problem is, now the admin page needs to have a field in which to add content.
Is this possible?
Thanks,
Scott Kahle
Code: Select all
<asp:PlaceHolder ID="CategoryDescriptionPanel" runat="server" EnableViewState="false">
<div class="section">
<div class="content">
<asp:Literal ID="CategoryDescription" runat="server" Text="" EnableViewState="false" />
</div>
</div>
</asp:PlaceHolder>
What I would like to be able to do now, is have two areas for description / content. One at the top for a short description and one at the bottom for more informative content. For example; in the top area, I could desribe what the category is or have a slaes message. Like possibly "We offer several quality brands of scaffolding.
Choose the type that meets your application; Construction, maintenance, interior, exterior, etc. BLAH, BLAH sale stuff. Maybe a graphic or slider.
The bottom could be for technical informative content like how to choose the type and options to meet your requirements and safely setting up scaffolding.
The problem is, now the admin page needs to have a field in which to add content.
Is this possible?
Thanks,
Scott Kahle
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Putting Category Content at Bottom
Are you using your category summary field for something else? If no, you can populate the top with that and the bottom with the category description.
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
Re: Putting Category Content at Bottom
The summary field doesn't show up on category pages. Is there a way to make it show up there too? It would be a dual use filed.
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Putting Category Content at Bottom
I just realized that the CategoryDetailsPage does show the summary at the top but not the long description. I tried to figure how that works so I can modify the CategoryGridPage4 to do that and keep the decroption at the bottom as well. I can't seem to figure it out. They both use: <asp:Literal ID="CategoryDescription" runat="server" EnableViewState="false"></asp:Literal>
But it seems to mean different things in each page.
Any suggestions?
But it seems to mean different things in each page.
Any suggestions?
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Putting Category Content at Bottom
You would need to look at the code behind file (ends in .ascx.cs) and search for what populates the CategoryDescription literal, something like CategoryDescription.Text = xxxx;
You can add a new literal with a different name and populate that from the code behind also - one with the summary, the other with the description.
You can add a new literal with a different name and populate that from the code behind also - one with the summary, the other with the description.
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
Re: Putting Category Content at Bottom
Thanks. I think I need to read up on .NET. I think I need to also add
Maybe something like:
But I don't know how to add an ID. I think I have a book on .NET somewhere.
Code: Select all
asp:PlaceHolder ID="CategorySummaryPanel"......
Code: Select all
<asp:PlaceHolder ID="CategorySummaryPanel" runat="server" EnableViewState="false">
<div class="section">
<div class="content">
<asp:Literal ID="CategorySummary" runat="server" Text="" EnableViewState="false" />
</div>
</div>
</asp:PlaceHolder>
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Putting Category Content at Bottom
You can make the id anything you want as long as there isn't something else on the page with the same id. The id is usually something to indicate fairly clearly what the control is for.
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