RESOLVED: Category Index/Landing page?

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
vhemlani
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 25, 2011 7:58 pm

RESOLVED: Category Index/Landing page?

Post by vhemlani » Wed Jun 08, 2011 4:58 pm

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.
Last edited by vhemlani on Fri Aug 12, 2011 4:12 pm, edited 1 time in total.

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: Category Index/Landing page?

Post by s_ismail » Thu Jun 09, 2011 3:05 am

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

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);
}
Now use this control on Category Page by going on Edit screen.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Category Index/Landing page?

Post by jmestep » Thu Jun 09, 2011 6:02 am

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
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

vhemlani
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 25, 2011 7:58 pm

RESOLVED: Category Index/Landing page?

Post by vhemlani » Tue Jul 05, 2011 12:38 pm

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.

Post Reply