Ebase and CSS StyleSheets

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

alexmcclune
Ebase User
Posts: 95
Joined: Wed Feb 27, 2013 5:16 pm

Ebase and CSS StyleSheets

#1

Postby alexmcclune » Wed Sep 25, 2013 3:23 pm

Hi,

We are aiming to use responsive design so the forms work properly on mobile devices. After some playing around we have managed to create a sample CSS and tested on a basic form, wrappers work well and when we change the browser it displays as expected. We are happy with most of it.

We are currently referencing the stylesheet from the Form properties, Web Resources HTML++ header text box. This is fine for the time being but we plan to instead use a mixture of the external StyleSheet, presentation template and components to make it easier to develop future forms in Ebase.

My question is this, when we select from the menu: Web Resources, Style Sheets and choose to add a new one. We attempt to "Use External Stylesheet". This works, however when this StyleSheet is updated the changes are not replicated within Ebase?

I assume Ebase chooses to import the stylesheet somehow, is there a way for us to use this functionality but for it to refresh when the form is opened so it picks up any changes made on the external style sheet?
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Thu Sep 26, 2013 8:40 am

Hi Alex,

I have just tested this myself, There are three approaches to this:

1) Press the refresh page contents toolbar button at the top of the Page designer. This is a green icon with two arrows on it making a circle.
2) Close the form and re-open it.
3) Select/open another frame (e.g a script) and then move back to your form.

All these options reload the stylesheets and refreshes in the content.

Hope this helps...

Steve
0 x

alexmcclune
Ebase User
Posts: 95
Joined: Wed Feb 27, 2013 5:16 pm

#3

Postby alexmcclune » Thu Sep 26, 2013 11:12 am

Thanks, I also got a reply from Steve and it is just my unfamiliarity with the designer (hopefully).

Alex
0 x


Who is online

Users browsing this forum: No registered users and 21 guests