While I'm pretty sure the entire file can be used, I'm confident that updating that one line will fix the problem you first posted about.
While I'm pretty sure the entire file can be used, I'm confident that updating that one line will fix the problem you first posted about.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi there
I have this in use on a clients site and I'd like to add some styles to the Styles dropdown so that they can stop adding in limitless html by pressing buttons repeatedly ;-)
I've had a look at the CKEditor website, specifically here http://docs.ckeditor.com/#!/guide/dev_styles and done lots and lots of Googling, but I'm still unsure how to achieve this. I believe I may need to change styles.js in the editors/ckeditor folder, but that doesn't seem to marry up to what I'm seeing in the current working Editor. There, there are styles such as Blue Title and Red Title, which I do not see defined in the styles.js.
I did add my own bit of code to that file in the form ofand an option Red Text did appear in the drop down, but of course the actual presence of it isn't going to turn any text read - somewhere I need to define the relative CSS rules. Please could someone point me in the right direction?Code:{ name: 'Red Text', element: 'span' },
Thanks in advance...
Thanks Diva Vocals for starting this thread. I too have had problems recently that I can't solve and it's been very difficult finding info.
The most recent problem developed on a dual language site when we upgraded to 1.5.1 and moved to a new server. No ckeditor boxes show up except in ezpages where I have the multi-language ezpages installed and even there only one box is showing.
I am using the most recent version of ckeditor and the database has been converted to UTF-8. Admin is not secure. I am clueless. As this is a javascript editor, server settings should not be a problem, I assume. But I think all was okay after the upgrade but have no proof now.
The plain text does show the html.
Well I seem to have found the answer, I was in the right place but needed to have the following code:
thus setting a class which can then be defined in my usual stylesheet. It's also possible to set the styles within that code. However, I'm still unsure how to get the styling to show in the editor itself, rather than just on the rendered site.Code:{ name: 'Red Text', element: 'span', attributes: { 'class': 'redtext' } },
Any ideas would be welcome.
Thanks
For the first time in many years I am having problems with CKEDitor on one of my live sites.
The strangest thing is that CKEditor is working fine on the identical local clone of this site but on the live site it gives me a blank space where it should show up, be it on a product.php page or a define page or an ezpage. Nothing, silch, nada. Checking the source of the respective page actually shows the html text - but not on the page itself.
Running latest v 4.1.3 of CKEditor, both live and local.
Background:
ZC 1.5.1 just upgraded from 1.3.9h
same plugins installed live and local
PHP 5.4.23 on live site and PHP 5.4.9 on local install
This is what I did so far to find the culprit:
- uninstalled CKEditor completely and reinstalled, both live and local - to no avail
- downloaded entire live site file system to a separate temp folder and did a full file comparison of both - no difference (other than 2 configure.php files ofc)
- checked log files: nada!
Loaded the live site in the latest Firefox and Chromium (Linux Ubuntu 13.10) - same result. Chromium is set to clear all history, cookies etc upon exit so there can't be any leftover stuff which may falsify the output.
At this point in time I am thinking that it may have something to do with the server side PHP extensions (???) and have decided to go and ask for opinions here.
Any ideas please?
Thanks / Frank
and I also am having odd problems as well on php 5.4. As soon as i can I'm going to switch that cart to my server with 5.3 to see if it makes a difference.
In this case, some longer category descriptions and ezpages show fine on the site but do not show in the editor in admin.
My original post in this thread I've fixed to some extent - but I've done so many things to that site and have not gotten everything working correctly so I won't post what I did yet.
Reverted back to PHP 5.4.23, checked that all ckeditor folders had permissions 755 and files 644.
Logged out, rebooted, logged in again and still the same issue.
I am absolutely stumped!
Correction also to my earlier post: CKEditor version is 4.3.1 and not 4.1.3