I'd like to have it so that upon clicking on a specific category, it loads a content page instead of the product grid.
It would be sort of like having a index.html file within a public folder. Browsing to the public folder would automatically load the index.html file. Except in my case, I want it so that browsing to a specific category loads a content page.
Thanks. Any help would be appreciated.
RESOLVED: Category Index/Landing page?
RESOLVED: Category Index/Landing page?
Last edited by vhemlani on Fri Aug 12, 2011 4:12 pm, edited 1 time in total.
Re: Category Index/Landing page?
You may accomplish this task by creating a user control in conlib folder and insert an asp PlaceHolder control in it. On clicking on specific category read contents of html file and insert into PlaceHolder like this one
Now use this control on Category Page by going on Edit screen.
Code: Select all
string path = "Html File Path";
if (File.Exists(path))
{
StreamReader sr = new StreamReader(File.OpenRead(path), System.Text.Encoding.Default);
strContents = sr.ReadToEnd();
sr.Close();
Literal literal = new Literal();
literal.Text = strContents;
HtmlContentPH.Controls.Add(literal);
}
hope this helps!
__________________
s_ismail
AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail
AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Category Index/Landing page?
Are you wanting to store the content within Able? If so, you can set the category to use the CategoryDetails display page and hide the links- it shows the category description up at the top.It would be like the following, only no links at the bottom.
http://www.perelandra-ltd.com/Environme ... 8C736.aspx
http://www.perelandra-ltd.com/Environme ... 8C736.aspx
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
RESOLVED: Category Index/Landing page?
I ended up using CategoryGrid4 control. I put in my landing page content into the description of the category, and categorygrid4 control pulled it to display at the category level. I also modified categorygrid4 to remove the display of the sub-categories below the description.