Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Next Page
Author « Topic »
Page: of 2

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  08:24:17  
While I was reading your instructions for this Editor at
"https://www.ecommercetemplates.com/updater_info.asp#checklist" I believe there is an error.

It says:
If you are running 6.9.3 or above and the add to cart function does nothing, make sure you have uploaded the file ectcart.js to the /css/ folder and that all your store pages include the line

<script type="text/javascript" src="js/ectcart.js"></script>

Is this correct?

Andy
ECT Moderator

95440 Posts

Posted - 07/06/2018 :  08:26:56  
Hi

Sorry, that is indeed a typo and should read

uploaded the file ectcart.js to the /js/ folder

I'll fix that now and thanks very much for pointing it out.

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  10:31:15  
The image upload feature will not upload an image if I drag 'n' drop or if I click to upload by searching the image. Everything else works. Any ideas?

Will - Bolton Manchester UK

Andy
ECT Moderator

95440 Posts

Posted - 07/06/2018 :  10:47:47  
It works fine here and did in testing too so it should be fine. Can you explain what happens when you select an image? Have you checked the prodimages folder has full permissions?

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  10:53:02  
Hi Andy

prosimages folder are showing 0755.

I'll rerun the updater in a few hours and see 'which way the mop flops'. I shall report back once done.

Will - Bolton Manchester UK

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  11:26:03  
I am also having problems with it not uploading a picture. Also do you know what magic css file under Froala/css controls the line-height. If I edit an existing product file, it is 1.5 or 2.0 line space, not single spaced??

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  11:36:57  
When I drag and drop an image I get: "Something Went Wrong. Please try again."

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/06/2018 :  12:00:47  
[quote]When I drag and drop an image I get: "Something Went Wrong. Please try again."[/quote]

That's exactly what I get.

In the Froala folder there is a error log file and this is the contents of that file

[blue][06-Jul-2018 18:28:23 Europe/London] PHP Fatal error: Uncaught Exception: The Froala Editor SDK library requires the fileinfo extension. in /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php:22
Stack trace:
#0 /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php(27): requireDependencies()
#1 /home/mywebsite/public_html/vsadmin/froala/upload_image.php(12): require('/home/mywebsite/...')
#2 {main}
thrown in /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php on line 22
[06-Jul-2018 18:28:47 Europe/London] PHP Fatal error: Uncaught Exception: The Froala Editor SDK library requires the fileinfo extension. in /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php:22
Stack trace:
#0 /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php(27): requireDependencies()
#1 /home/mywebsite/public_html/vsadmin/froala/upload_image.php(12): require('/home/mywebsite/...')
#2 {main}
thrown in /home/mywebsite/public_html/vsadmin/froala/lib/FroalaEditor.php on line 22[/blue]



Will - Bolton Manchester UK

Edited by - V45 on 07/06/2018 12:11:44

dbdave
ECT Moderator

USA
10468 Posts

Posted - 07/06/2018 :  13:09:08  
quote:
If I edit an existing product file, it is 1.5 or 2.0 line space, not single spaced??

Hi Jviney, I am guessing this is when you hit the retun (enter) key?
If so, try holding shift when you do this to see if you get the single line break.

The editor has some configuration settings for this (not sure if that can be changed with the ect configuration) but you can set what happens with line breaks.

https://www.froala.com/wysiwyg-editor/examples/enter

Andy
ECT Moderator

95440 Posts

Posted - 07/06/2018 :  22:13:00  
Hi Will

It sounds like this may be the problem there https://stackoverflow.com/questions/42410140/froala-editor-not-work-uploader - can you check with your host to see if that is available.

Andy

Please feel free to review / rate our software

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/16/2018 :  09:25:44  
Holding down the shift key did not help. I'm not sure where to put this action to set the line breaks?

"The editor has some configuration settings for this (not sure if that can be changed with the ect configuration) but you can set what happens with line breaks."

dbdave
ECT Moderator

USA
10468 Posts

Posted - 07/16/2018 :  09:36:12  
Hi jviney, why not take a look at the source view there and see what's being added to the html there.
It's the icon in froala that looks like an open and closing tag </> I believe

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/16/2018 :  09:48:39  

<div class="proddescription"><p>Date: July 19, 2018</p>
<p>WABA Safety Day</p><p><br></p><p>

Wilderness Resort & Convention Center<br>
45 Hillman Road, Wisconsin Dells, WI</p><p><br></p><p>

Are your safety programs thorough and complete? Is your safety training effective and up-to-date? Can your facility "PASS" an OSHA inspection?</p><p><br></p><p>

If the answer is not a definite "YES!", You need to attend!!</p><p><br></p><p>

<strong>Please fill in the totals at the bottom and then register by clicking on the desired breakouts, it will then ask the name of the person attending and ask for their email address. </strong></p><p><br></p>

<ul>
<li><a href="/store/products.php?cat=35">Breakout A. Session #1</a> - OSHA Update</li>
<li><a href="/store/products.php?cat=36">Breakout A. Session #2</a> - Vehicle and Shop Safety</li>
<li><a href="/store/products.php?cat=37">Breakout B. Session #1</a> - Safety and Production Benefits of Preventative Maintenance Programs</li>
<li><a href="/store/products.php?cat=38">Breakout B. Session #2</a> - Recent Changes in the Anhydrous Ammonia Industry<br><br>
<strong>Prices go up after July 12th</strong><br><br></li></ul></div>

Andy
ECT Moderator

95440 Posts

Posted - 07/16/2018 :  10:01:57  
I just tried this in Froala

I used the return key for a paragraph and Shift+Return for the line break and this is the code froala correctly returned

<p>This is a short description</p>

<p>This is a paragraph
<br>This a shift</p>

Could it be you just added too many returns?

Andy

Please feel free to review / rate our software

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/16/2018 :  10:12:25  
That worked Andy! Thank you!
Now, line spacing within a paragraph is 1.5 line height, I need it to be 1.0 line height if possible. I'm thinking that would be in the css.

Andy
ECT Moderator

95440 Posts

Posted - 07/16/2018 :  10:20:32  
That would be something like this

div.proddescription p{line-height:1.5em} or whatever you want it to be

Andy

Please feel free to review / rate our software

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/16/2018 :  11:12:45  
Gave up - sorry....I disabled Froala, but thanks for the effort guys!

Andy
ECT Moderator

95440 Posts

Posted - 07/16/2018 :  11:27:10  
No need to give up - we're always here to help.

Andy

Please feel free to review / rate our software

dbdave
ECT Moderator

USA
10468 Posts

Posted - 07/16/2018 :  11:28:09  
It's a great editor and I do see this in your html <p><br></p>
so that confirms that when you just hit enter, you get <p> paragraph tags wrapped around the break.
But, as Andy mentions, holding shift while hitting the return key just gives you the break only.

Out of habit, I always hold shift when adding a line break, no matter what I'm doing.
I do this in word, when typing emails and everywhere.

For the 1 1/2 line spacing for paragraphs, you can easily overcome that permanently with Andy's tip. From there on, it should be smooth sailing.

Of course you could use the ck editor, but I have thousands of products that the html is a real mess from the ck editor. It renders, but it's a mess.

Edited by - dbdave on 07/16/2018 11:29:22

jviney
Advanced Member

USA
258 Posts

Pre-sales questions only
(More Details...)

Posted - 07/16/2018 :  11:55:49  
Sorry guys, pooped out today, I'll try again tomorrow!

1234
Ecommerce Template Expert

USA
974 Posts

Posted - 07/31/2018 :  16:25:15  
Just downloaded the Froala editor. Can't locate instructions for installation. Knowing me, I'll mess it up somehow. Are there instructions for installing or do I just upload the aspfroala folder to my root folder?
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000