Testing with Dreamweaver CS5 (not really working)

Permalink
Hi
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
/concrete5/index.php/tools/css/themes/test/typography.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?

Regards
Olle

 
olleka replied on at Permalink Reply
Hi
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.

Regards
Olle
chassa2556 replied on at Permalink Reply
chassa2556
Hi
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....
olleka replied on at Permalink Reply
Hi
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.

Regards
olle
chassa2556 replied on at Permalink Reply
chassa2556
Hi Alleka - I'm frustratingly close its pulling in the files but when I select the relevant CSS it says that its not on the local disk and then won't get it for me. So it seems to be some kind of connection issue. So you can edit your css on the testing server from the related files panel along the top of the page?
olleka replied on at Permalink Reply 4 Attachments
Hi
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.

Regards
Olle
olleka replied on at Permalink Reply
One more thing.
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')?>"
to
<?php echo $this->getStyleSheet('main.css')?>
<?=$this->getThemePath()?>/main.css

And the same for typography.css it all works!

So I would check that out.

Regards
Olle
chassa2556 replied on at Permalink Reply
chassa2556
Thanks Olleka for doing this I'll give it another go and check the links.