Page 1 of 1

Extension Builder css reference

Posted: Wed Oct 24, 2018 1:34 am
by semua
Hello
I'm using "Extension Builder" but I'm having difficulty:
In "HTML Render" can not reference a css? Ex.:
<link href = "/ mystyle.css">

I added as an attachment the file "mystyle.css" because it is large, it works perfectly when viewing in the browser, but when I will see it in my project it goes unformatted.

Another thing, why should I insert the code in "Html Render" for a "Live HTML rendering" instead of the Extension Builder automatically generate the "Preview"? Because in my case, I'm making a menu, and the same code that goes on each tab separately (Between ... Aflter ...) I'll have to put in the "Render Html". Would not it be easier in "Preview" to see the code for all tabs (at runtime) and not "Render Html"?

Thank you very much in advance.

Re: Extension Builder css reference

Posted: Wed Oct 24, 2018 5:29 am
by Pablo
I'm sorry, this is not possible. The HTML code is rendered from memory, so there is no way to know where to look for the file unless it's an absolute poath.

Re: Extension Builder css reference

Posted: Wed Oct 24, 2018 11:02 am
by semua
Too bad, that's a nuisance.
Is there a menu-type project for me to download and see how it's done? I have no idea how to add properties in the case of menus.

Re: Extension Builder css reference

Posted: Wed Oct 24, 2018 11:28 am
by Pablo