Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS Files in Dreamweaver CS4


Go to End


20 Posts   14592 Views

Avatar
Ryoken

Community Member, 18 Posts

21 October 2009 at 8:02am

I followed the guide for Dreamweaver CS4 in the wiki ( http://doc.silverstripe.com/doku.php?id=tools:dreamweaver ) but even after closing Dreamweaver, it still will not treat *.ss files like html or anything.

Anyone got this to work ?

Avatar
dalesaurus

Community Member, 283 Posts

23 October 2009 at 4:34pm

Edited: 23/10/2009 4:34pm

I hate to be that guy, but the easiest solution is to not use Dreamweaver. YAY NETBEANS!

Sorry :)

Avatar
Mo

Community Member, 541 Posts

24 October 2009 at 10:38am

I haven't had a lot of luck with Dreamweaver, these days I use Aptana (http://aptana.com/) with the PHP plugin.

Works with SS files like a charm :).

Avatar
zenmonkey

Community Member, 545 Posts

25 October 2009 at 3:27am

I got it working fine on CS4 for mac, I don't think there was any trick. I still prefer using Coda though. Aptana's interface was too un-mac-like and it wasn't interacting with the clipboard properly. But it has a lot of great features.

Avatar
JoshuaLewis

Community Member, 81 Posts

25 October 2009 at 6:29pm

@dalesaurus : Plus one for NetBeans, I thought Aptana was a good IDE until I made the switch. I do miss the way that Aptana provides CSS previews though.

Have you found a way to make Netbeans manage highlighting and indentation for the template tags? Right now I have the program set to treat .ss files as html but find it annoying that the auto formatting doesn't indent the contents of <% control %> and <% if %> blocks.

@Ryoken : All I can offer are some basic trouble shooting questions.
- Have you double checked the files to make sure that the changes were made in the correct place and that they are still there?
- Do you have any Adobe processes running in the background? If so they might be causing the old setting to persist and you may need to do a full restart.

Avatar
kaloschke

Community Member, 8 Posts

26 October 2009 at 4:58am

Hi Mo,

I use Aptana too, but I don't know, how I can get a syntax-highlighting in a ss-file.

Kaloschke

Avatar
dalesaurus

Community Member, 283 Posts

26 October 2009 at 1:01pm

@JL, unfortunately not. I enabled the ss file ext as an HTML page which gets me by I hope to be insanely bored some day soon and write s set of SS specific templates. I don't know how hard writing a syntax highlighting package is but how hard can it be?

Fake Edit: http://wiki.netbeans.org/ParsingAPI Answer: ummm not trivial

Avatar
patjnr

Community Member, 102 Posts

27 October 2009 at 2:41am

hi

i use CS4 with SS and it works fine. here is how i did it.

C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\Extensions.txt .... add the extension SS under HTML Documents and PHP files save and close.

C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\MMDocumentTypes.xml
add SS extension as below

<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml,SS" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi,SS" file="Default.html" writebyteordermark="false">

make sure DW is closed and you have write permissions to these folders

hope this works for you guys

Go to Top