• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Nick Alberti
#1 Posted : Wednesday, November 29, 2006 3:21:13 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

For those who have been asking:

Open "Custom.aspx" in notepad or another friendly editor.

View the attached image and add the code in the red boxes.

Change the "ColumnName" to the name of the column you want to add to the page. You can get the column name from the admin area: Content > Columns > Column Name.
Nick Alberti attached the following image(s):
Custom.jpg (85kb) downloaded 432 time(s).

You cannot view/download attachments. Try to login or register.
Scottne
#2 Posted : Wednesday, November 29, 2006 6:10:21 PM(UTC)
Scottne

Rank: Member

Joined: 9/24/2003(UTC)
Posts: 402

Awesome was just wondering about this today.
ChristianMoments
#3 Posted : Tuesday, December 5, 2006 8:28:43 PM(UTC)
ChristianMoments

Rank: Member

Joined: 1/23/2006(UTC)
Posts: 103

You can also do the same thing by making a custom.master for your theme and adding the left column that you want.
Nick Alberti
#4 Posted : Tuesday, December 5, 2006 8:47:58 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

I totally agree. Adding it to the custom page would be the best way to do it. I believe I added these instructions for someone who didn't have "custom.master" their theme.
MitchA
#5 Posted : Monday, April 23, 2007 12:22:10 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

This isn't working in SP2 final / Painted Paper. Any changes in SP2 that might cause this mod to throw a runtime error?
MitchA attached the following image(s):
special-page-mod-error.jpg (46kb) downloaded 173 time(s).

You cannot view/download attachments. Try to login or register.
Optimists invent airplanes,
Pessimists buy parachutes.
[email protected]
#6 Posted : Monday, April 23, 2007 12:38:33 PM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hey Mitch,
Make sure the ColumnName matches the column in which you are attempting to call. Also, make sure the TagPrefix does not exist in any other pages that are called. You may want to change the prefix to "ucc1" and update the control tag. This will likely fix your issue.
Thanks,
Everett
Everett Comstock

BV Software
MitchA
#7 Posted : Monday, April 23, 2007 12:53:54 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

That did it - thanks. No need to change the "uc1".
Optimists invent airplanes,
Pessimists buy parachutes.
daniel
#8 Posted : Thursday, November 29, 2007 3:12:19 PM(UTC)
daniel

Rank: Member

Joined: 11/15/2007(UTC)
Posts: 52

Originally Posted by: "MitchA" Go to Quoted Post

That did it - thanks. No need to change the "uc1".
Mitch,


Thank you for your reply.



This works, it is exactly what i needed.



However there are formatting issues now, I have attached a file that shows what the side column menu looks like with code changes given.



Is there a way to format this control in the stylesheet? Or is there something more I need to do to the code to bring the size of the box all the way to the left and align text to the left as well?



Thank you for your help again,



Dan
File Attachment(s):
menuinc.png (380kb) downloaded 186 time(s).

You cannot view/download attachments. Try to login or register.
drodriguez
#9 Posted : Thursday, July 17, 2008 4:29:59 PM(UTC)
drodriguez

Rank: Member

Joined: 6/26/2008(UTC)
Posts: 38

So you don't have to type it out:
Code:
<%@ Page Language="VB"
MasterPageFile="~/BVModules/Themes/YOURTHEME/Default.master"
AutoEventWireup="false" CodeFile="Custom.aspx.vb" Inherits="Custom" title="Custom Page" %>

<%@ Register Src="~/BVModules/Controls/ContentColumnControl.ascx"
TagName="ContentColumnControl" TagPrefix="uc1" %>

<asp:Content ID="Content1"
ContentPlaceHolderID="MainContentHolder"
Runat="Server">

<div id="categoryleft">
<uc1:ContentColumnControl ID="ContentColumnControl1"
runat="server" ColumnName="System Category Page" />
</div>

<h1><span><asp:Label ID="lblName" Text="Title Loads Here" runat="server" /></span>
</h1><asp:Label ID="lblContent" Text="Content Loads Here" runat="server" />

</asp:Content>



Note that if you put this into CART.ASPX there will be formatting issues. When I find what fixes it I'll post here.
David Rodriguez
Infinet Development, Inc.
Cliff
#10 Posted : Saturday, July 19, 2008 1:06:25 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Originally Posted by: "D-ROD" Go to Quoted Post
Note that if you put this into CART.ASPX there will be formatting issues. When I find what fixes it I'll post here.


This is probably because of the fixed width of your shopping cart table. Any page will need to be modified so that the content will fit in the smaller width space you're creating for it.
drodriguez
#11 Posted : Thursday, July 31, 2008 10:53:54 AM(UTC)
drodriguez

Rank: Member

Joined: 6/26/2008(UTC)
Posts: 38

Quite right.

The DIVs weren't playing nicely with the table generated by the GRIDVIEW control. That table assumed 100% of... the page, rather than it's actual available space (given the left hand DIV that held the menu & floated left so everything to its right could wrap under it).

Wrapping everything to the right in another DIV nailed it - I would have fought if I actually wanted wrapping underneath the left DIV (adjusting the table would have accomplished that).
David Rodriguez
Infinet Development, Inc.
dumaloo
#12 Posted : Monday, September 29, 2008 7:29:35 PM(UTC)
dumaloo

Rank: Member

Joined: 9/26/2008(UTC)
Posts: 23

I have copied one of the existing BVC 5 themes and I am trying to modify it to come up with one of my own.
I would like to add a custom column in a left column of my template to hold the categories navigation list.
How can I go about doing this? Thanks!
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012