DNN Forums

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

Documentation about creating Persona Bar extensions without react

 1 Replies
 0 Subscribed to this topic
 26 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 10
New Around Here

Hi,

I couldn't find any documentation.

I'm trying to create a not-react persona bar extension using Vue.

A trivial module that does nothing and reference nothing works fine.

The problem is, when I try to do something real.

(1)

How do I create and call my web services (services framework)?

The best I could find is: https://stackoverflow.com...a-bar-module-routing

It doesn't work for me.

How should I create my services class? How should I make it available by code and/or registering it in the manifest (.DNN) file? How do I use it? [web-root]/API/PersonaBar/..... something? Or something else? What exactly? 

 

(2)

How do I use localization?

All the code in DNN refers to a 'util.js' which has a method like getResx().

How do I access it and use it from my not-react module? 

 

Thanks

New Around Here
Posts: 10
New Around Here

I've improvised... I guess there are many things terribly wrong. 

Final result: https://github.com/horacioj/dnnsearchandreplace

Any feedback is welcome.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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 instead follow the official DNN security policy
  2. No Advertising. This includes the 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