Site re-do -- applying commands to all files?

Newbie here; please be kind.
I've inherited a site with a plethora of
similar-but-different templates. I'd like to be able to detach all
files from their templates and clean them up. Is there capability
within Dreamweaver (8) to apply a command e.g.
modify/templates/detach from template -- to all files? I haven't
found this with the app, nor any extensions.
Thoughts appreciated.

> Yeah, I guess "plethora" is a bit vague. There are 14
templates and just
> under
> 1000 .htm or .html files. If I had to guess, half or
less of them are
> template-driven.
YIKES. Using templates on a site with 1000 files (even 300
files) is like
putting bamboo shoots under your fingernails!
> Maybe a different way of looking at the collection: is
there a way to
> report
> which modules are under the control of which templates?
I just know if I
> make
> some update, I get a count of the files that are updated
as a result, but
> I
> don't see a high level "Template Report" kind of thing.
If you do a sitewide search for each template name, you will
return all
child pages of that template. Or, you can grab this -
For templates this extension can help:
http://www.massimocorner.com/dreamweaver/utilities/template_report.mxp
It reports pages associated with templates and editable
regions inside all
pages
to make that job easier.
> Extra credit: is it straightforward to change the
template being used?
> and their fields are identical (or close enough)
Assuming that their EDITABLE REGIONS ARE IDENTICALLY
NAMED....
Heh - that's easy. First, make a backup of the site for
safety's sake.
Change template1.dwt to template1old.dwt, and REFUSE THE
UPDATE. Then
change newtemplate1.dwt to template1.dwt. Finally, open one
of this
template's ex-child pages, and do MODIFY | Update Pages...,
and update all
pages. Bada bing, bada boom.
If their editable regions are NOT identically named, then
it'll be much more
difficult. Did I say MUCH MORE?
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
==================
"Sbles" <[email protected]> wrote in message
news:[email protected]...
> Yeah, I guess "plethora" is a bit vague. There are 14
templates and just
> under
> 1000 .htm or .html files. If I had to guess, half or
less of them are
> template-driven.
>
> Maybe a different way of looking at the collection: is
there a way to
> report
> which modules are under the control of which templates?
I just know if I
> make
> some update, I get a count of the files that are updated
as a result, but
> I
> don't see a high level "Template Report" kind of thing.
>
> Extra credit: is it straightforward to change the
template being used?
> Let's
> say there's Template1 and Template1a and their fields
are identical (or
> close
> enough). Is there a way to just change all
Template1a's-owned files to be
> owned
> by Template1?
>
> Which there was a nice MySQL schema behind DMX -- I
might shoot myself in
> the
> foot making the updates, but at least I'd have something
to try.
>
> Thanks for your help!
>

Similar Messages

  • Lightroom 5.3 - Export not applying changes to all file formats

    Using Lightroom 5.3 with Camera Raw 8.3 on Mac OS X Mavericks 10.9.2
    Camera is a Canon EOS 70D, working with Raw files.
    Just noticed that when applying a range of changes to an image - Tone / Presence / Noise / Crop / Sharpening (and others)
    When exporting the image
    - export to JPG, TIFF and PSD works ok, all changes applied correctly
    - export to Raw and DNG do not include changes applied to image - original image is exported
    Not a show stopper as I have usable formats, but would like all file formats available for flexibility.
    Anyone else noticed this ?
    Chris.

    A RAW file is a RAW file.
    DNG is also a RAW format
    Lightroom will not alter RAW fomat files on export, as in develop edits.
    (it will record those edits in metadata if asked so another application capable of interpreting Lightroom edits can read and apply those edits - like ACR.)
    DNG exports can be altered to various flavours of DNG but that does not include develop edits.
    A colourspace can also be added as appropriate.
    The other formats are derivative files and develop edits are baked in on export.
    Tony Jay

  • Can I Rename Tags Across all Files in a Book?

    Hi all,
    I have a question about FrameMaker 8 to which I cannot find an answer.
    Can I rename a Paragraph Tag across all files in a book? For example, I have a Paragraph Tag in each of my chapters named "SysResponse" that I want to rename to "System Response". I know that I can do this by going into each file and renaming the tag manually. However, I'm curious to know if I can do this once and apply it across all files so that the "SysResponse" tag renames to "System Response" automatically wherever it occurs.
    If this is possible, it would save so much time; I need to rename several tags (Paragraph, Character, and Table) in preparation for a template transition/clean up. I'd even be willing to do it in an alternate way, such as doing a find and replace in a .MIF file, if this is what I need to do.
    Thanks in advance for any advice!
    Chris

    Chris:
    After backing up your files lest there be a disaster:
    1. At the file level, rename one instance then use Edit > Copy Special > Paragraph Format to put the new paragraph style on the clipboard.
    2. At the book level, in Edit > Find/Change choose Paragraph Tag in the list of Find choices then type the name of the new paragraph style.
    3. In the Change list, choose By Pasting.
    Note, too, that Silicon Prairies Paragraph Tools provides a cost-effective way to perform value-added operations on a book's Paragraph tags...
    Cheers & hope this helps,
    Riley

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • Retrieve all pages in a site collection using powershell command

    Hi all,
    I need to retrieve all pages in a site collection and i wanted to display it in a csv file using powershell command.Please help.
    Regards,
    Praveen

    Hi Praveen,
    Here are two blogs would be helpful:
    PowerShell script to Enumerate Sites, Sub-sites and print them in a .csv file
    http://www.sharepointfix.com/2012/02/powershell-script-to-enumerate-sites.html
    Powershell to Loop through all SharePoint sites and pages
    https://tjendarta.wordpress.com/2013/03/19/powershell-to-loop-through-all-sharepoint-sites-and-pages/
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can I apply an image adjustment to all files in a folder?

    How do I apply an edit to every file in a folder?  Every time I need to do this, I end up flailing around for 10 minutes before I can finally get it to work.  Or, sometimes I give up and manually paste the copied settings to each file one at a time.  It seems a no-brainer that "copy settings" followed by "paste settings" to all files selected would do the trick.  Or "copy settings" foillowed by "Sync settings."  But it doesn't work.  What am I missing?

    pickfordpictures wrote:
    Thanks, Rob.
    You bet .
    pickfordpictures wrote:
    Do you know a way I might have backed out of that crop adjustment and gone back to the original crops?
    Here are the (potential) ways I can think of at the moment:
    * Undo (if you haven't gone too far since, or exited)
    * edit history (1-by-1)
    * read metadata (if previously saved prior to snafu/oops).
    * restore backup catalog (if no saved metadata).
    * ScrewAutoSync (if fixed number of steps to rollback for all afflicted photos).
    Rob

  • How  to read all files  under a folder directory in FTP site

    Hi Experts,
    I use this SQL to read data from a file in FTP site. utl_file.fopen('ORALOAD', file_name,'r');
    But this need to fixed file name in a directory. However, client generate output file with auto finename.
    SO do we have any way to read all file by utl_file.fopen('ORALOAD', file_name,'r');
    We need to read all file info. because client claim for security issue and does not to overwirte output file name,
    we must find a way to read all file in output directory.
    Thanks for help!!!
    Jim

    If you use Chris Poole's XUTL_FTL package, I believe that contains functions that allows you to query the directory contents.
    http://www.chrispoole.co.uk/apps/xutlftp.htm
    Edited by: BluShadow on Jan 13, 2009 1:54 PM
    misread the original post

  • On the web & a site invokes browsing my pc all files won't display

    When on a website and I need to upload a file, Firefox browser is evoked but not all files will display. When using Explore Files locally there is no problem seeing everything.

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • 1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I

    1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I manage my site (containing all the media)  in order to upload it to a server?
    2.- Is there a Adobe Muse community in spanish language?
    Thanks for your help
      Mauricio444

    Kevin is suggesting that you store the projects you create while working through his book in a folder called RoboHelpProjects. It is not where you have to store every project you ever create.That is for the purposes of his book.
    RoboHelp initially defaults to My RoboHelp Projects but it's up to you whether you do. Generally on the forums we advise against that as  it is part of your profile and can result in excessively long path names in a few cases. Generally where authors create file names that are so long they almost serve as the content.
    Projects always have a root folder, call them Project 1 and Project 2 for this purpose. You can have those folders directly off your C drive (or other local partition) or within in a parent folder as above.
    Now to what you can and cannot do. You can delete a whole project by selecting Project 1 or Project 2 in Windows Explorer. Obviously if you delete the parent folder you will delete all your projects within.
    What you must not do is delete individual files within a project using Windows Explorer, for that you use RoboHelp's Project Manager. The exception is if you go to Tools > Reports there is a report Unused Files. Files listed there will have to be deleted using Windows Explorer for the very good reason they do not appear in Project Manager and, therefore, cannot be deleted that way.
    If you think about it, it is similar to Word. There is no option to delete a document there other than using File > Open and right clicking. Not very intuitive.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • For some reason when I download the firefox browser from the 'official' mozilla site, it is downloading to my desktop and its files to my desktop even though safari is set to download all files into applications.  How do I change this?

    When I download firefox from the official mozilla site on my imac it is downloading its files to my desktop, covering my desktop in junk and I can't get rid of it as it is part of the browser.  Why is it doing this?  Why isn't it downloading to the right place?

    Usually the icon on a file will provide indication of hte application used to open it.  Highlight the file in Finder and Get Info on it.  It should say what is used to open it.
    iTunes will not play all file formats.  Even some formats such as mp3 which it should in theory play it will not play all versions of the format.  Those mp3s may play okay in Quicktime but the file has some small aspect to it which iTunes will not recognize. 

  • Modifying an existing finder script to apply to all files on the harddrive

    Can anyone tell me specifically how to modify the finder script "Replace Text in Item Names" so that it will replace the given text in all files on the harddrive at once rather than only in the frontmost Finder window?
    Thanks!

    Here's a change that's a little more general-purpose, and reasonably simple.
    Where the original script reads:<pre>display dialog "Replace “" & the search_string & "” with “" & the replacement_string & "” in every item name?" buttons {"Cancel", "OK"} default button 2
    set the item_list to list folder source_folder without invisibles
    set source_folder to source_folder as string
    repeat with i from 1 to number of items in the item_list
    set this_item to item i of the item_list
    set this_item to (source_folder & this_item) as alias
    set this_info to info for this_item</pre>
    change it to
    <pre>tell application "Finder"
    set folder_name to name of source_folder
    tell me to display dialog "Replace “" & the search_string & "” with “" & the replacement_string & "” in every item name of folder “" & folder_name & "” and its subfolders?" buttons {"Cancel", "OK"} default button 2
    with timeout of 0 seconds -- This command can take awhile to run, so wait for it.
    set the item_list to entire contents of source_folder
    end timeout
    end tell
    repeat with i from 1 to number of items in the item_list
    set this_item to item i of the item_list
    set this_info to info for this_item as alias</pre>
    The most substantial change is using the Finder's entire contents command, which recursively lists subfolders, rather than list folder. Note that the script still acts upon the active folder in the Finder, so you'll want to open your home folder first. I also changed the confirmation dialog slightly so that it reminds you what folder it'll be acting on, and the fact that it'll be doing so recursively on the subfolders as well.
    Titanium PowerBook   Mac OS X (10.4.6)  

  • [Solved] Git command to viev file to push or all added to repo files.

    Hello.
    Is there any command to viev files to push to repo or all files that are in repo?
    Thanks I searched for that command but no luck
    Last edited by SpeedVin (2009-10-04 09:13:04)

    Knute wrote:
    The git command has commands that are associated with it.
    If you do git --help  you will get a list of the most common commands.
    Perhaps you are looking for  diff, or show, or maybe status or log.   
    The command : git help COMMAND will give you the man page for the appropriate command, and may help narrow your search a little bit, as your question is kind of vague.
    Thanks Knute I searched for diff.
    I readed git  --help but I doesen't know about git help comand.

  • To select all files if * is applied

    HI
    I have a requirement as below
    In selection screen of a program there are  fields on selection screen as below
    file path
    file name
    in path the path of file is specified and in file name name of file
    my requirement is that uptill now the only one file is being picked up and specified in the selection screen now we want to select all files paterns just like we use in search
    for eg ig user give value File_* then all files should be fetched begening with File_ same as it works in search for file names ..
    please suggest how to approach for the same
    regards
    arora

    also to add on i have defined the selection parameter as
    p_file TYPE epsf-epsfilnam.
    now if there are more that one file selected then it needs to be handeled in program as well ? giving the logic imlemented for any queries to explain better so first concern is that the file names should be picked according to pattern as specified in teh program
    pls suggest
    also further on progam I am doing below FM cll
    Get files of directory
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
      EXPORTING
        dir_name               = p_path
        file_mask              = p_file
      TABLES
        dir_list               = gt_dir_file
      EXCEPTIONS
        invalid_eps_subdir     = 1
        sapgparam_failed       = 2
        build_directory_failed = 3
        no_authorization       = 4
        read_directory_failed  = 5
        too_many_read_errors   = 6
        empty_directory_list   = 7
        OTHERS                 = 8.
    where gt_dir_file        TYPE STANDARD TABLE OF epsfili
    then i am reading files one by one
    *Read files of directory one by one
    LOOP AT gt_dir_file INTO gs_dir_file.
      CONCATENATE p_path
                  gs_dir_file-name
                  INTO g_dataset SEPARATED BY gc_sep.
    *Open file saved in Application server
    OPEN DATASET g_dataset FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      OPEN DATASET g_dataset FOR INPUT IN LEGACY TEXT MODE.
      IF sy-subrc = 0.
        DO.
    *Read file contents
          READ DATASET g_dataset INTO gs_string_data.

  • It should be possible to set default behavior for all file types

    It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
    And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
    ''edited to remove swearing''

    I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
    That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
    represents the change I just made when applying Detail view to all Picture folders.?
    This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
    settings), and this is the result:
    this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
    NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
    independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
    performance or reliability.
    Yolanda Zhu
    TechNet Community Support

  • "Backup cancelled because all files were skipped"

    Hi
    I am performing database backup using the following command:
    run {
    allocate channel c1 device type disk;
    backup incremental level 0 database plus archivelog delete input;
    release channel c1;
    restore database validate;
    upon checking the RMAN logs, it finishes and I can tell that it is a good backup. I can also list the backup pieces that had just been backed up. after this step, i want to backup the flash_recovery_area to tape, i used this command:
    run {
    allocate channel t1 device type sbt;
    BACKUP RECOVERY AREA;
    DELETE OBSOLETE DEVICE TYPE sbt;
    release channel t1;
    when i do this, i get this message from the logs, and i dont see any backups on tape:
    ------LOGS-------
    allocated channel: t1
    channel t1: SID=503 device type=SBT
    channel t1: Oracle Secure Backup
    Starting backup at 23-JUL-11
    Specification does not match any archived log in the recovery catalog
    Specification does not match any datafile copy in the repository
    Specification does not match any backupset in the repository
    backup cancelled because all files were skipped
    Finished backup at 23-JUL-11
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 7 days
    no obsolete backups found
    released channel: t1
    RMAN>
    i dont understand why i am getting this message where in fact, i have archivelog, datafile and backupset backed up in my FRA. Any ideas?
    Thanks!

    Hi Oracle ACE,
    Here is the outpur Sir:
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name PROD are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\oracle\flash_recovery_area\PROD\AUTOBACKUP\%d-%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 2 G FORMAT 'C:\oracle\flash_recovery_area\PROD\BACKUPSET\%d-%T-%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SNCFPROD.ORA'; # default

Maybe you are looking for