CMS Development

Nandu
Participant

Javascript Add dropdown button is disabled on the Custom Modules

Hi fellow developers,

i am using a hubspot free account, and developed some custom modules, the Javascript Add dropdown button on the right sidebar of the custom modules are working well at that time, but now the dropdown is disables and i cant add any external javascripts from the file managers, please help if anyone can help me, i tried to contact hubspot but as i have a free account its not possible to do so.

Any answers would be appriciated.

 

Thanks

 

0 Upvotes
3 Replies 3
DanielSanchez
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Javascript Add dropdown button is disabled on the Custom Modules

Hi @Nandu ,

 

To you add JavaScript, go to Design Manager and click in File > New File > JavaScript.

file.PNG

java.PNG

 

Paste the Java Script Code in this file and Publish/Save.

 

Now in the page/blog template, u can set this file created. Look:

java-scrip.PNG

 

 

U can too, upload in File Manager one file or use outside script as font awesome, using this area to set: 

script.PNG

 

Obs: Remember that custom modules also have javascript area.

 

Did this post help solve your problem? If so, please mark it as a solution.

Best regards! 🙂

Nandu
Participant

Javascript Add dropdown button is disabled on the Custom Modules

@DanielSanchez @sharonlicari Ok i understand this method, but will it cause any problem when I submit the  modules to the Marketplace?? will it effect that?.

I am just thinking why i can't attach javaScripts here

 

ImaginoSolutions.png

 

Here attach option is disabled, what causes the problem?? is that because of the free account?? 

Can you please help

0 Upvotes
sharonlicari
Community Manager
Community Manager

Javascript Add dropdown button is disabled on the Custom Modules

Hey @Nandu     

 

I will tag a few of our experts to give you some tips about this.   

 

Hey @Gonzalo @DanielSanchez @alyssamwilie  could you please share your knowledge with @Nandu      

 

Thank you,

Sharon 🙂


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !