M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Difference in web resources folder

hi,

In my version v2.3 app I used to add some extra resources in the web_resources folder, like for example some fonts, and custom html file (which I used in my html component)

Can the same thing be done with v3.0? Or will it break something as I can see that the folder structure has changed greatly. If not then what is the recommended location for adding such resources? The CSS file for example may conflict with other style so previously in my version 2.3 I was loading the CSS in my html file using this path:
code
<link rel="stylesheet" type="text/css" href="&#46;&#46;/&#46;&#46;/css/dialpad/style&#46;css" />
/code

If I add the CSS in the regular way it may conflict with other style. What is the suggestion? Thanks Image

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Difference in web resources folder

Can someone from support answer this question please? In v2.3 it was the recommended way to have folders for custom resources - as shown in first image. Everything including plugins broke when I updated to v3.0

Can someone at least tell me how / where to put the folders that I used to put in web_resources/files/views/assets? What would be the new location of those custom folders?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Difference in web resources folder

Hello,

Please clarify, do you use "Render all pages in one HTML" or multiple pages app?
Could you clarify, which resources do you want to upload to the app? You can upload them to the new folder in the root of "web_resouces"

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Difference in web resources folder

hi Sergiy,

No I don't use "Render all pages in one HTML" option. I have a HTML component into which I load a HTML page. So my previous v2.3 app, I had created one folder called "customhtml" and I put the html page inside there. I was loading this page into the html component. This HTML page also uses its own css and js files, so I created those folders as well, as shown exactly in the first image (v2.3)

I need to do the same thing with my v3.0 app. Please note that I have not changed any default configuration option at all. I just created a new JQM mobile app with v3.0 libraries. Any clarification please let me know.

Thanks
M.M

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Difference in web resources folder

Hi -

You can create any folder in the "web_resources" and put your files there, have you tried this?

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Difference in web resources folder

ok thanks Illya, I will try that. I wanted to confirm the folder location because I didn't want to put the folders in the wrong place and later have some difficulties

Return to “Issues”