• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN 9.10.0.1 can't edit source code

You are not authorized to post a reply.
Sort:


New Member


Posts:1
New Member

    Hi I am using DNN for more then 6 years, recenly i deploy new DNN 9.10.01 first issue i faced is there no modure for ModuleCreator like old version and then i manged to install from https://github.com/DNNCommunity/Dnn...tag/v9.8.1 this website.

    But my actual issue is i don't have option to Add File and Edit File wehn we select module's develop under the edit mode, its looks like below

     

    My old DNN looks like below

    Please help me solve this issue, or if there is any doc please share

     



    New Member


    Posts:7
    New Member

      Well I noticed today the same issue in my new sites.

      From version 9.8.1 It appears DNN removed ModuleCreator as Core Module, for this reason DNN now have another control for view source of modules, this control allows edition just in local sites (localhost). Fortunately this have solution.

      Solution:

      I highly recommend to take a backup for you site before to start

      First of all is needed to install the ModuleCreator module if is not already installed. I tried with last versiĆ³n at https://github.com/DNNCommunity/Dnn...tag/v9.8.1

      Once you have installed ModuleCreator module, you need to run a script, to replace current ViewSource control to ViewSource control from ModuleCreator module.

      Run this query on SQL Console as host, please be careful to run all script (3 lines), including WHERE part, without this you will damage completely your site. Do i recommend to take a backup after all the process ?

      UPDATE {databaseOwner}[{objectQualifier}ModuleControls]
      SET [ControlSrc]='DesktopModules/Admin/ModuleCreator/viewsource.ascx'
      WHERE [ControlTitle]='Develop Module' AND [ControlSrc]='Admin/Modules/viewsource.ascx'

      Lastly you need to restart application to load this new information and now you will be able to edit module files again.

      LAST NOTE: I´m pretty sure DNN colaborators removed this functionality on purpose, maybe for security, but I think this should be optional, with some additional flag in site or security settings. I will try to request this on github

       

      You are not authorized to post a reply.

      These Forums are dedicated to discussion of DNN Platform.

      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.

      Would you like to help us?

      Awesome! Simply post in the forums using the link below and we'll get you started.

      Get Involved