Hey guys, I am trying build a small model file that includes a master.css, and replaces css variables.
for instance, $site_font_face = font-family: georgia; So in web2py, i wanted to create a model to read in master.css, iterate through the file for $_vars. My questions are, How to i import or include a css file for reading from within a model? I'm new to devlopment so i don't know the syntax, but in psuedo code: mastercss = import('masterstyle.css') or something? Secondly, how i do include models in another model? I am trying to achieve something similar to this; http://net.tutsplus.com/tutorials/html-css-techniques/how-to-add-variables-to-your-css-files/ thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---