homepage Welcome to WebmasterWorld Guest from 54.227.25.58
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver/editable regions & SSI's
dreamweaver editable regions server side includes
littlemissbuilder




msg:940180
 2:32 pm on Sep 18, 2002 (gmt 0)

I have created a template in Dreamwever Ultradev. It has editable regions, one of which includes a small ssi (in txt format). However when I go "new page from template" this editable region turns out to be non-editable. It only seems to occur when I have an ssi within the region.

Has anyone else had this problem and worked around it?

 

jatar_k




msg:940181
 8:26 am on Sep 20, 2002 (gmt 0)

Welcome to WebmasterWorld [webmasterworld.com] littlemissbuilder

I know some DW folk who have had problems using ssi's in templates but don't know how they got around it. Maybe this little bump will get someone's attention.

knighty




msg:940182
 8:30 am on Sep 20, 2002 (gmt 0)

If you have an SSI in a region then of course you wont be able to edit it.

If you want to do that you will have to open the file you are trying to include seperatley.

If the SSI is in a region that you also want to be able to type stuff dont put the SSI in an editavle region.

littlemissbuilder




msg:940183
 8:36 am on Sep 20, 2002 (gmt 0)

I dont want to edit the content of the ssi, I just want to be able to use the editable region to change which ssi I use (I have 5 second-tier toolbars in 5 separate ssi's)

BlobFisk




msg:940184
 11:56 am on Sep 20, 2002 (gmt 0)

Could this be something to do with the fact that the include call ( <!--#include file="your.inc"--> ) is specific to .asp files, and that your .dwt file may only see this as a comment?

I'm only guessing here, though...

littlemissbuilder




msg:940185
 2:34 pm on Sep 20, 2002 (gmt 0)

Yeh maybe - hadn't thought of this.

But when I create a new page from this template, and save it as an .shtml document, the region is still uneditable?

gypsychild




msg:940186
 3:20 pm on Sep 20, 2002 (gmt 0)

littlemissbuilder, you should be able to edit it. It might be worth checking your settings for ssi's under preferences. If the option for translating ssi's is set to "in all files", try changing this to "in no files" and then opening up your file - "in all files" seems to prevent editing.

littlemissbuilder




msg:940187
 3:45 pm on Sep 20, 2002 (gmt 0)

gypsychild - thanks - I'll try this. Whereabouts in "prefernces" can I find this option?

gypsychild




msg:940188
 3:56 pm on Sep 20, 2002 (gmt 0)

Select the category "translation" and then "server-side includes" - you can then see your current setting.

gypsychild




msg:940189
 6:22 pm on Sep 20, 2002 (gmt 0)

littlemissbuilder, I should perhaps mention I have assumed from your post you are using UltraDev 1.

littlemissbuilder




msg:940190
 8:44 am on Sep 23, 2002 (gmt 0)

Damn! Am using UltraDev 4 :(
Dont spose you know how to do this in this version?!?

gypsychild




msg:940191
 9:56 am on Sep 23, 2002 (gmt 0)

Translation of ssi's can't be disabled in UltraDev 4 - although there are a couple of more complicated ways around it. I wouldn't bother though - having thought about this, if turning off translation allows editing, then the most likely cause of your problem is that you have opening and closing tags both in your template and your include file. Have a look at this and if you have repeated the tags, try removing them from the ssi file.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved