blah blah blah code here That will let you see what file contains what block of code when you are viewing the final page's source looking for problems.... [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Alan [ip] => dont_mail_me_pe [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> which is not a complete html doc (no body tag, etc...). I want the contribute user to be able to click "edit page" when she has navigated to [url]http://...../webpage.html[/url] and make changes (including changes to ssi.html.) I want these changes to stick site-wide when she clicks publish. I was reading your post and I get the impression that you are talking about having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking edit then. Do your answers still apply? [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Alexander Ross [ip] => alexross@bleen. [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 7 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> which is not a > complete html doc (no body tag, etc...). > > I want the contribute user to be able to click "edit page" when she has > navigated to [url]http://...../webpage.html[/url] and make changes (including changes > to ssi.html.) I want these changes to stick site-wide when she clicks > publish. > > I was reading your post and I get the impression that you are talking about > having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking edit > then. > > Do your answers still apply? > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Alan [ip] => dont_mail_me_pe [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 8 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> which is not >> a >> complete html doc (no body tag, etc...). >> >> I want the contribute user to be able to click "edit page" when she has >> navigated to [url]http://...../webpage.html[/url] and make changes (including >> changes >> to ssi.html.) I want these changes to stick site-wide when she clicks >> publish. >> >> I was reading your post and I get the impression that you are talking >> about >> having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking >> edit >> then. >> >> Do your answers still apply? >> >>[/quote] >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Alexander Ross [ip] => alexross@bleen. [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 9 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> When I replaced the "file" include with the "virtual" include, it worked... (Note the ./ for current directory - Contribute is smart enough to change to .../left-menu.htm (up one directory since drafts are in a new sub-dir) in a draft mode) Let me/us know if this works for you or if I misread your question. --Mark [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => wickahead [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 12 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> And according to the documentation fo rSun One, I could not use a forward slash in front of the directory. Well, I tried it with the '/', and it worked both in the browser and Contribute. So my new include is: So it is fixed. Thanks, Jay [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => visualj [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 13 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Note the presence of the tag in the region. Why is that? -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "don Carlos" wrote in message news:fuqu8a$7mr$macromedia.com...[ref] > All of a sudden a previously working prototype page with 2 server side > includes > fails to open those files. I've included the link. I rechecked the syntax > and > it's correct. Is it possible that some setting on the server is effecting > this? > http://historicbrooklyntavern.com/index07.htm > This page use spry, includes and CSS sprites ... and it all worked. Now > it > fails to pull either the header OR the footer. I appreciate any input. > The > server, in this case, is IIS. > Karl >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 15 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> server side includes - Macromedia Dynamic HTML

server side includes - Macromedia Dynamic HTML

hello I am trying to use my navagation menu as a server side include. I don't know that much about SSI, but it is working, the image shows up. But the nav uses the Dreamweaver popup menus and I can't get them to work it just says error on page. Has anyone done this? what do I need to do? thanks!...

  1. #1

    Default Server Side Includes

    hello

    I am trying to use my navagation menu as a server side include. I don't know that much about SSI, but it is working, the image shows up. But the nav uses the Dreamweaver popup menus and I can't get them to work it just says error on page. Has anyone done this? what do I need to do?

    thanks!


    new found webforumsuser@macromedia.com Guest

  2. #2

    Default server side includes

    I am in the process of investigating the feasibility of converting a large
    site from templates to server-side includes (currently ~300 template-using
    pages, and it is becoming bersome updating files, which does not always
    succeed 100%). The site is running on Windows2K.

    I am an almost complete novice in the use of includes. My first
    understanding was that things worked fine using doent relative links if
    the include (inc) was in the same directory as the stm file, but I noticed a
    loss of links to images if the I tried to use an include in another
    directory. I have tried using various combinations of root-relative and
    doent relative links, but no success. AND It seems IIS does not support
    virtual includes.
    Is there a way to do this in IIS so that the pages will properly maintain
    the correct links in the include?
    code on request!

    Thanks,
    Durwood


    Durwood Edwards Guest

  3. #3

    Default Re: server side includes

    Hmmm . . . after uploading it to my remote server,it seems to function
    properly, but testing it locally, it fails.

    Duirwood
    "Durwood Edwards" <durwoodeNOSPAMbellsouth.net> wrote in message
    news:c53jfg$hru$1forums.macromedia.com...
    > I am in the process of investigating the feasibility of converting a large
    > site from templates to server-side includes (currently ~300 template-using
    > pages, and it is becoming bersome updating files, which does not
    always
    > succeed 100%). The site is running on Windows2K.
    >
    > I am an almost complete novice in the use of includes. My first
    > understanding was that things worked fine using doent relative links if
    > the include (inc) was in the same directory as the stm file, but I noticed
    a
    > loss of links to images if the I tried to use an include in another
    > directory. I have tried using various combinations of root-relative and
    > doent relative links, but no success. AND It seems IIS does not support
    > virtual includes.
    > Is there a way to do this in IIS so that the pages will properly maintain
    > the correct links in the include?
    > code on request!
    >
    > Thanks,
    > Durwood
    >
    >

    Durwood Edwards Guest

  4. #4

    Default Re: server side includes

    on seeing them in Dw- I haven't tested in version 7.0.1 to see if the
    updater fixed the SSI translator- in 7.0 previewing locally doesn't show
    the ssi. You can make them show be defining a testing server, either using
    a local server on your machine, or using your real remote host as the
    testing server. The later has a bit of delay, depending on your connection
    speed...

    repeated way down below is a suggestion to always use site root relative
    paths inside of includes. They are assembled in the real doents as-is
    verbatim, there's no link management or adjustment like what goes on with
    Dreamweaver Library items or Templates.

    below is general ranting and spouting that was already typed up long ago-

    from an older posting on topic of SSI--


    ******
    if possible- the structure below makes Contribute (and DMX) happier to work
    with..

    The Real file:
    <html>
    <doctype>
    <head>
    <title>title in real file</title>
    <! head include if wanted/needed>
    </head>
    <body>
    <! top of page navigation include if wanted>
    The actual page content
    <! footer include if wanted>
    </body>
    </html>

    This structure puts the
    <html><doctype><head><title></title></head><body></body></html>
    tags in the Real File- and Dreamweaver AND Contribute will be able to sort
    out the file's structure, and allow editing without going boing all the
    time.

    Another thing to avoid is a common problem some folks make with SSI
    includes--- the include files should NOT be complete html files with their
    own <html><head><body> because that would cause bad syntax when they are
    assembled
    into main real file. Such as below:

    <doctype>
    <head>
    <title>title in real file</title>
    </head>
    <body>
    <! start of a navigation include>
    <doctype>
    <head>
    <title></title>
    </head>
    <body>
    contents of include
    </body>
    </html>
    <! end of navigation include>
    Contents of real file's body section
    </body>
    </html>

    In the case above- contribute (and DMX) will have problems because of the
    multiple head and body tags. In effect- dreamweaver can't figure out where
    the mouse cursor is in the doent structure- because it can't make sense
    of the structure...

    Another tip- use Site Root relative paths for links and images inside of
    the includes. That way the include can be used in any folder level of the
    site and the images and links will work.

    Final tip-
    Put html comments inside of the includes, at the top and bottom.
    <!-- start of top_nav.htm include -->
    blah blah blah code here
    <!-- end of top_nav.htm -->

    That will let you see what file contains what block of code when you are
    viewing the final page's source looking for problems....

    Alan Guest

  5. #5

    Default Server side includes

    I'm designing a site using DW templates that will ultimately be maintained
    using Contribute3. On a few of the pages, there is a Server Side Include
    within an editable reagion. Will the contribute user(s) be able to make
    changes to this SSI? I assume it change site wide given the nature of SSIs
    .... will they get a warning or error message? What will happen?

    --
    Alex


    Alexander Ross Guest

  6. #6

    Default Re: Server side includes

    there would be a kind of catch-22 depending on how you try to do this.

    The includes should not be complete html doents, so the assembled pages
    are correct syntax for they are inserted. However, that means that (as far
    as i know) the Contribute user won't be able to open and edit the includes
    BECAUSE they aren't complete docs- they won't have a head section or body
    tag. Contribute will pop up a warning that the page has syntax problems- see
    the site admin.

    If you make the includes complete html docs- the Contribute user could edit
    them (but would have to do extra steps to make absolute paths so the SSI
    would work in any folder level). BUT- now the regular pages using these SSI
    files will have multiple body tags- thus they won't be able to edit the
    regular pages in Contribute. Same "see site admin" error dialog...

    I don't have a good solution for a user-editable menu system. I take care of
    these sitewide and SSI things myself using Dreamweaver. It was too much to
    try and idiot-proof a way for the contribute user to touch them.

    Alan Guest

  7. #7

    Default Re: Server side includes

    Just to clarify and make sure we are on the same page:

    I have webpage.html which is based on template.dwt. Within an editable
    region of webpage.html I have <!--#include file(ssi.html)--> which is not a
    complete html doc (no body tag, etc...).

    I want the contribute user to be able to click "edit page" when she has
    navigated to [url]http://...../webpage.html[/url] and make changes (including changes
    to ssi.html.) I want these changes to stick site-wide when she clicks
    publish.

    I was reading your post and I get the impression that you are talking about
    having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking edit
    then.

    Do your answers still apply?


    Alexander Ross Guest

  8. #8

    Default Re: Server side includes

    The contribute user Won't be able to edit the contents of the include
    "inline" from a page containing the include. ssi.inc when displayed in
    another page will appear as a locked area- dimmed and they won't be able to
    click the mouse into it.

    they may possibly be able to edit the include file by using File->Open->From
    Server and browsing to the include file (they need to know the file's name
    and location) If it will open in contribute- if they add or edit any links
    or images they would then have to use the Advanced link properties to change
    contribute's default method of making doent relative paths to absolute
    paths, if the include is used in folders of different depths.

    [url]http://livedocs.macromedia.com/contribute/31/using_admin_en/wwhelp/wwhimpl/c[/url]
    ommon/html/wwhelp.htm?context=Using_and_Administering_Contrib ute&file=000003
    37.htm
    > Just to clarify and make sure we are on the same page:
    >
    > I have webpage.html which is based on template.dwt. Within an editable
    > region of webpage.html I have <!--#include file(ssi.html)--> which is not a
    > complete html doc (no body tag, etc...).
    >
    > I want the contribute user to be able to click "edit page" when she has
    > navigated to [url]http://...../webpage.html[/url] and make changes (including changes
    > to ssi.html.) I want these changes to stick site-wide when she clicks
    > publish.
    >
    > I was reading your post and I get the impression that you are talking about
    > having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking edit
    > then.
    >
    > Do your answers still apply?
    >
    >
    Alan Guest

  9. #9

    Default Re: Server side includes

    thats what I needed to know ...

    thanks!

    "Alan" <dont_mail_me_periodmacromedia.com> wrote in message
    news:BF54ECDE.24D625%dont_mail_me_periodmacromedi a.com...
    > The contribute user Won't be able to edit the contents of the include
    > "inline" from a page containing the include. ssi.inc when displayed in
    > another page will appear as a locked area- dimmed and they won't be able
    > to
    > click the mouse into it.
    >
    > they may possibly be able to edit the include file by using
    > File->Open->From
    > Server and browsing to the include file (they need to know the file's name
    > and location) If it will open in contribute- if they add or edit any
    > links
    > or images they would then have to use the Advanced link properties to
    > change
    > contribute's default method of making doent relative paths to absolute
    > paths, if the include is used in folders of different depths.
    >
    > [url]http://livedocs.macromedia.com/contribute/31/using_admin_en/wwhelp/wwhimpl/c[/url]
    > ommon/html/wwhelp.htm?context=Using_and_Administering_Contrib ute&file=000003
    > 37.htm
    >
    >> Just to clarify and make sure we are on the same page:
    >>
    >> I have webpage.html which is based on template.dwt. Within an editable
    >> region of webpage.html I have <!--#include file(ssi.html)--> which is not
    >> a
    >> complete html doc (no body tag, etc...).
    >>
    >> I want the contribute user to be able to click "edit page" when she has
    >> navigated to [url]http://...../webpage.html[/url] and make changes (including
    >> changes
    >> to ssi.html.) I want these changes to stick site-wide when she clicks
    >> publish.
    >>
    >> I was reading your post and I get the impression that you are talking
    >> about
    >> having my contribute user navigate to [url]http://..../ssi.html[/url] and clicking
    >> edit
    >> then.
    >>
    >> Do your answers still apply?
    >>
    >>
    >

    Alexander Ross Guest

  10. #10

    Default Re: Server side includes

    Thanks for the link to the livedoc Alan.

    I created a TinyURL for the same location (so the word wrapper doesn't break the URL):

    [url]http://tinyurl.com/ersol[/url]
    wickahead Guest

  11. #11

    Default Server Side Includes

    I am trying to set up a page for our contribute users. All of our pages have
    server side includes for ease of mantainence. Because the includes are virtual
    includes when you try to edit the page in Contribute, I get a "page not found"
    error.
    Is this by design? Is there a work around?
    One that I am considering is to create a page that has the content that I want
    edited in a separate page and utilize that page as an include to the main page.
    Works, but kludgy.

    Thanks,
    Jay

    visualj Guest

  12. #12

    Default Re: Server Side Includes

    I was having the same problem...

    Here is the fix I found (note: I am using IIS5 on Win 2K, so SSI may be
    handled differently in your environment - YMMV)

    Symptom: When publishing drafts (which creates and places in different
    directory), I get a "page cannot be displayed" - with a reference to the
    missing SSI)
    At that time, I was using this code:
    <!-- #include file="left-menu.htm" -->


    When I replaced the "file" include with the "virtual" include, it worked...
    <!-- #include virtual="./left-menu.htm" -->

    (Note the ./ for current directory - Contribute is smart enough to change to
    .../left-menu.htm (up one directory since drafts are in a new sub-dir) in a
    draft mode)

    Let me/us know if this works for you or if I misread your question.

    --Mark

    wickahead Guest

  13. #13

    Default Re: Server Side Includes

    I had to use a variant of your solution.
    The environment we are using is UNIX server with Apache for the web server.
    Sun One ASP for our scripting. Becasue we are not allowing navigation outside
    of directory for our includes, I had to set up a virtual directory called
    'includes'. So my #include was already using the virtual tag.
    <!-- #include virtual="includes/copyright.asp" -->
    And according to the doentation fo rSun One, I could not use a forward
    slash in front of the directory. Well, I tried it with the '/', and it worked
    both in the browser and Contribute. So my new include is:
    <!-- #include virtual="/includes/copyright.asp" -->

    So it is fixed.

    Thanks,
    Jay



    visualj Guest

  14. #14

    Default server side includes

    All of a sudden a previously working prototype page with 2 server side includes
    fails to open those files. I've included the link. I rechecked the syntax and
    it's correct. Is it possible that some setting on the server is effecting this?
    http://historicbrooklyntavern.com/index07.htm
    This page use spry, includes and CSS sprites ... and it all worked. Now it
    fails to pull either the header OR the footer. I appreciate any input. The
    server, in this case, is IIS.
    Karl

    don Guest

  15. #15

    Default Re: server side includes

    You file nomenclature is backwards. The parent page must be named with the
    shtm(l) extension, while you can name the file being included with any
    extension you want (my personal favorite is *.monkeybutt).

    By the way, IE tells me that your page is trying to load MXML 5.0 - why is
    that? I'm assuming it's because of that menu you are using?

    Also, this is trouble -

    <title>Historic Brooklyn Tavern - 2007 Prototype</title>
    <!-- Deluxe Menu -->
    <noscript><a href="http://deluxe-menu.com">Javascript Menu by
    Deluxe-Menu.com</a></noscript>
    <script type="text/javascript">var dmWorkPath = "menudir/";</script>
    <script type="text/javascript" src="menudir/dmenu.js"></script>
    <!-- (c) 2007, http://deluxe-menu.com -->

    Note the presence of the <a> tag in the <head> region. Why is that?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "don Carlos" <com> wrote in message
    news:fuqu8a$7mr$macromedia.com... 

    Murray Guest

  16. #16

    Default Re: server side includes

    :grin; I once again sit in awe of your magnificence. But, why the heck did it
    STOP working? It worked fine with the file names as they were. In fact, if the
    site owner would ever give me content, it would have been live months ago.
    At least the new site I'm being paid for will be able to use includes
    correctly. As always, thank you, Murray. Sorry I can't make TODCON this year.

    Karl

    don Guest

  17. #17

    Default Re: server side includes

    Karl:

    You're welcome. I can't make TODCON, either. My daughter's HighSchool
    graduation is on the 6th. 8(
     

    Beats me - perhaps the host turned off file parsing unexpectedly? The only
    way an include will work is if the server finds the include directive. If
    it doesn't p the file to look for the directive, it won't find it. If
    the file has only an *.htm(l) extension, the server will not p it
    (unless, of course, file parsing is enabled).

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "don Carlos" <com> wrote in message
    news:fur4br$ds5$macromedia.com... 

    Murray Guest

Similar Threads

  1. Big Problem with Server Side Includes (SSI)
    By james_w4 in forum Macromedia Contribute Connection Administrtion
    Replies: 2
    Last Post: May 12th, 10:43 AM
  2. Server Side Includes and Contribute 4
    By Marje in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: January 2nd, 05:13 PM
  3. doent relative server-side includes and drafts
    By wickahead in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: June 26th, 01:24 PM
  4. Server Side Includes and Javascript
    By TSemmes in forum Macromedia Dynamic HTML
    Replies: 5
    Last Post: May 25th, 05:22 PM
  5. Random Server Side Includes
    By Microsoft News in forum ASP
    Replies: 3
    Last Post: September 17th, 11:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •