HighDots Forums  

server side includes

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss server side includes in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
cgonsa
 
Posts: n/a

Default server side includes - 07-06-2004 , 11:27 PM






does anyone know why I cannot edit the ssi file in design view using
dreamweaver mx . the only editable view allowed is code view (html). I did
not have this problem with the same website in dreamweaver 4. Any assistance is
greatly appreciated.


Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: server side includes - 07-06-2004 , 11:43 PM






what is the file extension of the included file?

Changing and adding file extensions recognized by Dreamweaver MX and 2004

http://www.macromedia.com/support/dreamweaver/ts/documents/add_ext_mx.htm

Make sure you are editing in the Configuration folder for You as a User.


Quote:
does anyone know why I cannot edit the ssi file in design view using
dreamweaver mx . the only editable view allowed is code view (html). I did
not have this problem with the same website in dreamweaver 4. Any assistance
is
greatly appreciated.



Reply With Quote
  #3  
Old   
cgonsa
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 12:14 AM



..ssi is the file extension

how do I do this-
"Make sure you are editing in the Configuration folder for You as a User."

thank you!

Reply With Quote
  #4  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 12:47 AM



This TechNote explains it:

http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm

HTH,
Randy

Quote:
how do I do this-
"Make sure you are editing in the Configuration folder for You as a User."


Reply With Quote
  #5  
Old   
cgonsa
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 12:49 AM



as soon as I save my file to .ssi my ability to edit in design view dissappears. Help! i did not have this problem in dw 4

Reply With Quote
  #6  
Old   
cgonsa
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 01:46 AM



I am having a problem with dwmx2004. after I delete all the tags (html,header,
body ) from code view and save my file as an ssi file the design view
immediately dissappears. I am no longer able to edit my page in design view.
I need to be able to edit in design view. With dw4 this did not happen. is
anyone else having this problem with dwmx2004 7.0.1. How do I preserve design
view so I may edit my server side include file?


Reply With Quote
  #7  
Old   
Alan
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 08:08 AM



repeating:

Add the .ssi file extension as one recoginized by Dreamweaver.

Changing and adding file extensions recognized by Dreamweaver MX and 2004

http://www.macromedia.com/support/dreamweaver/ts/documents/add_ext_mx.htm

Make sure you are editing in the Configuration folder for You as a User.

Easier though- there is no need to name the files being included as .ssi
You can name them anything. So use .html or .php or whatever.
{if there is any serverside code in them it's a very good idea to give them
the proper file extension so that if someone finds them and loads them
directly, the server parses them and hides any serverside stuff}

Quote:
I am having a problem with dwmx2004. after I delete all the tags
(html,header,
body ) from code view and save my file as an ssi file the design view
immediately dissappears. I am no longer able to edit my page in design view.
I need to be able to edit in design view. With dw4 this did not happen. is
anyone else having this problem with dwmx2004 7.0.1. How do I preserve
design
view so I may edit my server side include file?



Reply With Quote
  #8  
Old   
cgonsa
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 09:30 AM



here is what the file configuration/extensions.txt looks like and the ssi
extentions is already there isn't it?????
Wouldn't it be okay to rename the ssi file to .htm, make changes in preview
and then rename it back to .ssi? Its too bad that this has to be done. I
designed the site in dw4 and did not have this problem. my client has dwmx2004
and could not figure out how to edit her ssi files in code view (can't say I
blame her).


HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,AS,AS C,ASR,XML,XSL,XSD,DTD,XSLT,RSS
,RDF,LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS, CFM,CFML,CFC,TLD,TXT,PHP,PHP3,
PHP4,PHP5,TPL,LASSO,JSP,JSF,VB,VBS,VTM,VTML,INC,JA VA,EDML,WML:All Documents
HTM,HTML,HTA,HTC,XHTML:HTML Documents
SHTM,SHTML,STM,SSI,INC:Server-Side Includes
JS:JavaScript Documents
XML,DTD,XSD,XSL,XSLT,RSS,RDF:XML Files
LBI:Library Files
DWT:Template Files
CSS:Style Sheets
ASP,ASA:Active Server Pages
ASPX,ASCX,ASMX,CS,VB,CONFIG:Active Server Plus Pages
CFM,CFML,CFC:ColdFusion Templates
AS:ActionScript Files
ASC:ActionScript Communication Files
ASR:ActionScript Remote Files
TXT:Text Files
PHP,PHP3,PHP4,PHP5,TPL:PHP Files
LASSO:Lasso Files
JSP,JST:Java Server Pages
JSF:Fireworks Script
TLD:Tag Library Descriptor Files
JAVA:Java Files
WML:WML Files
EDML:EDML Files
VBS:VBScript Files
VTM,VTML:VTML Files



Reply With Quote
  #9  
Old   
Alan
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 09:42 AM



Hello. You've posted about the same question 4 times in this thread.
Could you PLEASE make some acknowledgement that you SEE and READ the
replies?

pls respond YES that you are seeing these repeated answers??

Have you read the Technote?

have you done ALL the steps in it?

MMDocumentTypes.xml ??

It works.

Complete the instructions, and make SURE you are in the Configuration folder
for YOU as a USER, using the chart and 8x10 glossy photos in the technote as
a guide.



on your question- Yes- if you can't complete the Technote instructions to
add .ssi as a valid file extension, you can rename foo.ssi to foo.html

Once you have renamed it- there really isn't any need to rename it back to
..ssi except as a choice to have them visually identifiable as includes from
looking at a directory listing.

****************
Now- If your problem is that the design view has disappeared for files that
USE includes IN them- that's a different matter. It is always related to bad
syntax. Look in code view- are there yellow highlighted tags?
What's a url address to a page- and what are the direct url addresses to all
the includes used in it.

Quote:
here is what the file configuration/extensions.txt looks like and the ssi
extentions is already there isn't it?????
Wouldn't it be okay to rename the ssi file to .htm, make changes in preview
and then rename it back to .ssi? Its too bad that this has to be done. I
designed the site in dw4 and did not have this problem. my client has
dwmx2004
and could not figure out how to edit her ssi files in code view (can't say I
blame her).


Reply With Quote
  #10  
Old   
cgonsa
 
Posts: n/a

Default Re: server side includes - 07-07-2004 , 10:16 AM



Yes -I am seeing your replies and boy do I appreciate them. thank you so much
for trying to help me. I cannot find the configuration folder in windows xp
home version to change the user configurations you are talking about. I would
like to do this but I am having trouble finding the file folder.

The problem is not that: "If your problem is that the design view has
disappeared for files that
USE includes IN them- that's a different matter"
the problem is design view dissappears immediately upon renaming the file to
..ssi. the shtml file are fine.

no to this-

"Look in code view- are there yellow highlighted tags?"


"What's a url address to a page- and what are the direct url addresses to all
the includes used in it."

here they are:
http://www.boutiquegoddess.com/phings/includes/nav_include.ssi
http://www.boutiquegoddess.com/phings/index.shtml

thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1


Originally posted by: Newsgroup User
Hello. You've posted about the same question 4 times in this thread.
Could you PLEASE make some acknowledgement that you SEE and READ the
replies?

pls respond YES that you are seeing these repeated answers??

Have you read the Technote?

have you done ALL the steps in it?

MMDocumentTypes.xml ??

It works.

Complete the instructions, and make SURE you are in the Configuration folder
for YOU as a USER, using the chart and 8x10 glossy photos in the technote as
a guide.



on your question- Yes- if you can't complete the Technote instructions to
add .ssi as a valid file extension, you can rename foo.ssi to foo.html

Once you have renamed it- there really isn't any need to rename it back to
.ssi except as a choice to have them visually identifiable as includes from
looking at a directory listing.

****************
Now- If your problem is that the design view has disappeared for files that
USE includes IN them- that's a different matter. It is always related to bad
syntax. Look in code view- are there yellow highlighted tags?
What's a url address to a page- and what are the direct url addresses to all
the includes used in it.

Quote:
here is what the file configuration/extensions.txt looks like and the ssi
extentions is already there isn't it?????
Wouldn't it be okay to rename the ssi file to .htm, make changes in preview
and then rename it back to .ssi? Its too bad that this has to be done. I
designed the site in dw4 and did not have this problem. my client has
dwmx2004
and could not figure out how to edit her ssi files in code view (can't say I
blame her).




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.