-
Notifications
You must be signed in to change notification settings - Fork 6
main.gsp example? #2
Comments
Thats more of a question for the mailing list. Nevertheless your main.gsp has just a few flaws, which should not stop it from working thou. I tried your main.gsp with resources plugin 1.1.6 and it worked fine for me. 2 things you should fix:
you main.gsp could look similar to this:
the result in your generated html should have in the head section something similar to:
Where foun is the context-name of my app. Hope that helps, |
Hello Kosta, First, thank you for getting back to me so quickly. I really appreciate it. I am sorry I wasn't more clear, I had the html tags and IE tags in my main.gsp. I cut them out from my insert for brevity. Also, I got the jQuery, head.js and head.css files rendering so that is good. I tried rendering the content from "https://github.com/zurb/foundation/blob/master/index.html" to validate I had everything setup correctly. In my attempt, I only included the content in the body tag minus the Javascript references. I noticed only some of the content renders correctly (buttons aren't completely styled and headings are not styled) and the tabs don't work. I have included my content below. If you would me to forward this to the mailing list, just let me know.
|
Hi Chris, thanks for making this clear. I will look into it. I was very busy lately so contrary to my other plugins I had almost no time to give the plugin a real test-app spin. I'll look into the problem and certainly fix it. Thnx for letting me know, |
Kosta, I completely understand. I just appreciate your efforts. If I can assist in anyway, please let m know. Also, I wanted to mention I am running Grails 2.0. Have a great day! Chris |
Thnx Chris, I checked by using this page http://foundation.zurb.com/docs/index.php so far I found 3 things:
Have a nice day too ... I guess I'll get this fixed tomorrow ... no time left today :-/ |
Hi Chris, took me a little longer till I could find some time to get a hand on it. runtime ":foundation:2.1.4.3" What I didn't do is to include the presentations.css http://foundation.zurb.com/docs/presentation.css in the plugin. Because its not included in the downloadable distribution either. So you will need to include it yourself if you need it. If you think I should include it in the plugin, please let me know (hopefully this would not be a licence problem, because i could not spot the license for that css file) Please let me know if the new version of the plugin fixes your problem as I tested it only with the content of Docs index page http://foundation.zurb.com/docs/index.php Cheers, |
Hello Kosta, I am sorry its taken me so long to respond. I had a child in the hospital. He's better now but of course I have been focused on that. I will take a look once things slow down a bit. I appreciate all your hard work on this plugn. Cheers, Chris |
Hi Chris, I completely understand. I hope your beloved will be well soon. Best wishes for your family, Kosta |
Hello Konstantinos,
I really like the foundation framework by Zurb and am super excited about using it. I was just wondering if you had an example of a 'main.gsp'. To illustrate how to pull in all the resources. I have it partly working but can not seem to get the JS files to import in the body section of the gsp. I am sure it something I am missing something in the resource plugin documentation. Can you please advise?
Here is what I have in my main.gsp:
The text was updated successfully, but these errors were encountered: