I can get Coda to see the CSS php files, but when I click on the CSS button in Coda I get “This file does not contain any CSS Styles”.
Any idea on how to convince Coda that any *_css.php file *is* CSS?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 28, 2007 2:59am
Subscribe [5]#1 / Oct 28, 2007 2:59am
I can get Coda to see the CSS php files, but when I click on the CSS button in Coda I get “This file does not contain any CSS Styles”.
Any idea on how to convince Coda that any *_css.php file *is* CSS?
#2 / Oct 29, 2007 8:58am
Hey, there’s a post about that here
#3 / Oct 29, 2007 1:06pm
Hey, there’s a post about that here
Ya, I saw that thread, but all it says is that Coda *can* do it, not how to make it do it. I have posted a followup in that thread.
Thanks
#4 / Dec 21, 2007 10:27am
Okay, I am developing a site with a local setup. I am trying to get my Coda setup to Live Preview properly. Please excuse me if this question is overly rudimentary. I have only been a Mac-convert for 3 months, at most. I know this will be a no brainer to answer, so I am hoping that I can find a kind soul to assist.
I am running MAMP, with my EE install located at Users/Johny/Sites/. I have Global Template Preferences set to save my template files to /Users/Johny/Sites/system/templates. Everything is proceeding swimmingly when I update/save the individual templates within the EE Control Panel. I have executed the .htaccess suggestion, as written about here. I placed the file within the folder that was created to hold the template files i.e. /Users/Johny/Sites/eesys/templates/jwilton.
Okay, can someone assist me in setting up the proper paths in Coda? I quess this would mean:
Root URL:
Local URL:
Remote Root:
Local Root:
and anything else that would be necessary…
I had the previews working yesterday, but messed with something. Now I am getting nothing. I can see all of the template files in Coda’s finder to the left. When I select each, I can see all of my template files and the proper code for each in the Edit view. However, Preview shows the following as the URL “file:///Volumes/Hard%20Disk%20/Users/johny/Sites/system/templates/jwilton/about.php” and plain code in the Preview window.
I am trying to get everything set up so that I can work on my site/online portfolio over the holiday. As a state University employee, I, at least, get 12 days off. Woo hoo!!! I thank you so much and wish all a happy holiday season.
Cheers-J. Wilton Williams
#5 / Dec 22, 2007 11:52am
I have a similar setup to you this is how I have it, the only difference from yours is I have a folder for each of my sites inside my Sites folder.
Root URL: http://yoursite.com/
Local URL: http://yoursite.site (with mamp pro you can set aliases for different sites on your localhost)/
Remote Root: public_html (or whatever the path to your actual webservers install of EE is) /
Local Root: /Users/johnny/Sites/yoursitefolder
#6 / Dec 24, 2007 12:29pm
I just had a play around with the suggestions in that thread and came up with a solution that seems pretty complete. That do the trick?
#7 / Dec 25, 2007 4:05pm
The above suggestions nailed it and I am back in business. Cheers and thanks for the help.
Johny