Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Some questions about page in DotNetNuke !Some questions about page in DotNetNuke !
Previous
 
Next
New Post
3/8/2007 8:46 PM
 
I have some questions about page in DotNetNuke :
- I want to create a page and add content ( add modules, copy modules from another page) to it by writting code. Can you help me ?
- If I have two pages : Page 1 and Page 2 ( two pages are different) . I add my module ( with 3 controls : View, Edit, Settings) to Page 1. I want when I click the pencil icon to edit the module, the Edit control of my module shows in the Content Pane of Page 2. You can tell me the way to do ?
 
New Post
3/9/2007 9:53 AM
 

If you are looking at dynamically creating pages you will want to look into the DotNetNuke API for the tabController and other related API functions that handle tabs (Pages).

In regards to a module that works in the manner you have listed that might not be easily attainable....an edit control always will show in the "Edit" display, with it being the only module displayed...if you migrate from that you will be forced to perform conditional logic....you could POSSIBLY set it up so that you could do a redirect to page 2 and have your module grab a query string value to enter it into edit mode......but I am not sure how easy that is do do...


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
3/11/2007 4:55 PM
 
mitchel.sellers@gmail.com wrote
In regards to a module that works in the manner you have listed that might not be easily attainable....an edit control always will show in the "Edit" display, with it being the only module displayed...if you migrate from that you will be forced to perform conditional logic....you could POSSIBLY set it up so that you could do a redirect to page 2 and have your module grab a query string value to enter it into edit mode......but I am not sure how easy that is do do...


Hi,
As above, create your control in view mode, place your edit controls in the view control,
use a conditional stm to choose which control you want to view,
you can also check if the user has the authority to edit the module (isEditable)
if not redirect to login (navigateurl(tabid,"Login")) or trow a custom error

chipset Arowolo
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Some questions about page in DotNetNuke !Some questions about page in DotNetNuke !


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out