EditRegion3 [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => ThinkInk [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] => 2 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Untitled Document Let's have some text that's not editable.

And also a non editable image.

logo

Now is the time for all very good men to come to the aid of their country [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => rayc9999 [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] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> from your template. Safe the file as name_template.dwt! Upload the file to the server an place it in a root folder named /Templates. When you generate a page from the template you posted, without that particular removed wrong code the page will look like this: --- [b][/b] test Let's have some text that's not editable.

And also a non editable image.

logo

Now is the time for all very good men to come to the aid of their country [b][/b] --- [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => ThinkInk [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] => 6 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Templates without Dreamweaver - Macromedia Contribute General Discussion

Templates without Dreamweaver - Macromedia Contribute General Discussion

I'm trying to use the new Contribute CS4 to see if I can build and use templates for client websites without the use of Dreamweaver. This is probably a very elementary question, but can this be done and if so could I get a little jump start on methodology? It seems that the default in a template is that no region is editable except those around which the "editable tags" are used. I can't seem to make that work that way.... One moment while I get this egg off my face..:-) Greatly appreciated: Ray...

  1. #1

    Default Templates without Dreamweaver

    I'm trying to use the new Contribute CS4 to see if I can build and use
    templates for client websites without the use of Dreamweaver. This is probably
    a very elementary question, but can this be done and if so could I get a little
    jump start on methodology?

    It seems that the default in a template is that no region is editable except
    those around which the "editable tags" are used. I can't seem to make that work
    that way.... One moment while I get this egg off my face..:-)

    Greatly appreciated:

    Ray



    rayc9999 Guest

  2. #2

    Default Re: Templates without Dreamweaver

    Basic code for a template is this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; cht=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Doent</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>

    <body>
    <!-- TemplateBeginEditable name="EditRegion3" -->EditRegion3<!--
    TemplateEndEditable -->
    </body>
    </html>


    ThinkInk Guest

  3. #3

    Default Re: Templates without Dreamweaver

    ThinkLink:

    I did all this and the page appears in Contribute just fine. But I am still
    able to edit loced as well as "editable" areas. Any chance that this has to do
    with my being "Admin" and having "world" persmissions?

    Also, should my template be a .html page or .dwt extension. I've tried both -
    tryiing to use a .dwt file to create a new page and no luck with that. So I
    made it into a .html page and simply moved it only the server and simply tried
    to edit the page.

    Thanks so very much for your time thus far... your great for that kindness.
    Any thoughts. These help files are just nearly useless.

    Ray


    rayc9999 Guest

  4. #4

    Default Re: Templates without Dreamweaver

    Please post or mail source of the template.
    ThinkInk Guest

  5. #5

    Default Re: Templates without Dreamweaver

    thanks, here's the code of the template page I'm using as a test.


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!--TemplateInfo.codeOutsideHTMLIsLocked="True"-->
    <meta http-equiv="Content-Type" content="text/html; cht=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Doent</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>

    <body>
    Let's have some text that's not editable.<br />
    <br />
    And also a non editable image.<br />
    <br />
    <img src="logo.jpg" ALT="logo" /><br /><br />
    <!-- TemplateBeginEditable name="EditRegion3" -->
    Now is the time for all very good men to come to the aid of their country
    <!-- TemplateEndEditable -->
    </body>
    </html>

    rayc9999 Guest

  6. #6

    Default Re: Templates without Dreamweaver

    I don't know how you got Contribute to accepr this template. It should give an
    error message cause your code has a major error in it. I think you copied you
    source from a page that was generated from a Dreamweaver template either by
    Contribute or Dreamweaver. This will not work, cause there is code added to the
    html file that is created from a template to recognize this page as being
    created by using that certain template.

    You should remove the next code:
    <!--TemplateInfo.codeOutsideHTMLIsLocked="True"-->
    from your template.
    Safe the file as name_template.dwt!
    Upload the file to the server an place it in a root folder named /Templates.

    When you generate a page from the template you posted, without that particular
    removed wrong code the page will look like this:
    ---
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/template3.dwt"
    codeOutsideHTMLIsLocked="false" -->

    <head>
    <meta http-equiv="Content-Type" content="text/html; cht=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>test</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>

    <body>
    Let's have some text that's not editable.<br />
    <br />
    And also a non editable image.<br />
    <br />
    <img src="logo.jpg" ALT="logo" /><br /><br />
    <!-- InstanceBeginEditable name="EditRegion3" -->
    Now is the time for all very good men to come to the aid of their country
    <!-- InstanceEndEditable -->
    </body>
    <!-- InstanceEnd --></html>
    ---


    ThinkInk Guest

  7. #7

    Default Re: Templates without Dreamweaver

    What I forgot to mention is that you need Dreamweaver to update al the pages
    you create from the template you handcoded, or use a smart find and replace
    action in another program. Contribute will not update the pages you created
    with the template, when you adjust the template.

    ThinkInk Guest

Similar Threads

  1. Non-Dreamweaver templates for Contribute
    By Ian Hutchison in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: January 4th, 01:58 PM
  2. Dreamweaver Templates
    By dianestein in forum Dreamweaver AppDev
    Replies: 18
    Last Post: May 30th, 11:08 PM
  3. Dreamweaver Templates and URLSessionFormat
    By Chicerjunge in forum Macromedia ColdFusion
    Replies: 0
    Last Post: March 16th, 08:42 PM
  4. Contribute 3 templates other than Dreamweaver
    By macca_101 in forum Macromedia Contribute General Discussion
    Replies: 3
    Last Post: March 10th, 04:27 PM
  5. From word.doc to Dreamweaver templates
    By 777ansel in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 4
    Last Post: March 8th, 04:22 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
  •