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  |  

AspDotNetStoreFront
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Page Update Notifications
Previous Previous
 
Next Next
New Post 4/20/2006 4:57 PM
User is offline Sebastian Leupold
15040 posts
www.deutschnetnuke.de
1st Ranked












Re: Page Update Notifications 

I wish luck to you with your solution!

I know the Spreewald and Berlin, also I am living just in the opposite part of Germany - Karlsruhe is in the south west, very close to the french border. A nice place to live in the upper Rhine area, close to the Black Forest and not too far from the Alps. Although Germany is very small compared to the U.S., there is much to discover :)


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/21/2006 7:43 AM
User is offline Stuart - Hilbert Solutions, LLC
623 posts
www.getyourowntots.com
7th Ranked


Re: Page Update Notifications 

My wife lived in Constance for half a year in college, that is more in your area, though I have never been. 

I slept on this problem and I have some ideas and I wanted to run them by you. 

I have noticed that when you edit a module on a page you the url changes to something like this...

http://Website/PageName/tabid/TabIDNumber/ctl/Edit/mid/ModuleIDBeingEdited/Default.aspx

Anything in Italics equals dynamic information.

It seems like I could write a module that I could add to a page that would simply monitor the current url.  If a Url contains a "/ctl/" and "/mid/", then I know that a module on the site is being edited.

So it seems that I should be able to identify 1.)What module is being edited and 2.) on what page the module is being edited.

 

Now, I would only want to send a notification if a module was updated. 

What I have noticed is that when you Update a modulel the UPDATE button link has, "$cmdUpdate".  Of course some of these buttons do error checking and what not so I would only want to send out a Notification on a successful update.

So the question is how can I figure out if the update was sucessful?  I am not sure on this one, since it is Javascript that makes it harder, anyone have any ideas?

The way I envision this module working is that you would drop it on a page.  You then would tell the module that you want to send Notifications on the following modules which are located on the page (checkboxes).  Then you specify which roles you want to be notified (checkboxes).

What do you guys think?  Possible?  Seems like the big problem is the Javascript cmdUpdate.  How would I capture that?

Thanks for the read and any suggestions you might have.

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 4/21/2006 9:41 AM
User is offline Sebastian Leupold
15040 posts
www.deutschnetnuke.de
1st Ranked












Re: Page Update Notifications 

Stuart,

Yes, Konstanz is a beautiful small city near the Bodensee - worth to visit.

Your approach using the url looks smart at the first glance - but be aware, that not only edit pages use it - even settings pages and often details views in master-detail modules.

I also fear problems with notification from buttons. of cause, you can try to catch a submit, but it is difficult to anticipate all module's approaches - how about AJAX e.g.

IMHO it would be easier to place triggers on the database for all relevant modules.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/21/2006 9:49 AM
User is offline Stuart - Hilbert Solutions, LLC
623 posts
www.getyourowntots.com
7th Ranked


Re: Page Update Notifications 

My first thought was triggers as well, but I don't want to have to setup really precise triggers everytime I create a new page with modules that need notifications. 

The other approach is just modify the modules that I want notifications on.  Which would be fine, but I was hoping for a bigger, better solution, more encompassing solution. 

Dank für die Hilfe.
 
Stuart

Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 4/21/2006 10:02 AM
User is offline Sebastian Leupold
15040 posts
www.deutschnetnuke.de
1st Ranked












Re: Page Update Notifications 
note, that you will need a trigger for each module definition only, and you get notified on edits in each instance of it. If you want to get notified for specific instances only, both approaches will be problematic.
Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Page Update Notifications
 


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.

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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