Files from template not copy img background property

i have a simple(single) template with two bars(vertical and horizontal, each one has a specific png backgorund image set in .twoColHybLtHdr #header and #sidebar ) and a editable region in the middle of the page, so far i've built the entire site based on that template with no problems.
today i'm doing some work, edited the templates links, updated all the pages, but when i try to generate a new file from template i encounter a completely black background, checking the css style shows that the background-image property ain't there anymore(if i try to add it it says that it's in a locked portion of the file thus the chnge will be discarded).
i've tried downloading an old model and the resulting files are the same
i'm attaching the model and a resulting page
you can also see them online at: http://www.espiralcalipso.com.ar/error.html
and a good one: http://www.espiralcalipso.com.ar/editorial.html
any ideas are greatly appreciated.
DW is CS4 10.0 b4117
PD: i've noticed that this is EXACTLY my same problem: http://forums.adobe.com/message/2456171
but only posted is a workaround.
i've checked my site definition and the root folder is pointed to the file system root, the url is the correct one and it's relative to document

That's pretty easy to do. This should get you close:
set the_template_file to (choose file with prompt "Select the template file:")
set the_name_list_file to (choose file with prompt "Select the file containing the names:")
set the_names_list to paragraphs of (read the_name_list_file)
tell application "Finder"
          repeat with each_name in the_names_list
                    set new_file to duplicate the_template_file
                    set name of new_file to each_name & ".docx"
          end repeat
end tell
The script will first ask you for the template file, then ask you for the file that contains the list of names.
It then loops through the list of names, for each name it duplicates the template file, then renames it to match the contents of the file.
There's no error checking here, so you might want to pad this script to catch errors, but it should be functional.

Similar Messages

  • Pages from template not showing DIV background images

    Hi;
    I have a template with several DIVs that each contain a background image. When I create a new page from that template, the the background images are missing. The code for the new page shows absolute paths to the images while the template show relative paths.
    template code for header:
    .twoColFixLtHdr #header {
        padding: 0 10px 0 20px;
        height: 215px;
        background-image: url(../images/10banner.jpg);
    template based page code for header:
    .twoColFixLtHdr #header {
        padding: 0 10px 0 20px;
        height: 215px;
        background-image: url(file:///C|/Documents and Settings/patrick/My Documents/web sites/The Marketing Guy/images/10banner.jpg);
    I don't know if the path codes are relevant in this case, but why don't the background images appear ?
    Thanks;
    Pat

    background-image: url(file:///C|/Documents and Settings/patrick/My Documents/web sites/The Marketing Guy/images/10banner.jpg);
    You've got a path pointing to files on your local computer instead of your local site.
    Did you save new page as "somefilename.html" or is still "untitled"?
    Did you properly define your DW local site folder?
    Creating  your first website in DW CS4 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Syncing "file name", were not copied to the iPad because they could not b

    Hi,
    This problem has bothered me for a couple of weeks. Copied here is the exact error message iTunes delivers when I try to sync a video library over to my iPad.
    "Some of the items in the iTunes library, including "file name", were not copied to the iPad because they could not be found."
    What is so weird relates to the randomness of it. I have 19 video files that show in iTunes. When I sync to the iPad, I only get about 5 that move over correctly. The others get an error message as noted above.
    Does this issue have to do with the files (i.e. attributes, type (.mp4), or any thing else)?
    Is this really an issue with the iPad syncing software?
    Getting a little frustrated. Anyone else?
    Thanks for any help one can provide!

    I also get the same problem, this is very tedious but if you edit the song somehow and re-save it then it will copy. Not sure what the problem is at all, tried contacting Apple about this to no avail.

  • Will FC X import XDCAM.mov files FROM JVC, not XDCAM EX ?

    Will FC X import XDCAM.mov files FROM JVC, not XDCAM EX ?

    Hi Kenneth,
    We work with Sony XDCAM, and as long as I know you can only export it to .MXF or .MP4 (XDCAM EX).
    Kind Regards,
    Roberio

  • How to retrieve full flash solution from WSP if not than how to retrieve ascx files from Template folder in SharePoint 2013 ?

    How to retrieve ascx file from the Template folder in SharePoint2013
    My issue is, I have WSP only so I changed into zip and got my all web parts and also one dll file after that decrypted dll and got some C# code
    mixing with some system generated code but not ascx file that is for front-end part. So my question is how we can retrieve full flash solution if not, at least ascx files So if we were on SharePoint 2010 we could have got those file from __Template__
    folder but It’s on SharePoint 2013 and not able to get ascx.
    If we can do so, than will be easy to get the task to be done
    Suggestions would highly be appreciated. Thanks in Advance.
    Ashish

    Hi Amit,
    you can not move specific changes from Dev to production.
    but you can follow this process to make your workflow as it is as in Dev:
    Create a new workflow on the new list in Product.
    Create at least one step, one condition and one action in this workflow.
    1. In Dev server open your .xomal file as XML and copy the entire contents.
    2.In Production server Open your .xoml file as XML and Paste the entire contents
    3. repeat this operation for the xoml.rules file
    4.Double click the .xoml file for the new workflow to open the workflow in the Workflow Designer and click Check Workflow to verify no errors and then click Finish to ensure the workflow is saved.
    Whenever you need to make changes apply the same.
    Please Mark Answer and Vote me if it will to resolve your issue

  • XMP Files from MAC Not Reading On PC

    My question is two-fold, so I apologize that this is long, but it will be best with the backstory:
    I shoot Raw on a Canon 5DMIII and import my images into Lr5 on my PC as CR2 files. I am beginning to work with an editor for the post production of my images and upload my files to her via Dropbox. In effort to keep the files as small as possible (and upload/download times shorter), I export my images as DNGs. Specifically, I ensure the 'Use Lossy Compression' option is checked and the 'Embed Original Raw File' is unchecked. I then resize the image to 2000 pixels on the Long Edge and the overall file is under 1MB.
    She then imports the DNG files into her iMac for editing also in Lr5. Prior to my exporting, I will edit a few images as sneak peeks for my clients, flag them as a 'pick' and code them as 'red'. When she imports my DNGs, she can see the 'red', but she cannot see the flagged images. Fine, this is something I can live without. She does her editing, also flagging them as a pick and coding them red. She then exports as the original file.
    She then uses ExifTool, opens the terminal application and write in: "exiftool -xmp -b -w xmp -r", drags in the DNG files and exports the XMPs. She then sends the XMP files back to me, I place them into my folder with my original RAW files, tell my PC to 'replace' the XMP files that are already in the folder. Then in Lr5, I highlight all my files and select 'Read Metadata From File'.
    Now, initially, nothing happens. I am unable to see any images flagged or coded red. However, I do see the 'attention' icon (I'm sure that is not the right name for it) on the upper right corner of the images she has edited when in the library module. If I click on it, it tells me that the MetaData has conflicting information and do I want the file or catalog to be primary. I click on the 'file' option and only then do I see her edits, including the 'red' coding (but not flagged as 'pick').
    Part 1 Questions: Why when I am instructing it to 'Read the MetaData From File' is it not automatically picking up her edits? Am I doing something incorrectly when I put the XMPs back in the original folder with the RAW images and have the XMPs replace the originals? Is it normal for the 'pick' flags to not transfer?
    Part 2 Questions: When she edits my images, she creates a virtual copy and creates one color and one b+w of each image for my clients. As such, she sends me back two XMP files for one image. How do I get these 2nd XMPs to map to the virtual copy within my library, as I am only creating the virtual copy of an image once I know it is one she selected for the final gallery. If I create a virtual copy of an image she edited after-the-fact, the b+w XMP cannot locate it.
    Any guidance is appreciated! Thank you!

    I never tried this, but I'm pretty sure that with DNG files, Lightroom will ignore xmp files, even when you instruct Lightroom to "Read Metadata from File". Lightroom expects all the metadata to be in the DNG file, not in the xmp file.
    Pick flags, as far as I know, are never written to xmp file; nor are they written to DNG files.
    If you're going to make this transfer procedure work, you need to do it by either (a) embedding the metadata in the DNG file and send those back and forth; or (b) use RAW and xmp and then sending the xmp files back and forth (plus I guess you have to transfer the original RAW once to your editor)

  • Pages created from template not formatted in FireFox browser

    Using Dreamweaver CS5 I redesigned a web site with all pages now created from a master template.  The result is that the site displays properly in IE, but not in FireFox.  See the www.lbtscic.com site.  It checked out OK in the Browser Lab for all browsers, but shows as mostly unformatted in the latest FireFox .
    A side problem is that changes in the master template do NOT show up in the pages created from that template.  When I make a change in the template the details show that it checked all the appropriate pages, but changed none.  Need Help!
    Bob Roberts

    The linked page looks the same to me in IE9/Safari5.1/FF3.6.23, and it looks broken in all of them - the content region is wider than the banner image.
    Here are seven common mistakes that will result in changes not propagating from Template to child -
    1.  Rename the Templates folder
    2.  Move the Templates folder to some other folder level in the site other than root level
    3.  Move a template out of the Templates folder.
    4.  Make changes to an editable region of the Template (which will not propagate)
    5.  Assume that Template changes will be effected by just uploading the changed Template file to the server without also uploading the changed local files
    6.  Corrupt the site cache so that the link between Template and child page is broken
    7.  Improperly create your child pages by simply opening the Template, adding page specific content, and resaving the Template with an *.html extension rather than its *.dwt extension. (you can tell if this is the case by looking at the code on a child page - if you see anything like <!-- TemplateBeginEditable... then this is what you have done).  If you *have done this*, then recreate the child pages (in DW) using FILE | New > Page from Template, select the Template and click CREATE.
    The 6th problem can be repaired by using SITE | Advanced > Recreate Site Cache, and the six others can be fixed by just not doing them.  Have you done any of those?

  • Help to restore iTunes files from trash, not deleted.

    I need to move 35,000 podcasts, 654 GB, from my trash back to my iTunes library on an external hard drive (EHD). They are NOT deleted from my trash.
    I am running on Snow Leopard 10.6.8 until I can clear enough EHD space to backup/upgrade to Mtn Lion.
    11.5 iTunes is my current version on my 640 GB early 2009 24” mac.
    I have tried:
    Undo - command + Z
    Selecting all in trash and dragging it to the:
    iTunes Music folder on my EHD
    Automatically Add to iTunes folder on my EHD
    The upper left corner on the iTunes window
    The iTunes icon in the dock
    There is no restore option when I Right Click on anything in trash, single or more than one file.
    In iTunes: File, Add to Library, selecting the recycle bin or the file under it. Nothing happens. I do have checked on iTunes Preferences, Advanced, Copy files to iTunes Media folder when adding to library.
    Dragging 40 files from trash to the Automatically Add to iTunes folder on my EHD.
    This returned the files but without essential data like the release date/description, which totally messes up my library.
    They are no longer listed in date order, and I cannot see if I have the most recent without scrolling down down through sometimes over 200 pods in that album, and even then there is no date order, which orders all podcasts. All the tags/descriptions/comments I spent thousands of hours on are gone.
    I just recieved in the mail yesterday my Data Rescue 3 software for an earlier problem,
    I do not know if it will help retrieve all the essential data.
    I cannot move the files to my desktop because the size, 654 GB, is bigger than my 640 GB mac. Plus, I know from experience this does not preserve the essential data like release date.
    My iTunes EHD has 485 GB free out of 1.71 TB.
    I can order another 3 TB EHD to arrive in 2 weeks, which I will eventually need, but my husband aint going to be happy. As an old photographer trying to join the digital age, I already have 20 TB storage, mostly for photos, which has put us in debt.
    Please, does anyone know how to restore podcasts from trash while retaining metadata?

    Thanks for your sympathy, dclkdm.
    For anybody else out there,
    I have had some luck retaining info such as release date, plays, and rating by
    dragging podcasts to a Finder folder in iTunes,
    in iTunes Media,
    Automatically Add to iTunes.
    So far, I have retrieved all my lost podcasts with Data Rescue 3,
    but have not tried to consolidate everything into one library yet.

  • Word and Excel hang "downloading" file from network drive - copy file to be able to open it

    Word or Excel hang trying to open files on a network drive maybe after an untidy close.
    Symptoms:  pick the file from a pinned entry on recent list or even direct from File!Open... or by double clicking on the file from file explorer.  Word/Excel show in the middle of the status line a comment "Downloading:filename "  
    a progress bar, that shows no progress, and a white cross on a red circle to close.  Some minutes later may Excel/Word  say could not open filename.
    I have removed any temporary copies of the file prefixed with the ~. However there are no documents shown in any document recovery pane.
    If I rename the original file the problem is still there.
    I can only clear the problem by working on a copy of the file. It works with either a new name of if the copy is used to replace the original file.
    It seems file explorer's "copy" is clearing something within the file that is causing this problem.
    I have seen the same issue with both Excel and Word documents in native Office 2010 format.
    Is there a better way to clear this issue?
    Thanks

    Hi,
    It doesn't hang/crash, does it?
    If you could provide the exact error message, it would be preferred to determine the cause.
    You can also try the steps below to modify the registry, as mentioned in this thread:
    http://social.technet.microsoft.com/Forums/en-US/ba5114e0-98dd-4b44-a078-373df8899048/word-2007-issue-slow-opening-files?forum=word
    Note your 12.0 represents Office 2007, 14.0 is for Office 2010.
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    Word
    HKEY_CLASSES_ROOT\Word.Document.14\Shell\Open\Command                
    Rename Subkey “Command” to “Old_Command”                
    Rename Key “ddeexec” to “Old_ddeexec”
    Using FileType Manager change .xls from Word.Sheet.8 to Word.Sheet.14 In the Open Command append “%1” 
    .docx In the Open Command append “%1” 
    Excel
    HKEY_CLASSES_ROOT\Excel.Document.14\Shell\Open\Command                
    Rename Subkey “Command” to “Old_Command”                
    Rename Key “ddeexec” to “Old_ddeexec”
    Using FileType Manager change .xls from Excel.Sheet.8 to Excel.Sheet.14 In the Open Command append “%1” 
    .xlsx In the Open Command append “%1”
    If the issue persists, you can also read this KB below and let me know if it is helpful:
    http://support.microsoft.com/kb/313937/en-us
    Regards,
    Melon Chen
    TechNet Community Support

  • Web template not showing "force variable property" under generic tab

    Hi All,
    I have a problem regarding web template property.One web template is not showing "force variable" property under generic tab in DEVELOPMENT sys but the same web template showing "force variable" property in QUALITY sys.I want property in DEV sys also.
    Plz help me.
    Thanks In Advance.
    Priyesh.

    Hi Priyesh,
    Are you sure youhave the web template properties open and not those of any web item in this template? If you can;t find the option you can try coding it in HTML (look at the code in the Q system and copy - paste it into your template in Dev)
    Hope this helps...

  • Created with PDF Maker files from Lotus Notes appears warning to Flash Player disable?

    Lotus Notes 8.5.3 FPX
    Windows 7 64 bit,
    Acrobat 11.0.6 XI.Pro
    When files are generated from the PDF Maker PDF from Lotus Notes, then a warning is displayed to Flash Player. How can I disable this warning?
    Is there an option in the Adobe Customization Wizard XI?
    Flash Player has been updated.
    Thanks for the help

    Good morning, I have Adobe Flash Player aktualisert-> problem is solved. Is there no way to check to disable permanently?

  • Deleted files from iTunes not showing in Trash Can

    Hi there,
    I am experiencing a problem where if I delete a track or podcast from iTunes and select the option Move to Trash, it does not show up in my Trash Can on the dock unless I open TC in Finder. Only then the TC logo on the dock shows that TC is not empty. Is this something that only I am experiencing? Any help to explain why this is and how to remedy it would be appreciated.
    Thanks,
    DeMarHc

    I have found that if I delete files from iTunes, I don't see paper showing in the trash indicating that something is there, but if I click the icon for the trash, the paper will suddenly appear...and opening the folder to view what's in the trash shows that the deleted song is, indeed, there.

  • OMF files and AAF files from AVID not working in soundtrack Pro 2

    OMF files from avid work in Logic studio but always need converting to 44.1K so are useless.
    In Soundtrack Pro I can't get them in without about a million glitches. First of all it creates about four clips of every audio clip and dumps them in bulk at the begining of the time line in a great big jumble (sometimes it's not visible). Audio clips are often not selectable and it doesn't take the timecode from the OMF. It's a mess, don't apple test these things?
    AAF - (files that I have checked do work on other systems) I can't get to work at all.
    I can't export AAF or OMF either, even though the manuals say I can.

    Look in the Utilities folder for Apple Loops Utility. The manual is in under the Help menu of that app.
    2 posts in an hour with the same question . . . I hear an echo

  • Create file from template format problem

    Hi
    I have a template (index.dwt.asp). In the body tag is
    <body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
    when I create a new from template it writes the code with a capital L in the onload function which will not validate as xhtml strict.
    <body id="<% =xid %>" class="<% =bodyclass %>" onLoad="SwitchMenu('<% =loadm %>')">
    Is there any thing that can be done to stop this.
    Thanks
    Paul M

    Also, just so you'll know, I cannot reproduce this in CS4.  If I create a template -
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!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="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
    <!-- TemplateBeginEditable name="EditRegion3" -->EditRegion3<!-- TemplateEndEditable -->
    </body>
    </html>
    and spawn a child from it, here is what I get -
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html><!-- InstanceBegin template="/Templates/test-onload.dwt.asp" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
    <!-- InstanceBeginEditable name="EditRegion3" -->EditRegion3<!-- InstanceEndEditable -->
    </body>
    <!-- InstanceEnd --></html>

  • Delete files from computer - not allowed, file in use

    Using firefox to upload files online, being this a simple pdf document or a video file, prevents me from deleting the file from my hard drive, once the process is completed. Once I quit the web browser, deleting the file is possible. It looks like firefox is keeping the link to a file in constant use even after the website at which the file was used is no longer opened. Am I missing some something in firefox's properties settings?

    I've called the big guys to help you. Good luck.

Maybe you are looking for

  • My First MP3 player and already the disgust

    Just picked up a black 5gig Zen Micro and I still haven't opened it of what I've read so far. I was originally searching for the difference in retail boxes since I chose the smaller box over the bigger box because the cashier said the smaller box are

  • PowerBook gone wild with new battery

    My son just got a hand-me-down G4 1.5Ghz 15" PowerBook at work. When he got it the battery would not hold a charge for more than about 5 minutes. We checked the serial number and it was part of the PowerBook battery recall so we requested a battery e

  • Controlling Flash timeline with Javascript

    I have a project I'm taking over from a Flash designer. The way he created the project isn't the way I would have done it, and I'm trying to salvage what is there. My question: Is it possible to control the timeline of an .swf from Javascript? Basica

  • Document for upgrading 8i to 10g using RMAN backup

    hi I need to restore a 8i database on a server and then wanted to upgrade it to 10g. Is there any good documentation available ?

  • Guest book with picture upload(php)

    Hi guys , i want to make a guest book with a picture upload system(php) , there are many sources guest book in internet but i cant find anything like this with picture upload.Guest can send their comments and they should upload their picture (like 50