Hot answers tagged

3

If it's static content within a template and you don't want to give the client access to the template then you have a couple of options; Use a global variable or snippet, the client can edit this without touching the full template... though you won't have WYSIWYG editing. Create a channel entry and replace the content in the template with the tags for to ...


3

You could use Low Variables to manage the template content; that would abstract the maintenance to an interface and leave the template out of the process entirely. Your question is not very clear though; how is the content getting into the template? Presumably you have channels; can your client not edit the channel entries to update the site? Or do you ...


2

This was an odd one! It turns out it was a suhosin.get.max_value_length setting. Any value over 128 characters, the variable was dropped from $_GET. And our combo loader specifies the files to pull in to create the js file via $_GET: plugin=ee_codemirror&file=codemirror/codemirror,codemirror/closebrackets,codemirror/lint,codemirror/overlay,etc, ...


1

This is how I do it in ProForm and other add-ons... Basically, you first put the needed files into the themes/third_party directory under a new directory name that matches the name of your addon's main third_party folder. For instance, if your module is at this location: system/expressionengine/third_party/module_name/mcp.module_name.php You would place ...


1

You can try to install MX Universal Editor, but I can't guarantee anything about this. http://wiseupstudio.com/expressionengine/mx-universal-editor.html


1

The problem was that the URL to the themes folder was not https: http://www.example.com/themes/ vs. https://www.example.com/themes/ This caused the resources to load in mixed mode causing the issue.


1

Mate, you've got your work curt out! I just spend a half hour of my time trawling through the compressed JS to find a solution, it's not coming easy! The problem is the formatting seems to be applied via JS when your editing the field, this is courtisy of a plugin called Wysihat, but not just that, Wysihat has been modified to work with jQuery, then ...


1

Contact our DevDemon support. I believe this has been fixed with a bugfix.


1

All you need to do is "disable" the Editor Extension. That is the only thing the extension does!


1

I was having the same issue. I copied a new version of the "themes" folder from a fresh 2.9.2 install into my webroot. Then I put my third-party themes back in and all works great now. I think it's a set of styles or JS in the themes folder that you're missing. Good luck! Greg


1

Did you remember to update your themes? There is new JavaScript in 2.9.0 that handles the improved template editor. If you open your console on that page, I'm going to guess you have a number of JS errors (which also explains why your fields at the bottom are toggled open).


1

When working on larger projects, i usually write templates to files. That way you can more easily edit in a "real" editor (like sublime etc.) and store a copy in an archive or even version control with git or mercurial. After everything works, you only have to sync all templates via the template manager once (and optionally disable templates as files to ...


1

This utility is not available outside the location where you are seeing it.


1

Well, I am biased but I use my own Channel Data library for just about everything. I just re-wrote it entirely with full CRUD support, and will save you loads of time. Not familiar with Bjorn's solution, so I can't comment either way. I would advise against this. When you upgrade EE, you will have to constantly backup specific files and ensure they aren't ...


Only top voted, non community-wiki answers of a minimum length are eligible