• Login
  • Register

DNN Forums

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

Angular routing in DNN 9

You are not authorized to post a reply.
Sort:


New Around Here


Posts:2
New Around Here

    We currently have an Angular 12 module which we install using a DNN module in our DNNwebsite. We would like to use Angular's  routing to navigate between different components in the module. However, we currently are unable to navigate to a component by pasting the path assigned to the component in the browser. If we run the Angular module outside of the DNN module if we paste the url matching a given component in the browser then user is taken to the corresponding component. However, if a user is on our DNN site they are taken to the url for the appcomponent only. 

    Additionally, the routing works as expected if you click a link inside of the module, meaning you are able to navigate between components by clicking links with in the module.

    Does anyone know how navigate to a given Angular component within an Angular module withen in a DNN module by pasting a url in a browers while logged into a DNN 9 website? We would like to do this so that we can use a DNN submenu to navigate between components in the Angular module. 



    Veteran Member


    Posts:929
    Veteran Member

      Not sure, but maybe this blog post/video may help: Quick & Easy Way to Figure Out Your Web API Routes in DNN (dnncommunity.org)

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect


      Veteran Member


      Posts:649
      Veteran Member

        Posted By AddisonS on 12/29/2022 1:13 PM

        Does anyone know how navigate to a given Angular component within an Angular module withen in a DNN module by pasting a url in a browers while logged into a DNN 9 website? We would like to do this so that we can use a DNN submenu to navigate between components in the Angular module. 

        Would you mind being more specific about where/how this user experience is desired to be implemented?  It almost sounds like two different things to me. :) 

         

        Will Strohl

        Upendo Ventures DNN experts since 2003
        Official provider of the DNN-based E-Commerce w/ Hotcakes Commerce Cloud and SLA support
        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. If you have (suspected) security issues, please do not post them in the forums but send an email to [email protected]
        2. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. 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.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. 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