ASPAlliance.com : The #1 Active Server Pages .NET Community The #1 ASP.NET Community
Search   Search

Subscribe   Subscribe

Powered by ORCSWeb Hosting


Site Stats


Powered By ASP.NET
 
Featured Sponsor

Featured Columnist


Featured Book
ASP.NET Unleashed
ASP.NET Unleashed

Find Prices
Read Review
Sample Chapter
Sample Chapter
Sample Chapter
Sample Chapter


New! asp.netPRO

We publish our articles in the standard RSS format.

Powerful .NET Email Component

Code Sharing Software

  IBuySpy's FlexHeaders Module

You can now rename your headers and control whether you want a column to be shown or hidden from view. This feature provides additional flexibility in the use of the Contacts and Document Modules. You can rename the header titles of this module to match the business or personal description that the title is intended to describe

Each use of a module on a page can have its own custom title attached and you can choose the column in which you want it to be displayed. This customizing of columns to be displayed means that you can use the contact and document modules in the left and/or right panes of the portal layout, you are not resricted to the center pane only.

We have also added a Mailto: link to the Contacts Email column and the Documents Created by column.

And we also have made both modules navigate - on prev and next buttons..for every 5 Contact and Documents listed (5 is the default).

We also allow for  each instance of use for the contact and document module. You can now enter small or larger values to page on:  like 3, 5,10,20 etc or 100  whatever fits. This is good when a page is dedicated to list a phone directory or page is dedicted to listing documents or Books.. and it is good for the multi module pages also...That would require smaller paging sizes.

Using the Portal's Module Layout Manager, you will be able to rename the headers to be more consistent with the description and purpose of your site. By entering titles in an Alias DB table you can personalize the document titles for departments, products, catalogs and other document types. As an example, the Contacts Module can also be renamed to match the type of phone book that is being listed by the portal, like a department phone book, or sales or product support contacts page or even a email directory. The Document can also be customized to show a Book or CD list mounted in a pane of your choice as in the right pane of the page layout example.

Feature List

  • Rename Column Titles
  • Build the Contacts and Document Header to be more descriptive of what they represent
  • Choose and Hide Columns
  • Set up page navaigation for each module instance.
  • Make Directory for CDs, Books, One or Two Column Headers.
  • Direct Mailto: Links
  • Make use of the left and right pane for custom Contacts and Documents Listing: Like Two Column Phone Contacts Or Email List
  • Globalize the Titles in Your Native language See the demo on how PeopleSoft is planning to use FlexHeaders

* Another major advantage of this modification kit is the ability to globalize the headers in your language and even make use of multi-languages with-in a single Portal. 

A users Comments:

Your FlexHeaders module is more than an improvement to the document and contact modules.  It is a complete overhaul!
Being able to change the headers is the best possible thing that could have happened, and then there are all the other enhancements, like adding a mailto: to the e-mail field. The improvements didn't stop there that is for sure!  I like the way you gave the ability to decide the number of columns you can make visible for both the documents and contacts module because when I want to use this module on the left or right hand sides of any of my Portal pages I can limit the columns to two or three which fit much better, this takes care of that scrunched up look; or if I want to use all of the columns available and place them in the middle column of one of my Portal pages that works too!  To top it all off you've added a paging function so that if I have more than five contacts or documents listed you can just use the next button to view them rather than letting the list go on and on.  This improvement is wonderful because I try very hard not to make my viewers have to use the scroll bar to view a page.  I hate the scroll bars and when ever I can minimize the use of them on my page, I will.  These improvements make the documents and contacts module more user friendly and definitely more practical for real life web development. 
 
Thank you for a wonderful new module for my Portal!
 
Kind regards,
Janet Fox
 
Okay there is a honest write up!  Good job! 
 

All code is provided unlicensed for your perusal and modification.

This Module is available at the followings stores:

          Expand your portal...    Expand your portal...    Expand your portal...

Your Responsility: You must backup your existing application before installing the modification kit. 

 

Troubleshooting:

Follow the below procedure and report any problems to westdh@attbi.com

1). Start over and create a new Portal with a new Database
2). Install the stored procedures
3). Observe AliasFieldNames Table page size for both Contacts ModuleID(9) and Documents ModuleID(10) should be set to 5.
4). Copy and Paste Modulesetting files (3) into admin folder
5). Rebuild The Solution -- You should not get any errors in the output window
6). Copy and paste the Contacts.vb into the Component folder.
7). Rebuild The Solution -- You should not get any errors in the output window
8). Copy and paste the Documet.vb into the Component folder.
9). Rebuild The Solution -- You should not get any errors in the output window
10). Copy and paste the Contacts.ascx files (3) into the DesktopModule folder
11). Rebuild The Solution -- You should not get any errors in the output window
12). Build and Browse and run and observer that the Contacts Module is working ok - do not modify yet
13). Enter admin and observe that the Layout manager is working ok - Enter edit mode but do not modify yet.
14). Copy and paste the Document.ascx files (3) into the DesktopModule folder
15). Rebuild The Solution -- You should not get any errors in the output window
16)  Copy and paste the EditContacts.aspx(1) file and the Editdocs.aspx files(3) into the DesktopModule folder
17). Rebuild The Solution -- You should not get any errors in the output window
18). Build and Browse and run and observer that the Documents Module is working ok - do not modify yet
19). Enter admin and observe that the Layout manager is working ok - - Enter edit mode but do not modify yet.
 
It should now work ..
 
Please Note:
 
Bug Reporting and Status:
As of  08/27/02...2:32 am ..the latest download is a working version with no errors.. It has been tested by another user besides me and it looks like we cleaned everything up.

The following has now been resolved. The editcontacts files are now using codebehind coding method.

I found a problem on implementation, visual studio on a site that we tested this on tried to make the EditContact.aspx file (which is coded as an inline page) into a code behind class file... To fix this we removed the Codebehind and Inherit statements from the .aspx page.. Visual studio added this to the .aspx page when it was paste in - it is not in the original code. It is possible you will not see this error..because it does not happen on my developement system or my host site.

"The FlexHeaders" Usage Agreement

We at DotNetSolutions grant you the right to change, modify and distibute this Software on the following terms:


This Agreement is personal to you, and (save to such extent as may be expressly permitted by this Usage Agreement) you may copy, and distibute freely within your own software. You may not redistrube this code as shareware or otherwise distribute or part with the Software or any accompanying written materials. You must take reasonable steps to protect the Software from unauthorised copying, publication, disclosure or distribution.

THIS SOFTWARE IS PROVIDED 'AS IS'. TO THE EXTENT PERMITTED BY THE APPLICABLE LAW, WE DISCLAIM ALL WARRANTIES WITH RESPECT TO THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. ALTHOUGH WE DO NOT WARRANT THAT THE SOFTWARE SUPPLIED HEREUNDER SHALL BE FREE FROM ALL KNOWN VIRUSES WE HAVE USED COMMERCIALLY REASONABLE EFFORTS TO CHECK FOR THE MOST COMMONLY KNOWN VIRUSES. YOU ARE NEVERTHELESS SOLELY RESPONSIBLE FOR VIRUS SCANNING THE SOFTWARE. WE SHALL NOT BE LIABLE TO YOU OR TO ANYONE ELSE FOR ANY LOSS OR DAMAGE WHATSOEVER OR HOWSOEVER CAUSED ARISING DIRECTLY OR INDIRECTLY IN CONNECTION WITH THIS AGGREEMENT, THE SOFTWARE, ITS USE OR OTHERWISE, EXCEPT TO THE EXTENT THAT SUCH LIABILITY MAY NOT BE LAWFULLY EXCLUDED UNDER THE APPLICABLE LAW. NOTWITHSTANDING THE GENERALITY OF THE ABOVE, IN NO EVENT WILL WE BE LIABLE FOR INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL LOSS OR DAMAGE WHICH MAY ARISE IN RESPECT OF THE SOFTWARE, ITS USE, OR IN RESPECT OF OTHER EQUIPMENT OR PROPERTY, OR FOR LOSS OF PROFIT, BUSINESS, REVENUE, GOODWILL OR ANTICIPATED SAVINGS, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS.

Usage Agreement Version 1 July 2002

For Support and comments:

Over 3000 ASP.NET Solutions at http://aspalliance.com/dotnetsolutions

Dennis H. West
West Design
ASP.NET Developer
 Copyright © 2000-2003 ASPAlliance.com  Page Rendered at 11/21/2009 6:14:52 PM