BV Commerce Forum
»
BV Commerce Support
»
Development
»
Free Add-on: Category Grid View with Sub Categories
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The normal Grid view template that shipped with BV Commerce 5 (SP1 and earlier) does not display sub categories like the grid template in BVC 2004. Here is a new grid template that does show the sub categories like BVC 2004. To install: 1) Unzip the archive into your /BVModules/CategoryTemplates/ folder 2) Go to your admin side and go to Content->Category Templates 3) Click the "Edit" button next to "Grid with Subs" 4) Set a default page size (6 is suggested) and click save Edited by user Friday, June 3, 2016 12:54:52 PM(UTC)
| Reason: Not specified File Attachment(s): BVC5_CategoryTemplate_GridWithSubs.zip (6kb) downloaded 447 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Marcus, Could you please add some screenshots with these latest add-ons. I would like to see what they are before I try to install them. Thanks, Corneliu |
|
|
|
|
Rank: Member
Joined: 12/13/2006(UTC) Posts: 25
|
The image below is an example of how we are using this new category template. It took a little CSS tweak to get the images and text to align, but it is exactly what we needed for this subcategory page. Tim hyper attached the following image(s): catGridViewWsubs.gif (41kb) downloaded 727 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 5/2/2004(UTC) Posts: 109
|
<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[1]Thanks! Very useful Add-on.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/1]
<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"> [1]Did you also have a add-in so we have our “old BVC4” search result grid back?<o:p></o:p>[/1]
<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[1]Or did I overlooked something?
Ebijs.<o:p></o:p>[/1]
<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p>[3] [/3]</o:p>
|
|
|
|
Rank: Member
Joined: 12/15/2006(UTC) Posts: 31
|
This is a great option - although I have noticed one thing. The text alignment at the bottom of the images is "left". What would be the best method to ensure it was centred under the sub category image?
|
|
|
|
Rank: Member
Joined: 12/13/2006(UTC) Posts: 25
|
To center the text and image we added this to our css style sheet
/* Category Grid with Subs*/ #categorygridsubtemplate .record {margin:30px 0 0 0;width:195px;text-align:center;} #categorygridsubtemplate .record .recordimage {width:195px;text-align:center;}
There is probably a cleaner way to write the code - I would be happy to hear from the experts. This worked for us, but you may have to adjust the margins and widths based on the image sizes you want to display in the grid.
Tim
|
|
|
|
Rank: Member
Joined: 12/15/2006(UTC) Posts: 31
|
Thanks alot mate - really appreciate it
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Has this been added to SP2? It appears it hasn't.
Can this add-on be added to an SP2 site? ...don't want to mess around til I know it's OK. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 4/22/2004(UTC) Posts: 280
|
Yes; it can be added to SP2.
Linette
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
When I added this to a site running SP2, I get the following error:
<H2>Attempted to divide by zero. </H2>[color=#ffffcc>
[tr ][td ]<CODE> Line]Line 51: If _pages = 0 Then Line 52: _pages = Me.RowCount \ Me.ItemsPerPage [/color]Line 53: If Me.RowCount Mod Me.ItemsPerPage > 0 Then Line 54: _pages += 1</PRE>[/code][/td][/tr]</TABLE> <FONT face=Verdana>Source File: c:\inetpub\wwwroot\EssentialPartyRentals\BVModules\Controls\Pager.ascx.vb Line: 52 </FONT> |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 5/22/2004(UTC) Posts: 64
|
Aaron,
Go into Admin-Content-Category-(Edit)Gridw/Subs and set number of items.
Dan
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Thanks! I completely missed that part of the admin.
Aaron |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Currently this is not compatible with SP3, this will be fixed with SP3.1 |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.