Testing with Dreamweaver CS5 (not really working)
I have started using concrete5 and I love it!
Now I'm testing it with the new DW CS5. For easy editing of templates and themes.
Hoewer there is some problems with the template css files. Dreamweaver does not seeme to find them,
Or I get a message about, "main.css is not in local site"
The path to the file main.css and typography.css(default theme) is /concrete5/index.php/tools/css/themes/test/main.css
So Dreamweaver cant find it.
Is there a way I can change something in concrete to make the path to the css files so DW can find them?
Solved it by changing in the header.php file for the theme to
<link rel="stylesheet" media="screen" type="text/css" href="<?=$this->getThemePath()?>/main.css" />
<link rel="stylesheet" media="screen" type="text/css" href="<?=$this->getThemePath()?>/typography.css" />
So there is something about the
href="<?php echo $this->getStyleSheet('main.css')?>" />
that messes things up.
I've been trying to set up a test server also on CS5. I can see the live view but the related files are shown but it says in the info bar 'style.css' is not on the local disk. When I go 'get' it doesn't find it. I've tried your solution up above but it doesn't seem to make a difference....Any ideas - I would love to use this feature....
I wish I could help more. But the only thing I did was to change in the concrete->themes->default->elements->header.php file.
From what I see the other themes have the same structure. But I dont have a style.css file.
One file is still a problem. crossdomain.xml but it does not seeme to do anything.
Yes I can edit the css. It works in Live View.
At the moment I have only a local connection.
I'm using MAMP on a mac.
You can see the setup in the attachements.
I'have seen that error in som of my wordpress sites. In one case it was a wrong path of some files.
So check that all the paths are right.
I found out by going in Safaris Window->Acktivity. And I could see that some files where "not found" because they had the wrong path.
I could replicate that problem in another of the preinstalled themes.
In the header.php file for that theme. If I change
<?php echo $this->getStyleSheet('main.css')?>"
<?php echo $this->getStyleSheet('main.css')?>
And the same for typography.css it all works!
So I would check that out.