Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  How do I make my module have an edit pencil?
Previous Previous
 
Next Next
New Post 5/22/2008 6:33 PM
User is offline Dave
15 posts
10th Ranked


How do I make my module have an edit pencil? 

So I have in the space of 5 days gotten my head around DNN and have created my own basic module that pulls from a database.

Question now is, if I have a generic list of things pulled from the database listed on my page how do I basically build a module that enables me to place a pencil icon beside each row such that an admin can click on the pencil and have a listing of the data appear only in text boxes with an update button.

One way might be for me to just have a completely separate page that the admin logs into but it would be nice to have say a widgets page that lists my widgets and then have it such that if an admin is logged in they will see the pencils appear.

Basically I am trying to learn how other module developers create editable modules with the little edit pencils : )

Dave

 
New Post 5/23/2008 10:12 AM
User is offline Mitch Sellers
5818 posts
www.mitchelsellers.com
3rd Ranked




Re: How do I make my module have an edit pencil? 

If you are using a grid, simply have a column for "edit", toggle it's visibility based on the "IsEditable" property from the PortalModuleBase class.

You can get the edit image from "~/images/edit.gif"


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 5/23/2008 2:49 PM
User is offline Dave
15 posts
10th Ranked


Re: How do I make my module have an edit pencil? 

Perfect Mitch thank you .. but of course when you kill one dandelion another 5 pop up in it's place  :) .. couple more questions:

1) Can you give me an example of how isEditable is able to check if I am Host or Admin, versus Joe Bloggs.

2) Slightly different angle with this question ... how do I develop my module such that when I mouseover the top left corner of my module header that little drop down appears (with setting etc.) only with "Edit Dave's Module" in there as well?

3) Last question - I'm not quite there yet probably in my learning curve but I am interested in how I can add the ability to add my module specific settings to the "Settings" drop dopwn link? - For example, sometimes you see in the settings section the ability to manage for instance the ability to use different module skins or to check a box that enables pr disables some functionality within the module.

Thanks in advance Mitch - I appreciate your taking a second out of your busy day for me (how many stars do you have??? -  I have like 5 :) )

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  How do I make my module have an edit pencil?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP