cstevensjr Posted January 19, 2014 Share Posted January 19, 2014 @ Joss, Thanks once again for being overly generous and providing another front-end framework profile. You, Ryan, Soma and many others have aided greatly in my understanding of front-end profiles, PHP in general and overall good practices for web development. 2 Link to comment Share on other sites More sharing options...
Joss Posted January 19, 2014 Author Share Posted January 19, 2014 @adrian It looks like when the scss is changed, something is not updating properly. I didn't overwrite any of the css, just changed the primary bar colour in the related scss file, so this may be an error somewhere in the existing markup. Link to comment Share on other sites More sharing options...
Joss Posted January 19, 2014 Author Share Posted January 19, 2014 Looking more closely, there is this box shadow which is actually used in foundation to create the menu icon, but seems to adding an unwanted additional effect on the word "menu" which is wrapped in a span (I just copied this bit of code) Removing the span from round Menu resolves the issue. I will update the download later. 1 Link to comment Share on other sites More sharing options...
Joss Posted January 19, 2014 Author Share Posted January 19, 2014 I have now put mine on github and it includes the little change to the menu https://github.com/jsanglier/foundwire/ 1 Link to comment Share on other sites More sharing options...
gebeer Posted January 20, 2014 Share Posted January 20, 2014 This looks great, Joss. Thanks for sharing. Nice implementation of the clearing lightbox. I also like the images. Why are those sheep annoying? And what a great name for the repo Link to comment Share on other sites More sharing options...
nfil Posted February 4, 2014 Share Posted February 4, 2014 Thanks Joss and gebeer, for the Zurb Foundation 5 site profiles. I was testing Joss's site profile on a multi-site config in a folder site-mymultisite and the tinymce doesn't work. It worked fine if installed in the server's root site folder, like you mentioned in the first post. Did you tested for multi sites? Thanks! Link to comment Share on other sites More sharing options...
Joss Posted February 4, 2014 Author Share Posted February 4, 2014 Sorry, haven't got a multi site set up to test with. On the field input tab where you are using TinyMCE, the spell check is referenced with a path (third party plugins) - does it work if you change that path? Link to comment Share on other sites More sharing options...
nfil Posted February 4, 2014 Share Posted February 4, 2014 (edited) Just tested now and moved the tinymce from the site-mymultisite to the site root's folder where I have the processwire installation and its working! On the field input tab where you are using TinyMCE, the spell check is referenced with a path (third party plugins) - does it work if you change that path? yes Joss! this path to the spellchecker also points to the root's server path. spellchecker : /site/tinymce/myplugins/spellchecker Thanks for the quick response. Edited February 4, 2014 by nfil Link to comment Share on other sites More sharing options...
gebeer Posted February 4, 2014 Share Posted February 4, 2014 @nfil, if Ryan's Foundation 4 profile is working for a multisite setup, mine should be, too. Because it is based on Ryan's. Only changes I made is adding Foundation 5 scss files and change the structure so that only a single css file is output. 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted February 4, 2014 Share Posted February 4, 2014 @Joss, I have enjoyed myself today working with your Foundation 5 profile. I have learned some new things and now I have been exposed to better ways of creating my websites. Thanks. The link to ProcessWire in the footer.inc file has a slight error. "htp://www.processwire.com" should be "http://www.processwire.com". 2 Link to comment Share on other sites More sharing options...
ryan Posted February 7, 2014 Share Posted February 7, 2014 Actually it should be http://processwire.com (without the www). 1 Link to comment Share on other sites More sharing options...
Beluga Posted February 11, 2014 Share Posted February 11, 2014 Foundation 5.1 introduced a pretty cool equal height tool: http://foundation.zurb.com/docs/components/equalizer.htm http://foundation.zurb.com/docs/changelog.html The elements with the data-equalizer-watch attribute should not have any margin, padding or border applied or it won't work. Link to comment Share on other sites More sharing options...
Joss Posted February 11, 2014 Author Share Posted February 11, 2014 I will have a look at that. I use a bit of jquery to test heights of elements within another elements (so divs within divs, for instance) and then set the heights of all divs to the largest one. Link to comment Share on other sites More sharing options...
Sergio Posted February 11, 2014 Share Posted February 11, 2014 Hi all, today I finally managed to get everything working together properly. Now here is my Foundation 5 dropin template: https://github.com/gebeer/pwfoundation5. It uses Foundation 5 SCSS files. There's a quite extensive readme file with instructions. Cheers gerhard gerhard, many thanks for this updated profile! I noticed two problems on your files. First, in the readme file, the link for the new Zurb gem (version 5) is: http://foundation.zurb.com/docs/sass.html If you just run `gem install zurb-foundation` , the gem v4 will be updated instead. It's also good to mention the new upgrade instructions: http://foundation.zurb.com/docs/upgrading.html The other problem is in config.php. ProcessWire's 2.4 has change this file a lot. I kept this new version and changed the lines 50 and 58 to make your profile work: /** * prependTemplateFile: PHP file in /site/templates/ that will be loaded before each page's template file * * Uncomment and edit to enable. * */ $config->prependTemplateFile = '_init.php'; /** * appendTemplateFile: PHP file in /site/templates/ that will be loaded after each page's template file * * Uncomment and edit to enable. * */ $config->appendTemplateFile = '_main.php'; Cheers! Link to comment Share on other sites More sharing options...
Joss Posted February 12, 2014 Author Share Posted February 12, 2014 Just updated my version to Foundation 5.1.1 See notes on original post Link to comment Share on other sites More sharing options...
gebeer Posted February 12, 2014 Share Posted February 12, 2014 @Sérgio, thanks a lot for your help! I was not aware of the update issue with Foundation and will add the link to the readme. For production sites, I guess most people are still using PW2.3. But for those who want to use 2.4 I would like to add an alternative config.php to my repo. Could you please open an issue on github and paste your complete working config.php for PW2.4 there? I will then include it as an alternative in the repo. That would be great. Cheers gerhard EDIT: config.php is updated to 2.4 version Link to comment Share on other sites More sharing options...
gebeer Posted February 16, 2014 Share Posted February 16, 2014 I spent the last 10 days or so fiddling around with some Joomla/Seblod installs that I have to maintain and totally missed out on the PW2.4 release. Now I quickly updated the config.php of my pwfoundation5 template on github to reflect all the changes. 1 Link to comment Share on other sites More sharing options...
Joss Posted February 16, 2014 Author Share Posted February 16, 2014 I am currently digging a hole in the garden for the last of my Seblod projects. 3 Link to comment Share on other sites More sharing options...
gebeer Posted February 16, 2014 Share Posted February 16, 2014 Hi Joss, I wish I could do that also. There's plenty of space in my garden but unfortunately the clients are not willing to pay for transition to PW :-( 1 Link to comment Share on other sites More sharing options...
Joss Posted February 16, 2014 Author Share Posted February 16, 2014 The last one was not very complicated, so I have just done it for them for nothing - I know that is not great business, but I did not want the liability of it lying around. 1 Link to comment Share on other sites More sharing options...
MatthewSchenker Posted February 16, 2014 Share Posted February 16, 2014 Greetings, I've transplanted most of my Seblod plants to new ProcessWire beds. It's amazing how the nutrients in the soil are depleted in those Seblod beds. Can't really grow anything there. Thanks, Matthew 3 Link to comment Share on other sites More sharing options...
Joss Posted February 16, 2014 Author Share Posted February 16, 2014 hahaha Strangely, I have just been ordering some well rotted manure for my allotment - but I should probably find some sort of natural element to keep Seblod/Joomla weeds under control. Perhaps some ProcessWeed Killer? 1 Link to comment Share on other sites More sharing options...
pwired Posted February 16, 2014 Share Posted February 16, 2014 http://foundation5.stonywebsites.co.uk/ Very nice work Joss. Link to comment Share on other sites More sharing options...
Joss Posted February 16, 2014 Author Share Posted February 16, 2014 Ta! The actual profile download is a little more up to date than the site - for instance, the menu bar is "out of the box" foundation so it really is starting as close to foundation standard as possible. 1 Link to comment Share on other sites More sharing options...
OllieMackJames Posted February 18, 2014 Share Posted February 18, 2014 Thanks lots Joss! Installed on a site and playing around with it, getting a good feel for what you have done, very nice, so thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now