517 Posts in 247 Topics by 260 members
|Go to End|
20 November 2010 at 3:31am
Just started using SS the day before yesterday, really like it, so thanks everyone!
Am using the GreenFest template, which I have had to modify quite heavily for my liking and I have added the blog Extension. This works great in the admin section, but if I want to edit blog posts in the front end (non admin section) then there are some issues.
First, the width of the editor is not dictated by it's container if the width of any of the TinyMCE editor's toolbars are wider than its container's width. I got around this by removing the table editing buttons and putting them on a new line as described here:
TinyMCE's width will never be smaller than the width of it's widest toolbar on any given page despite its container's width. Not so great, so you have to fiddle around with moving the various buttons till it fits for your particular circumstance / page / location on page. TinyMCE should do some work on this methinks.
Great, so now my editor fits exactly the way it should on the non-admin blog entry edit page, but, I then run into Artyom's issue as described in his post in the above post, I cannot browse or upload files to the assets folder using the not admin blog entry edit page using the standard image button, only direct links are possible. Nasty and unfriendly!
Will not pay forty odd dollars per site to TinyMCE for this basic functionality, especially if I am not sure it will work in SS anyway, so went looking for an alternative. There appear to be two, either change the editor to something else which has the functionality included, or find / write a module or plugin that can do the file upload / view thing. The first option appears overly complicated, but I have now found this:
Which looks like the biz, open source, and free! But, I have no clue on how to implement it given my knowledge of SS so far.
Anyone care to give me a kickstart on that, take it further themselves, or suggest an alternative approach?
For kickstart I would need to know at the least how to implement JQuery on all my pages immediately (as I will probably want to use it quite extensively anyway, aside from this issue), and how to implement the JQuery code given the solution.
Thoughts, comments, suggestions, criticisms? All welcome.
What I like most about the SS design is that the template side has been 'un-mixed' with the code side (generally), unlike Drupal for instance, which makes life a hell of a lot easier to put a normal designer on the job of presentation and do the code in a separate space. I expect this has to do with Sapphire mostly, but have not had enough time to play yet.
All the best,
17 December 2010 at 9:03am
Better media handling (incl. a file browser) will be one of the goals for 3.0. The TinyMCE plugins look good (if a bit complex by default), maybe you can have a crack at implementing them with our current TreeDropdownField?
We've built a lot of custom code (and assumptions) around our custom media insertion panel, so this won't be a simple drop-in solution - I think its worth trying though, just to get an idea how much work would be involved to get this into core.
17 December 2010 at 11:40am
I admit I didn't read your whole post, but the "Image Uploader" is the awesome http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/ - until this came out it was my biggest frustration with silverstripe.
|Go to Top|