[SOLVED] Warning message about less file syntax in v3.0.10-rc2

More
8 years 11 months ago - 8 years 11 months ago #59231 by rottenberg
hello,
First of all I want to wish an happy new year for all Flexicontent team and congratulate all of you for the work done in Flexicontent.


I have installed the V3.0.10-rc2 Date de la version: 2015-01-02.

when I display the item page If get the following warning :

Annonce
- LESS to CSS halted ... CSS file was not changed ... please edit LESS file(s) find offending lines and fix or remove
parse error: failed at `*zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif");`
/home/.../components/com_flexicontent/templates/scrollitelling/less/item.less on line 158

- LESS to CSS halted ... CSS file was not changed ... please edit LESS file(s) find offending lines and fix or remove
parse error: failed at `*zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif"); `
/home/.../components/com_flexicontent/templates/scrollitelling/less/category.less on line 47


What can I do to correct it ?

thank you very much for advices

best regards

Michel
Last edit: 8 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #59233 by ggppdk
Hello

that is intentional message you,
but
1. it will show in backend only (does it show in frontend ?)
2. the CSS files are not changed until you fix this

- you do what it says, edit the files and remove the bad lines


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #59236 by ggppdk
Hello

but your posting makes me think,

since this message will not be uncommon because old templates have this invalid Internet Explorer * CSS
it will confuse several users, thinking it is a component error

- we need to improve message or do something more with it
e.g. do not migrate CSS to LESS automatically but instead provide a button

thanks for evaluatong v3.010-rc2 and posting feedback

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 11 months ago by ggppdk.
The following user(s) said Thank You: rottenberg

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #59237 by rottenberg
thank you very much.

I agree with you. All templates I use are a copy of the default one.
Can you just confirm me that I just need to delete the following lines :
Code:
/** * Include this rule to trigger hasLayout and contain floats. */ .group { /* for IE 6/7 */ *zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif"); /* non-JS fallback */ *zoom: 1; }

best regards

Michel
Last edit: 8 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #59238 by rottenberg
just a confirmation the warning appears only in the backend. The frontend is normal.

Michel
Last edit: 8 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #59242 by charlynancy
Hi,
Can you just confirm me that I just need to delete the following lines :
Code:
/** * Include this rule to trigger hasLayout and contain floats. */ .group { /* for IE 6/7 */ *zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).style.cssText="clear:both;font:0/0 serif"); /* non-JS fallback */ *zoom: 1; }
Only remove code of the warning message was not enough in my case.

Here is how i fixe this matter :

1 Duplicate the Original template and rename it as your old template + 2 at the end (in your case scrollitelling2)
2 Remake your customization in your new template (scrollitelling2)
3 Rename the folder of your template scrollitelling like this : /components/com_flexicontent/templates/scrollitelling_old
4 Copy the folder /components/com_flexicontent/templates/scrollitelling2/ and all its content on your local drive
5 Rename it /scrollitelling/ and paste it in /components/com_flexicontent/templates/
6 Now you can delete the template scrollitelling_old (in admin template of Flexi)
Last edit: 8 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.719 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline