Edit First line in dreamweaver templates

Hello,
When I create a page from a Dreamweaver template, a
dreamweaver comment similar to the one below will be inserted:
<!-- #BeginTemplate "/Templates/test.dwt" -->
Each time I edit a page to add php code in the very first
line, it is removed with every template update and the source code
again starts with the dreamweaver comment. I need to add to all my
pages a php code in the very first line like this one:
<? $ob_start; $session_start; ?>
How can I do that without removing the code from my pages
with each template update. Another problem is that I can't insert a
placeholder in the very first line of a dreamweaver template. Above
that the first line is locked in dreamweaver, so that I can't
change it manually. Is there any workaround available?
Thanks,
Philip

> How can I do that without removing the code from my
pages with each
> template
> update. Another problem is that I can't insert a
placeholder in the very
> first
> line of a dreamweaver template. Above that the first
line is locked in
> dreamweaver, so that I can't change it manually. Is
there any workaround
> available?
Put the code ABOVE the <html> tag.
Which DW are you using? It looks like DW4 or earlier....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"flip3" <[email protected]> wrote in message
news:ec40u0$mr3$[email protected]..
> Hello,
>
> When I create a page from a Dreamweaver template, a
dreamweaver comment
> similar to the one below will be inserted:
>
> <!-- #BeginTemplate "/Templates/test.dwt" -->
>
> Each time I edit a page to add php code in the very
first line, it is
> removed
> with every template update and the source code again
starts with the
> dreamweaver comment. I need to add to all my pages a php
code in the very
> first
> line like this one:
>
> <? $ob_start; $session_start; ?>
>
> How can I do that without removing the code from my
pages with each
> template
> update. Another problem is that I can't insert a
placeholder in the very
> first
> line of a dreamweaver template. Above that the first
line is locked in
> dreamweaver, so that I can't change it manually. Is
there any workaround
> available?
>
> Thanks,
>
> Philip
>

Similar Messages

  • HTMLB TableView: Edit first Line

    Hi,
    I have implemented an HTMLB TableView with the attribute selection mode 'singleselect'.
    The users can mark one row to edit. This works so far.
    But as the users have to maintain at least one row, the first row should initially be editable <b>without mark it</b> and raising an event.
    Thanks in advance

    set the selectedRowIndex = 0 or 1 to whatever number of the row you would like initially checked in your OnCreate or OnInitialization Event Handler with selectedRowIndex being defined in your Page Attributes and then assigned to the tableView.

  • Adobe dreamweaver templates

    when you download an adobe template you get the Design files which is where you find the PSD files
    You also get the publish folder which is where you find your images, your css, spry assets, and you also get 3 templates
    Ones of those templates is design from template. html
    another template design html
    and then another template  which is the dreamweaver dwt template
    which one of those three templates is the one that I have to use.
    They confuse me .

    A file that ends in the extension .dwt is a dreamweaver template.
    You can make any .html page into a Dreamweaver template. Simply go to File>Save as Template…
    Dreamweaver will create a /Templates folder where you have defined your website locally and place the template there.
    Dreamweaver will not allow you to save a template without editable regions. The way you create an editable region in a dreamweaver template is to select an area in design view and select Insert>Template Objects>Editable Region. A window will come up asking you to name the region and you should give the area a good name that you'll understand.
    Dreamweaver will insert code necessary to manage the template.
    Dreamweaver will allow you to nest templates. Don't do that.
    Dreamweaver templates allow you to create areas that are updated automatically on your website (like navigation, for instance) all throughout your website whenever you make a change to your template. The only other way to do this is to use server side includes. Dreamweaver templates make website creation, extension and management a snap.
    So, when you design a page for a website, make that page into a template, define the areas you want to be able to change on every page as editable regions and let Dreamweaver do the heavy lifting whenever you need to change something site-wide.

  • Problems with templates overtaking first line?

    Has anyone else had a problem with templates taking over the first line of code in any page that a template is applied to?
    I created a template that starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="head" -->
    but when that particular template is applied to a page it writes this to the code:
    <!-- InstanceBegin template="/Templates/default.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="head" -->
    I don't particularly mind this, but in IE8, because the comment is the first line - and NOT the doctype, it forces the browser into another doctype and breaks the page.
    Has anyone experienced this?
    I've tried re-creating my templates, but I'm not finding the reason why it decides to place that comment in the beginning sometimes..

    The problem may be that the comment is on the same line as the doctype, try putting a blank line between the template comment and the doctype statement
    e.g.
    ..... IsLocked="false" -->
    <!DOCTYPE HTML .....
    The comment is place in the line before the doctype to enable editing of server side code, (php, asp, .net, etc.).
    PZ

  • I am editing an e book. How do I delete a first line indent?

    In a 'Pages' e-book, how can I delete first-line indent on every paragragh?

    Use can use an intro media image. The first time the ibook is open it will start with that page. However, remember that any other time the ibook is open it will show the last page viewed. This is a behavior that can't be changed.

  • Dreamweaver template declaration affects Google Map loading

    My Dreamweaver Template declaration statement
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    is preventing a Google Map from loading.  It works fine in IE and Firefox, but not in Safari and Chrome.  The weird thing is, if I move it above the following declaration is works fine.
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    Dreamweaver inserts and locks this code so the only way I get it to work is to either detach it from the template completely or edit the code in a text editor before upload.  I need a different fix.  I'm hoping that there is actually other code in my page that is leading to the declaration problem although it seems unlikly.
    For reference here is the html that calls the map
    <a href="javascript:;" class="content" title="Location Map" onclick="mopen('map1');loadScript();return false">Location Map</a></p>
                      <div id="map1" style="visibility:hidden;"> <span class="content"><a href="javascript:;" class="closemap" onclick="mclose('map1')" title="Close Map">Close</a> </span>
                        <div id="googlemap1"> </div>
                      </div>
    For the code or to see for yourself go to http://www.outbackadventures.com/trips_classes/kayaking/kayak_classes/intro_paddling/index 2_3.html
    Any help would be much appreciated.  Thanks.

    The problem has been solved.  It seems that Google Chrome and Safari do not entirely ignore comment tags such as Dreamweaver's template declaration.
    In my "lazy load" Google Map code taken from a Google employee suggestion
    http://groups.google.com/group/Google-Maps-API/msg/4e2acbe1ca7f0324
    Example at http://imagine-it.org/google/gmaps-samples/dynamicloading.html
    there is this line of code
    document.documentElement.firstChild.appendChild(script);
    As I understand it Chrome and Safari may read the Dreamweaver template comment
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    as the first.Child and therefore results in invalid html causing an error and no loading of the script.
    This was solved by the help of folks at this post:
    http://groups.google.com/group/google-maps-api/browse_thread/thread/101bc4c59d098367/0decf 0c096119f82#0decf0c096119f82
    Essentially the code above needs to be modified so that it reads from the head section rather than from above it. To fix this, replace the above code with either one of the following lines:
    document.getElementsByTagName(\"head\")[0].appendChild(script);
    document.documentElement.getElementsByTagName(\"head\")[0].appendChild(script);

  • Dreamweaver Template Error: Error reading file (Site Location/info) returned incomplete data

    Hello!
    I am working on new website we are creating for our company. I have never really had any Dreamweaver template file errors before...so this one has me really stumped! We purchased the site files from Template Monster and I have contacted their tech support, but I have not had much luck with them.
    I started out by creating the Dreamweaver template folder that includes the template files that I would like to use. I started creating some pages using the template. I placed all the html pages in the main folder of the website. When I go to update the template to those pages I get the following error: "Error reading file (Site Location\Folder name\Dreamweaver template name) returned incomplete data".
    I am not sure what I am doing wrong. Any help and advice would be greatly appreciated!
    The site is a CSS based site with a Flash navigation menu. Since it is in the production phase, I do not yet have it placed on a server so you can take a look at it at this time (although if really needed and we cannot find an answer, I may be able to get the test site on line - if someone thinks they can help me answer this problem by viewing the site). Right now the site is housed in the same place we house all of the other sites we have produced and all of our other templates on our other websites work just fine. The main difference with this site is that we did purchase files from Template Monster to help speed us along during the construction of the page structures and also this site has a Flash Navigation Menu and a few other Flash elements (something our other sites do not really have).
    I am using Abobe Dreamweaver CS5 and Windows 7
    Thanks again for taking the time to help find and answer to this problem!
    -J

    I am curious as to why no one likes them around here.
    They have spammed these forums in the past.
    The code on their pages is rarely 'best-practice' code.
    There are much better choices available.
    My co-worker and I have to share the files, since we are editing the site together. The files are not local on our computers, but on the company's f drive that have Novell on it.
    This arrangement is a recipe for disaster.  The correct way to collaborate on a site with a colleague is with the following setup:
    Each of you must have a LOCAL site (local to your workstation)
    You would use a single remote location as a staging area, so each of you would have a site definition that specifies your own workstation for the local site, and the same network shared location as the Remote site
    You will both need to enable Check In/ Check Out
    You will both have to agree to PLAY BY THE RULES!
    One (or both) of you will also need to have a second site defined that has the staging server as the local root folder, and would have the PRODUCTION server as the remote site.  I'll explain how to use this site soon.
    When you use CI/CO, your 'gold-standard files' are on the staging server.  To begin working, you would connect to the staging server, and double click on a file, which will a) fetch the file from the staging server to your local site, and b) CHECK OUT the file to you.  As long as you have the file checked out, it cannot be edited by your colleague.  When you are done with your edit, you would CHECK IN the file (which uploads it to the staging server).  It can now be edited by your colleague.
    When you add templates to this scenario, things get even more complicated, although manageable.  If you ever need to make a change to a template you must use the following procedure:
    ALL FILES MUST BE CHECKED IN - this includes both you and your colleague.
    One of you would connect with the SECOND SITE, open and edit the template, and save it propagating the changes to all "LOCAL" files (i.e., on the staging server).
    Each of you would then need to return to the FIRST SITE, and again check out any files you want to work on.
    When changes are done, and files are ready to publish, connect to the SECOND SITE, and upload the files from STAGING to PRODUCTION.
    Does that make sense?  It's important that it does.
    I need to add in one more tab/link to the Flash nav bar.
    Using Flash for navigation is a VERY POOR CHOICE, unless you also have redundant, text-based navigation on the pages.  By using Flash to navigate, you guarantee: a) your pages will not be spiderable by search engines, b) your pages will not be navigable by iPlatforms, and c) your pages will be inaccessible to anyone browsing with screen assistive devices.  Someone is making bad decisions about this site, in my opinion.

  • Editing pages created using dreamweaver with microsoft's visual studio express

    Here's a quick, somewhat vague, question for anyone who might have an answer. Is there a trick to editing pages created using dreamweaver with Microsoft Visual Studio Express? The reason I ask is I recently finished a web site for my first client who now wants to make edits herself using the program she uses, that being Microsoft. I thought it would be as easy as pulling the html files from the server (or the usb flash drive i gave her), making changes and then putting them back to the server, but apparently she is having some problems. I'm meeting with her soon. I have no experience with any other programs, other than Adobe, so I don't know how much good I'll be in helping her. Maybe it's an easy question, maybe not. Any info appreciated. Thanks!

    David wrote -
    Dreamweaver template commands are all wrapped in HTML comments, so they
    shouldn't cause any problems. They should simply be treated as comments.
    However, the concept of editable and locked regions will be ignored.
    Hi David, I meant the templates with the dwt extension, not the html files that are created from them. The full version of VS will recognize the dwt extension as 'Dynamic Web Template' but as this is a microsoft extension it does not recognize the code for editing and shows a large number of errors, (before anyone comments the dwt file extension is used by a number of other programs, all referring to a different file type).
    PZ

  • DreamWeaver Template change not updating children webpages?

    Hi Group,
    Sorry for my newbie question here.
    I loaded an HTML webpage, and saved it out as a DreamWeaver Template file.
    I then created webpages from the template file (( File - New - Page From Template - Site - Template), and made sure that the "Update Page when Template Changes" check box was selected/checked.
    I then created several chldren webpages, and saved them as .html files.
    I decided to change the navbar system - part of the uneditiabel region in the template - by opening the template file and edit-ing that file, and then saving it as the same DreamWeaver template file.
    However, the webpages did Not Update to reflect the navbar changes in the template fle !??!???
    Can someone tell me what I'm doing wrong?
    I believe it is something that I'm doing incorrectly with DreamWeaver ..
    Here is the HTML if anyone is interested.
    <!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>
    <!-- TemplateBeginEditable name="DocTitle" -->
    <title>CNC Joe's  WorkShop - - Home Page </title>
    <!-- TemplateEndEditable --> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       <link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
    <!-- Keep the http-equiv meta tag for IE8 -->
      <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <!-- Link the CSS file here -->
    <link rel="stylesheet" type="text/css" media="screen,projection" href="../style.css" />
    </head>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <body>
    <div id="wrapper">
    <a name="top"></a>
    <a href="index.html" target="_self" title="CNC-Joe's Home Page" >
    <img src="../joesworkshoplogo.gif" width="770px" height="300px" alt="CNC Joe's  WorkShop - Home Page" />
    </a>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- BEGIN OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <div class="mainmenu">
    <ul>
          <li class="li_nc"><a href="index.html" target="_self" >Home</a></li>
          <li class="li_hc"><a href="cad.html" target="_self" >CAD</a><ul class="ul_ch">
             <li class="li_nc"><a href="cad_intellicad.html" target="_self" >IntelliCAD</a></li>
             <li class="li_nc"><a href="cad_draftsight.html" target="_self" >DraftSight</a></li>
             <li class="li_nc"><a href="cad_progesoft.html" target="_self" >Progesoft</a></li>
          </ul></li>
          <li class="li_hc"><a href="cam_html" target="_self" >CAM</a><ul class="ul_ch">
             <li class="li_nc"><a href="cam_mach3.html" target="_self" >Mach3</a></li>
             <li class="li_nc"><a href="cam_vcarve.html" target="_self" >V-Carve</a></li>
             <li class="li_nc"><a href="cam_cut3d.html" target="_self" >Cut 3D</a></li>
             <li class="li_nc"><a href="cam_bobcadcam.html" target="_self" >Bob-CAD-CAM</a></li>
             <li class="li_nc"><a href="cam_meshcam.html" target="_self" >Mesh CAM</a></li>
             <li class="li_nc"><a href="cam_deskcnc.html" target="_self" >Desk CNC</a></li>
          </ul></li>
          <li class="li_hc"><a href="projects.html" target="_self" >Projects</a><ul class="ul_ch">
             <li class="li_nc"><a href="projects_zzeroplate.html" target="_self" >Z Zero Plate</a></li>
             <li class="li_nc"><a href="projects_x0y0edgefinder.html" target="_self" >X0-Y0 Edge Finder</a></li>
             <li class="li_nc"><a href="projects_digitizingtouchprobe.html" target="_self" >Digitizing Touch Probe</a></li>
             <li class="li_nc"><a href="projects_millwebcam.html" target="_self" >Mill Web CAM</a></li>
             <li class="li_nc"><a href="projects_laseredgefinder.html" target="_self" >Laser Pointer Edge Finder</a></li>
             <li class="li_nc"><a href="projects_davidlaserscanner.html" target="_self" >David Laser Scanner</a></li>
          </ul></li>
          <li class="li_hc"><a href="reference.html" target="_self" >Reference</a><ul class="ul_ch">
             <li class="li_nc"><a href="ref_gcodes.html" target="_self" >G-codes</a></li>
             <li class="li_nc"><a href="ref_nema.html" target="_self" >NEMA Motor Info</a></li>
             <li class="li_nc"><a href="ref_vbearings.html" target="_self" >V-Bearings</a></li>
             <li class="li_nc"><a href="ref_linearguides.html" target="_self" >Linear Guides</a></li>
          </ul></li>
          <li class="li_hc"><a href="offtopictopics.html" target="_self" >Off-Topic Topics</a><ul class="ul_ch">
             <li class="li_nc"><a href="ott_backyardfoundry.html" target="_self" >BackYard Foundry</a></li>
             <li class="li_nc"><a href="ott_blacksmithing.html" target="_self" >BlackSmithing</a></li>
          </ul></li>
          <li class="li_nc"><a href="links.html" target="_self" >Links</a></li>
          <li class="li_nc"><a href="contact.html" target="_self" >Contact</a></li>
    </ul>
    </div>
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- TemplateBeginEditable name="content" -->
    <h2>Projects: Digitizing Touch Probe:</h2>
    <ul>
    <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
    </ul>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->       
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- End of Editable Region - the rest is Boiler Plate -->       
    <!-- TemplateEndEditable -->  
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
      <br />
      <p><a href="#top" >Back To Top...</a></p>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- Footer Region                                                                                    -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <div id="footer">
    <hr />
      <p>
      <a href="http://validator.w3.org/check?uri=referer">
      <img class="logos" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional"  height="31" width="88" /></a>
      <a href="http://jigsaw.w3.org/css-validator/check/referer">
       <img  style="border:0;width:88px;height:31px"
        class="logos" src="http://jigsaw.w3.org/css-validator/images/vcss"
        alt="Valid CSS!" />
      </a>
    </p>
      <h5><strong><i>
       This website is for educational purposes only. Any resemblance to any person - living or dead - is purely coincidental
      </i></strong></h5>    
      </div>
    </div><!-- end Div Wrapper -->
    </body>
    </html>

    Additional Info:
    No -I haven't been able to get the DW Template feature to work on other sites - this is my first application of it to a website (actually it's the whole reason for getting DreamWeaver... I know it works, I know that I'm doing something wrong.. I just don't know what it is...)
    All the .HTML files (index.html, cad.html, cam.html, etc. etc.)  are in the website's root directory.
    The Template file is in its own sub-directory folder named "Templates".
    Right now even the .css file is in the root directory....
    Thank You for trying to help me -  I greatly appreciate it.
    Joe

  • Can't manually add editable regions to head in template

    When I created my main template in Dreamweaver CS6 for my website, I had copied most of the page code from another layout I already had, including the head code.  I did not realize there were already editable regions built into the head section of the Dreamweaver template and deleted them when I pasted my previous code without adding new ones.  I then added an editable region to the body and started created pages using the template.
    Everything works well and updates properly when I make changes to the template but now that I am trying to add those editable regions back to the head section so I can change the page title (and possibly add more responsive code), it doesn't work.  I copied and pasted the following code into my template file in Dreamweaver and it saves in the template telling me it's updating the related pages, but when I open those individual pages in Dreamweaver, the code isn't there and those regions are not editable; only the original editable region I created in the body exists and works properly.  Everything else continues to work perfectly.
    Here is the code I pasted into the head around the <title> tag:
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Collings Document Database</title>
    <!-- TemplateEndEditable -->
    And here is the code I pasted into the head just before the </head> tag:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    Any help would be appreciated.  From everything I've read on these forums after searching, it sounds like pasting that code should work but I continue to get the results mentioned.  Thank you.

    Thanks for the response.  I've run the template code through the validator and the following two errors are the only ones that showed up.  I don't see how either of these would cause this issue.  Thoughts?
    Line 5, Column 53: Bad value X-UA-Compatible for attribute http-equiv on element meta.
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">

    Line 27, Column 127: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. …gs_guitars_stroke_clear.png" width="184" height="81" class="scalable">  </div>

  • Designing Dreamweaver templates (was:Info.)

    hey again. i have a question. and i am wondering. if its  true. could a designer or photogrpaher make a template and have it used in his or her web site? if so. how? i heard you can do this in either of the two programs. photo shop and illustrator.  see i am now a member of bc partner. but i am wanting to learn the in between lines. of web site making. see i have started a web site in the past. using dreamweaver, and now i am using muse. but again i am starting from scratch.  right now i am using a current site called wix.com. heres my current web site.
    1. wix= http://brian-ford.wix.com/photographerexplorer
    2. web site in progress using adobe muse. http://bf-photographer01.businesscatalyst.com
    3. heres is wix.com it self. you can see how they have this site designed. and with it they have thumbnails of web site templates. that are editable. http://www.wix.com/html5webbuilder/400?utm_campaign=vir_wixad_live
    how is that possiable? all i have learnd as a photo student. was design a web site from scratch. besides adding a background image. i have lerned code bfore. and i can laern more.  so what is it that i can do?
    so how to desing a template? and make it into a image? that someone/client. can tap on it. and edit it. as what they want.

    Hi bford 225,
    Not sure if this is what you are looking for, but for what it is worth:
    http://webdesign.about.com/od/dreamweaverhowtos/ig/Create-a-Dreamweaver-Template/
    Thanks,
    Preran

  • Dreamweaver template / having trouble seeing the previews

    I am designing a website, using Dreamweaver for the first
    time, and I would like to ask your advice.
    Do you know how to apply a dreamweaver template to other html
    pages. I have having trouble seeing the previews in the local
    browser. For examples, when I preview an html page, that has the
    template included, I see the page OK. But when I click to go to
    another page with the sample template, the new page shows up, but
    without the template design included.

    Answered mutliple times on the DW forum.
    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
    ==================
    "happydreamweaver" <[email protected]> wrote
    in message
    news:fin6nr$5q1$[email protected]..
    > How can I apply a template to new pages? I have done the
    following:
    > Apply the template to the pages as follows:1 Select File
    > Open.
    > 2 Browse to and select index.html.
    > 3 Select Modify > Templates > Apply Template to
    Page.
    > 4 Type the title of the page in the Banner Editable
    Region. Type or insert
    > text in the Body Editable Region.
    > 5 Select File > Save.
    >
    > Then when I preview the broswer, I see the html page as
    I should, put when
    > I
    > click to a new page, the new new doesn't have the
    template.
    >
    > Also, when I went to apply the template to a new page, a
    message said that
    > I
    > had orphaned stuff. What does that mean and how can I
    get the template
    > show
    > apply without the hassle.
    >

  • Arraylist only reading first line of file

    I am reading a text file using an arraylist. my file has a single value on each line e.g.
    2
    3
    4
    5
    however this method is only reading only the first line of each file. is it because of this statement:
    String s1[] = number.split("\\s");
    I would like to change the method so its not expecting numbers in a single line.. but reads each line and adds it to the collection... how can I do that?
    here is getData method that gets the file and processes it.
         public static List<Integer> getData(String Filename) {
              List<Integer> array1 = null;
              // BufferedReader for file reverse.txt
              try {
                   array1 = new ArrayList<Integer>();
                   BufferedReader bf = new BufferedReader(new FileReader(Filename));
                   String number = bf.readLine();
                   String s1[] = number.split("\\s");
                   for (int i = 0; i < s1.length; i++)
                        array1.add(Integer.parseInt(s1));
              } catch (Exception e) {
                   e.printStackTrace();
              return array1;

    Faissal wrote:
    while(bf .ready()){
    readline() will return null if the end of the stream has been reached. ([http://java.sun.com/javase/6/docs/api/java/io/BufferedReader.html]). This condition can be used to determine when to stop reading thereby ensuring that all lines have been read.
    EDIT:
    Here's a code snippet from [Java Developers Almanac|http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.html]: notice how they close() the stream when they're finished with it.

  • TEXT_IO ...  replace first line

    Hello,
    i have a small Problem with the TEXT_IO.PUT_LINE builtin
    I want to write and read a .txt file with TEXT_IO
    It workes fine but if i use put_line to write something in, it replace all inside my .txt file
    My Question: Is it possible to replace only the first line inside my txt file
    Example Forms:
    Declare
         filename           varchar2(30) := 't:\test\Laufzettel.txt';
         file_handle TEXT_IO.FILE_TYPE;
         umrechnung number;
    BEGIN
    If :parameter.intervall is not null then
         file_handle := TEXT_IO.FOPEN(filename, 'W');
         umrechnung := :button.intervall;
         umrechnung := round(((umrechnung*60)*1000));
         TEXT_IO.PUT_LINE(file_handle,umrechnung);     
         TEXT_IO.FCLOSE(file_handle);
    end if;
    END;
    and the .txt file looks like this:
    6000
    CT
    CT2
    Mammo
    MR
    US
    Bestrahlung
    MRT
    NUK
    SD
    i want to replace the 6000 with another number without rewriting all the other entrys?!
    Sorry for my bad English :)
    Message was edited by:
    user628271

    If you are unix use grep command to replace the string. And this grep command can be called using host.
    If you are in Windows , create a new file from the original and while creating you
    can replace which ever line you needed.
    Once you create the new file , delete the original file using host command.
    Once you delete the old file, copy the new file to the original file name using host command.
    Rajesh Alex

  • The first line in a file is supressed

    hi all,
    i have a really weird problem.
    i have a file with a lot of data and i am using a file adapter with file content conversion to parse it.
    the file adapter is a sender one.
    the problem come when i do read the file and then it ignore the first line of the file.
    all the lines from the second one forward is shown in SXMB_MONI but the first line of the file isn't.
    i can't seem to figure out what the problem is, i tryed looking for some kind of attribute in the file adpater but had no luck.
    could you please help me?
    btw,
    the file structure is: header,1,body1,<wildcard>,body2,<wildcard>
    Edited by: Roi Grossfeld on Oct 29, 2008 4:24 PM

    Recordset Structure: H1,1,B1,<wildcard>,B2,<wildcard>
    Key Field Name: RecordType
    H1.fieldFixedLengths 6,2,8,1,1,3,30,5
    H1.fieldNames FileNo,RecordType,TransmissionDate,Car_Truck,BU,MD,FileName,Count
    H1.keyFieldValue H1
    B1.fieldFixedLengths 6,2,10,27,8,8,4,5,3,11,9,9,11,11,9,9,7,9,11
    B1.fieldNames FileNo,RecordType,InvoiceNumber,VesselName,MMSEShipmentDate,PlanArrivalDate,DeliveryPlace,Units,Currency,ModelPriceAmount,OptionPriceAmount,ColourPriceAmount,REPriceAmount,TotalPriceAmount,FreightChargeAmount,InsuranceFeeAmount,MiscellaneousAmount,VATAmount,GrandTotalAmount
    B1.keyFieldValue B1
    B2.fieldFixedLengths 6,2,10,12,12,12,5,6,12,3,3,3,4,17,7,7,12,8,5,3,9,7,7,9,9,7,9,4,20
    B2.fieldNames FileNo,RecordType,InvoiceNumber,MDOrderNumber,MMSEOrderNumber,MMSECaseNumber,ModelYear,BodyType,Model,ExteriorColourCode,InteriorTrimColourCode,OptionCode,RearEquipment,VehicleIdentificationNumber,ChassisModel,CSequenceNumber,EngineModel,ESequenceNumber,KeyNumber,Currency,UnitModelPrice,UnitOptionPrice,UnitColourPrice,UnitRearEquipmentPrice,UnitTotalPrice,UnitVATAmount,UnitTotalVAT,VATRate,VATNumber
    B2.keyFieldValue B2
    ignoreRecordsetName true
    Edited by: Roi Grossfeld on Oct 29, 2008 4:39 PM

Maybe you are looking for

  • How do i get face time to work on i phone 4?

    How do i get face time to work on my i phone? step by step instructions please How do i get my photos from i phone 4 to display on my TV? as advertised on the television. Thanks

  • Toshiba hard drive no longer recognised on Macbook Air

    Hi everyone I wondered if you could help? I have a Toshiba external hard driver (http://www.amazon.co.uk/gp/product/B00560Z2ZM/ref=oh_aui_detailpage_o01_s00?ie=U TF8&psc=1) which I purchased last November. I reformatted it and it worked swimmingly wi

  • Product Registration Pop

    I have a pop up reminder on the PC for the first time today to "register product and enjoy a host of benefits" - how can I get rid of it please - I've already registered and I thought it would be as simple as deleting the product registration link fr

  • Inserting table background images [was: CS4 DW]

    Dear all, I've have trouble inserting the background images in a cell of a table. When I was using CS3 I had the options of selecting BG color or image, as well as choosing the border color. Right now in CS4 I can't even insert one in a cell, only co

  • ICloud keeps syncing my Notes between my iPad/iPhone

    iCloud keeps syncing my Notes between my iPad and iPhone, even though Notes is turned off in iCloud on both devices. How can I prevent this from happening?