-
Posts
2,862 -
Joined
-
Last visited
-
Days Won
47
Everything posted by Joss
-
Recommend a Code editor with FTP, for working on template files
Joss replied to Crssp's topic in Getting Started
With Aptana, I have always tended to create a project, set up the connection and then sync to download all the files. Then set it so when you save it syncs automatically. That way you keep a local copy which is always a nice thing to have. There is also a plugin for managing the database, though I only used that once ages ago. One trick that I never got quite right is with using Workspaces. A big problem with Aptana is the background indexing and if you have too many active projects in your workspace, then the system can get really laggy. Apparently, using workspaces for small collections of related projects helps since you are only accessing what you need. Making currently unneeded projects inactive is also worth while -
Recommend a Code editor with FTP, for working on template files
Joss replied to Crssp's topic in Getting Started
I think I have used WInSCP since it came out, more or less. I do like Aptana from the point of view that it has everything ... very clever syncing, local and remote views at the same time (if you want) and loads of other stuff. It is just soooo slow at times, complete with keyboard lag! At the moment I am having an interesting relationsship with Sublime, but I might try netbeans again - I had forgotten about that, to be honest. Always ran a bit smoother than Eclipse. -
Saw this - very cute http://tinymce.swis.nl/demo
-
Yep, the A tag, normally - at least for fancybox. Yeah, I know alt needs to be added - it was more what you wanted in it. The trouble is there could be a lot of variations here - don't want to make the attribute section too long. So perhaps: Text box for image alt + plus check box if you want the description to be used instead of the text box. (checking it grays out the text box and makes it read only?) Text box for image class Text box for associated <a> title tag (only available if you have made the image link to larger version), + check box if you want the description to be used instead of the text box. (checking it grays out the text box and makes it read only?) Text box for <a> class (only available if you have made the image link to larger version) Er, anything else? (Brain is mush this morning)
-
ha - glad it cheered you up. That is daughter number two on one of her cheerier days. I am hoping they might be a little inspiring for one or two local companies too and that they give me some work!
-
Updated the Bootwire demo profile and the original post.
-
Oh, I dont think these should be replacements - just alternatives. As I said, tinyMCE (and similar) are great where you need complicated. But a lot of the time all you want is very simple, lightweight and fast. To be able to choose alternatives to suit the purpose is useful. There is another related issue here which is exclusive to the magazine or news website - the authors and the editors may want different editors. For instance, the author possibly should only have a textarea (or maybe something basic that gives a slightly nice working environment.) Where as the editor might want a full singing and dancing affair where they can format the article in detail. This is peculiar to the textarea field of course, but it might be interesting to be able to set which editor for various user groups.....
-
Redactor is nice, but I would go even simpler http://xing.github.com/wysihtml5/ (doesn't need jquery) And there is a Bootsrap version of the same editor: http://jhollingworth.github.com/bootstrap-wysihtml5/ It seems pretty customiseable and straight forward. There is also http://jqueryte.com/ But I have never used it. Obviously Aloha - but it is really aimed at front end than back end. There is also http://jhtmlarea.codeplex.com/ Not updated since last august and really needs better buttons! I think the xing one is the sort of thing that would be most useful, probably because it can be built to our own specs (as the bootstrap version demonstrates) - the basic version on the github site does not even have graphic buttons! Possibly just fork it and create a PW version.
-
Problems displaying resized images within an images repeater
Joss replied to netzartist's topic in Getting Started
Just to stir the pot.... This also works with the Thumbnail (crop-image) module/field type. So you might set two thumbnail sizes (under Input in the field settings): thumbnail,160,100 largethumb,800,600 And then, within your loop you would do something like: <a class="fancybox" rel="group" href="<?php echo $news_item->news_image->getThumb('largethumb'); ?>"> <img src="<?php echo $news_item->news_image->getThumb('thumbnail'); ?>" /> </a> Where news_image is the name of your thumbnail image field and fancybox is the class that fires fancybox if are using that (or for what ever lightbox type system you are using) This is slightly overkill for your use, but it is a useful way of doing it and allows you to have multiple sizes to play around with if you want to go completely mad. There are cases for using Repeaters for this sort of gallery, however. For instance if you want to have overlays on the images with full HTML rather than just the description box, or you want to add lots of other information to the image display. Joss -
Okay, just to add a little more On the existing image field, I was wondering about being able to do two things: 1. adding a class to either the image or the <a> tag if you are linking. This would enable me to type "fancybox" to get that to trigger. Although you can do this on TinyMCE, it is fiddly - quite often it will simply add the class to the P tag and you end up having to edit the source. 2. Saying what attribute you want the "description" to be added to - alt, title or none (default). Joss
-
Just repeating myself from another thread (er, it may have been this one earlier): I think for many fields where you want some basic typography, the jquery/html5 basic editors that are popping up everywhere are perfect. They look nice, are very clean and are fast. For most of the time you really only want B/I/U, left, centre, right, justified, header1-4 and optional links and image insert. Oh, and automatic paste as plain text. Often you probably only need bold and italic! That does not mean there is no place for TinyMCE or equivalent, just not most of the time. Something I have done before is to simply create a range of custom styles and the only box in the editor is just the styles dropdown. But it does seem overkill to load the entire TinyMCE script just for a dropdown!
-
Yeah, I just got caught out on my Bootwire admin theme upgrading the Bootstrap CSS to 2.3 - actually the only thing that broke was the damned modal buttons again! But I have rolled back to 2.2.2
-
Yeeee Haw!!!! By George I think you've done it! Thanks Soma
-
Just for interest, since JQuery 1.9.1 is out - is PW 2.3 wire ready for that?
-
Oh rats, not quite there. If I create a child page to a top level page and then make it unpublished and/or hidden, then its parent gets a UL and the classes, even though there are no <li> generated.
-
Okay, solved it! I added && $child !== $root as a condition to line 17 So the final final script is (I hope): :: soma: removed script to keep thread clean :: :: see final script here https://gist.github.com/somatonic/4743011 ::
-
Hi Soma Just noticed that the Home link is receiving the $atoggle variable, so it cant link. Not sure how I missed that before Joss
-
Hi Reolof, was this just a standard install or were you installing with a profile?
-
New version uploaded! Solved some of the major headaches and changed the look and feel a little. PLUS - Updated to Bootstrap 2.3 https://github.com/jsanglier/Bootwire-Admin EDIT Had to roll back the JS of Bootstrap as there seemed to be something odd going on with (possibly) the JQuery installed in PW. It might need 1.9+ Of course, the only affect was the Modal Save and Cancel buttons that have plagued me previously - typical!
-
HI Roelof are any other directories empty? In other words, has this installed properly? I wonder if your installation is missing bits....
-
Sometimes just commenting out Options +FollowSymLinks is all you need. Though, when I have had that problem, I have needed to comment it out of htaccess to install in the first place.
-
Yep, got one of those.
-
Is this on an already installed, previously functioning installation?
-
Interesting.... The gitignore file was automatically created by the windows github prog, so I didn't actually add anything to it. I have removed gitignore and gitattributes for the moment and will try again later Joss
-
I am having a problem with one of my own profiles when installed using the Github download. It is the same trouble others have had of not being able to login to the admin once installed "appear to have been forged" Checking permissions on folders things look ok... However, if I install using the local github folder version, it installs perfectly fine. This is being installed on a local server running Virtualmin - normal 644/755 permissions and so on. Is something happening with GitHub, or perhaps the various gitattributes/gitignore files or something? I noticed a thread where someone was having a similar issue with Soma's blank profile. I really don't know much about Github. Joss