-
Posts
1,554 -
Joined
-
Last visited
-
Days Won
48
Everything posted by gebeer
-
@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.
-
I just added this to the valid attributes on a 2.3 stable install and it is saving the title attribute just fine + it is showing up in the source.
-
Great, thank you!
-
Thank you, Sinmok, for this module. I'm playing with it in my new Foundation 5 Profile and it seems to work nicely with text. Haven't tried with images yet. I might be using this on a live site for a client. Haven't looked at the module code yet. Does it check whether page is editable before loading required code/assets? I am not sure, so I prepended the code in my template with "if($page->editable())", so it looks like if($page->editable()) $inline = $modules->get("InlineEditor"); if($page->editable()) echo $inline->setupField("headline|title"); if($page->editable()) echo $inline->scripts(); Is this necessary at all? Thanks gerhard
-
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
-
Thanks for clarifying this, kogondo. I went to https://github.com/r...ProcessWire.git, chose the dev branch and copied the clone URL. Ending up cloning the stable version. You can see, I'm not that familiar with git yet. I just read up on how to checkout a branch and now can see font-awesome stuff in my local branch.
-
@kogondo Thanks, I didn't know that. I cloned from https://github.com/ryancramerdesign/ProcessWire.git dev branch and there's no font-awesome in there. So this must be 2.4 then?
-
I also released my Foundation 5 SCSS template today. You can check it out at Joss's Foundation 5 template thread. Have a great day!
-
@Joss now I had the time checking out your template. Nice work! Always good to see how other people approach things. I see you are using font-awesome. Thats a good inspiration. Wanted to check it out for some time and haven't done it yet. As far as I can see, there is no central scss file that handles all the @imports. So you are using the foundation scss stuff to compile foundation.css. And for the site.css there's no corresponding scss. If you take a look at my template, I combined everything, so that there is only one resulting style.css that includes everything, foundation and site specific styles. This way you can define your own scss modules and add more logic to the scss structure. Cheers gerhard
-
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. The template is based on Ryans FoundationSiteProfile. My approach takes advantage of the SASS/SCSS/Compass technology. So the output of the final CSS is highly customizable and only one file (style.css) is put out. You have full control over which modules of the Foundation framework you want to include in your project. This results in smaller CSS files that can be minified upon compilation with Compass. You can use the template as is. But if you want to modify the CSS, you need to have additional software (Ruby/Compass/Zurb Foundation gem) installed on your machine. In the template's Readme.md you will find instructions on how to do this (for Mac and Linux machines - Windows: sorry I don't know). If you are familiar working with SASS/Compass you will find your ways around easily. I have setup a structure that allows for updating the Foundation framework independently and that separates the project specific css from the Foundation css. This is a work in progress and I'm planning on using it for the relaunch of my own website. If you find any bugs, please let me know here or on the github bug tracker. I will try to fix them. Everyone is welcome to contribute or ask questions. Cheers gerhard
-
just a little followup: I'm still working on my template. Having trouble with correct configuration of compass / foundation scss to output the desired file in the desired location. Should be straight forward, I thought. But foundation documentation is a bit scarce on that topic. So I'm going through lots of trial and error with no satisfactory result so far. So it will take me take some more time until I can release something. Also hanging in for Joss's template, sounds great
-
Just to be on the safe side I would need to know whether AJAX page load can lead to problems with multilingual sites and a language switcher. Haven't done a lot of AJAX so far and just wanted to clarify if this is possible on a multilingual setup without too much of a hassle. Thank you gerhard
-
@Craig thank you, I will take a look and see how I can utilize this for my project. Cheers gerhard
-
Hi all, great to see that so many of you are interested in an update to Foundation 5. So am I. I'm currently working on a Foundation 5 profile based on Ryans great work. I use the scss version of foundation as to have more control over the compiled css (compiling with compass). Also I'm including scss replacements for the main.css that get compiled together with the foundation stuff. So at the end I will have only one css file, minified. Not sure yet how to handle the foundation JS. At the moment I'm using the minified version with all modules included. But it would be nicer to generate my own js file that includes only the project-relevant modules. As there is no JS minifier included in Foundation framework, I'm looking for other ways to achieve this. If anybody has got an idea, please post here. Will take me a few more days until I release my work because tomorrow I'm off to the beach for a couple of days with no www access. But plenty of sun and Sangsom
-
@Soma I had already checked for the right Apache/PHP user and it was the owner of the cache file. So something else must have gone wrong.
-
@teppo thanks a ton. Strange is that I tried the root for favicon and it wouldn't get picked up by neither FF nor Chrome. I had purged my cache to ensure that it wasn't a cache issue. Not sure, maybe I should've closed and reopened the browser,too. I will give it another try. There's an interesting read "rel="shortcut icon" considered harmful" about link rel="shortcut icon" vs. rel="icon". It discusses html5 validation and browser compatibility issues. That is why I would like to go without the link tag in the head. Cheers gerhard
-
I solved the probem by deleting ModuleManager.cache. After that ModulesManager started just fine and was rebuilding its cache file.
-
Hello and thanks for the nice ModulesManager module. I'm running into a problem after deploying the site on the live server. When I open ModulesManager I get this error: TemplateFile: cannot read cache file /is/htdocs/.../site/assets/cache/ModuleManager.cache The file is there and its permissions are set to 640 so it should be readable by PW. Any idea what might be the cause? Thank you gerhard
-
Hello, this may be a dumb question, but I'm fairly new to PW and just have finished my first project. Now I'm asking myself: Where in the PW directory structure would I put the robots.txt file? My first guess would be /site/templates. Second is root. I'm asking this because I had problems with the favicon.ico. I still don't know where to put it so it gets picked up automatically by browsers. Itried various locations and then ended up putting it in templates dir and have a <link rel=icon" href="path/to/favicon.ico"> in the head section of my template. But I'd rather go without that link tag. Any enlightenment on the correct locations for robots.txt and favicon.ico would be great. Thanks gerhard
-
@teppo thanks again. Yes, this solves my problem.
- 2 replies
-
- datepicker
- localization
-
(and 2 more)
Tagged with:
-
Possibility to translate timepicker addon on datepicker
gebeer replied to apeisa's topic in Multi-Language Support
@teppo thank you. I knew that it would be quite easy. -
Hello, I have a frontend contact form with datepicker and need to have the german localization for it. I read about localization of datepicker on the jQuery Ui API page. How can I implement this in PW? I'm using FormBuilder module My form is loading these assets: InputfieldDatetime.js JqueryCore.js JqueryUI.js I rolled a custom UI theme and amended the js to have German language for datepicker. Now when I load that js file on top of the above mentioned, nothing changes. So I guess, the standard PW datepicker options do net get overridden by my custom theme js. In this thread apeisa says How would I go about it? Thank you gerhard PS: and sorry for doubleposting. I thought I explain my situation a bit more in this new thread.
- 2 replies
-
- datepicker
- localization
-
(and 2 more)
Tagged with:
-
Possibility to translate timepicker addon on datepicker
gebeer replied to apeisa's topic in Multi-Language Support
Sounds easy. But for a PW newb like me, how would I go about changing that URL? Talking about datepicker in frontend form built with fabulous FormBuilder module. Cheers gerhard -
Frontend: Did you check with Firebug that all google maps JS gets loaded? Backend Sorry, no idea. Maybe someone else can jump in.
-
@ dragan this is a localhost issue. Try it on a life server and it should work. As far as I'm aware of, Gmaps don't work from localhosts. Since Gmaps API v3 there is no need for a key.