Putting actions into the PlaceHolderLeftActions

The Wiki and Blog sites have pages that make use of the PlaceHolderLeftActions content placeholder. I’ve mentioned this before regarding putting a web part zone below the quick launch menu. This time I wanted to list some actions for our ‘case’ system.

placeholderleftnavactions

The code to do this? Not very hard. Naturally, we’ll actually have some code to generate our actions and links…

<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
<DIV class="ms-quicklaunchouter">
<DIV class="ms-quickLaunch" style="WIDTH: 100%">
<DIV class="ms-quicklaunchheader">Case Actions</DIV>
<div>
<TABLE class="ms-navitem" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR><TD style="WIDTH: 100%">
<A class="ms-navitem" href="http://vm-moss/Default.aspx">Action 1</A>
</TD></TR></TABLE>
<TABLE class="ms-navitem" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR><TD style="WIDTH: 100%">
<A class="ms-navitem" href="http://vm-moss/Default.aspx">Action 2</A>
</TD></TR></TABLE>
</div>
</DIV>
</DIV>
</asp:Content>

Advertisements
Putting actions into the PlaceHolderLeftActions

2 thoughts on “Putting actions into the PlaceHolderLeftActions

  1. ChuckLew says:

    Andy, I really like where you’re going with this. I am excited to see this taken to the next level. If we could render a link list here, but keep it styled like the quicklaunch (headers and sublinks) it could be very useful. I think a CQWP and/or the rigth XSL could do the trick. I am currently using a JavaScript function I created that writes to this area inorder to render a secondary quicklaunch on every page within a site. I have to manually manipulate the code everytime the links need changing so its far from ideal. At least I only need to updated it in one spot, though. Perhaps, the method you’re describing here will allow simple list management to populate the secondary quicklaunch.

    Like

  2. Yeah, an appropriately styled CQWP would do the job nicely. You could put a WebPartZone there, and allow users to select what they want in there.

    For the CQWP you could specify a custom XSL file, maybe create a custom CSS file – all quite possible. In fact, the Context Query Ticker Web Part (see my Software page above) does this.

    But yes, sounds a good approach

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s