General Community > Development 2.10.x

2.13

(1/2) > >>

crnogorac081:
Hello,

I saw this post on FB  https://www.facebook.com/254526557891443/posts/3576272312383501/

I need core modification to be able to to inject backend.js into body, instead in head. I am creating bootstrap backend theme. I know there is backend_body.js , but most modules use code from backend.js. Nowdays BS4 themes have js at the end of body tag in order jq.js, , bs.js, then js scripts, so placing backend.js into head will cause errors and it will not work.

dbs:
Hi, do you have tried the {BACKEND_MODULE_JS} and the other JS calls
from templates/DefaultTheme/templates/header.htt
put to footer.htt, next to {BACKEND_BODY_MODULE_JS} ?

crnogorac081:
I know this, but most modules has js put in backend.js amd not in backend_body.js , so if someone use my backend theme ,modules will not work.. thats why i need backend.js placeholder inside footer.htt

dbs:
I thought the {BACKEND_MODULE_JS} calls the backend.js and if you put it into footer.htt it will there executed.
If both are in footer.htt it should call both there.
Maybe Dietmar have a look here.

crnogorac081:
I belive BACKEND_MODULE_JS  in footer.htt calls  backend_body.js file and not backend.js

Navigation

[0] Message Index

[#] Next page

Go to full version