Templates in sub-directories

My business web site has a usual Templates directory in the root of the master site.  Then, each client is in a sub-directory with their own templates for their own unique site.  When I am working on a particular client, I define their site as a separate site and running link checker at the client / subdirectory level works fine - DW does not know or care in this case that it is part of a larger site.
However, when I run link check on the main site, all the client sub-directory templates and library items show as bad linkes.  Wouldn't be such a problem except it generates about 800 or so "errors" that I have to scan through for real issues.
I assume this is because the client template path is relative to root with a /template in each page?  Is there any way to avoid this?

No. If those files are in the master site, they will be evaluated as part of that site.

Similar Messages

  • How to correct SpryAssets/SpryMenuBar paths in template for sub-directories?

    I recently converted my real estate web site to CSS using Dreamweaver CS4. I use a primary template for most of my pages, which have both a horizontal and a vertical spry menu bar. When I create a page with the template and save it in a sub-directory (not at root level), after a page view,  I get errors on the server such as:
    File does not exist: /home/I_DELETED_THIS/public_html/homes_for_sale/SpryAssets, referer: http://locatehome.com/homes_for_sale/10-2264.htm
    (I replaced part of the URL with "I_DELETED_THIS" since this is posted publicly)
    The SpryAssets directory is at the root level of my site. The template includes the code further below at the bottom of the source code in a non-editable area of the template, which I think is the source of the problem, especially since I get two error messages for each page view and the SpryAssets directory is referenced twice in the following code after the last div. Part of the code is commented out:
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    Can I delete this code from the template or will my menu bars not function if they have sub-menus?
    The template changes the file path for other CSS scripts in the head of the template and links, etc. in the body, but not for this section of code. Is there a way to modify my template so that the path files will be correct when a create new pages in sub-directories?
    I saw one suggestion in the Forum to another user with a related problem that he should manually change the code in this section of the template to have a file path relative to the root, but it seems that the program should automatically be taking care of things like that.
    Many thanks,
    Dave K.

    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var
    MenuBar2 = new Spry.Widget.MenuBar("MenuBar2",
    {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    No you cannot delete the menu constructors, they are the ones that call the menus. The comment tags are purely for browsers that do not have JavaScript enabled.
    As far as template behaviours are concerned, I am afraid that this is not a very helpful forum. You will need to go to the Dreamweaver Forum for that http://forums.adobe.com/community/dreamweaver/dreamweaver_general
    I hope this helps.
    Ben

  • Upgrading from CF 7 to CF10 - Unable to run templates in sub directories

    We are upgrading a server from CF7 to CF10 and have run into an issue with the server throwing a 500 error when executing a CF file in a sub directory. For example, we have a login page which uses Application.cfm. We successfully get through the login process but when we transfer the user to a .cfm file in the sub directory of the main directory, the 500 error occurs. If we transfer the user to an index.html page in the same sub directory, it executes just fine. So this appears to be some type of issue with executing a CFM page only, but the issue is occurring only in a sub directory. Server is Windows 2008 server running CF 10 with the latest Hotfix. Any ideas would be appreciated.
    Thanks, Jeff Hilliard

    Hi Jeff,
    It seems to be an issue specific to CFM pages. ColdFusion and IIS both should have same bitness. If CF is installed in 64-bit mode, then change the App pool (Enable 32 bit applications” set to false) under Advanced Settings. Remove the connector and recreate it.
    Once done, launch command prompt as administrator and try iisreset command. Now you can test your site/CF Admin.
    Regards,
    Anit Kumar

  • Jad in sub directories

    Hello all,
    How can i use JAD to de-compile all the class files in java files in a
    directory and also in its sub-directories in a single statement instead of
    going to each directory and decompile.
    Thank You.
    KK

    Nope... DW wants to find all of its templates in one place.
    Can't you just name the file admin.dwt and keep it in the default
    folder? Then tell your admins that's the one to use?

  • Index.html pages in local sub-directories will not load automatically when sub-directory name entered into address field, followed by a forward-slash

    I am in the process of designing a website-on-a-CD. In order to make things easier for my clients, I decided to organize this site into local sub-directories with an index.html page in each one. However, when I try to enter the local sub-directory name, followed by a forward-slash, the index page does not open automatically. Instead, I get a raw directory listing that includes the index.html file, and anything else that is present within it. I would like to know if there is any way to force this page to load automatically within Firefox from a local storage medium as it would load from a web-server.

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • List all files in a directory, not including the sub directories if any

    Hi,
    I have been looking around php.net for a bit and can not work
    out how i list the files that are in a directory i.e.
    www.site.com/directory/
    I would like the names of each file to be placed in an array,
    but not to have the sub directories in this list should there be
    any.
    I was given some code a while ago that done this but it
    listed the sub directories and i would like them not in this list.
    I do not have this code anymore and do not know where i got
    it, so i can not get it amended to what i need.
    please can someone tell me what line of code i should be
    using.
    thank you in advance for your help.

    (_seb_) wrote:
    > not very clever wrote:
    >> Hi,
    >>
    >> I have been looking around php.net for a bit and can
    not work out how
    >> i list the files that are in a directory i.e.
    >>
    >> www.site.com/directory/
    >>
    >> I would like the names of each file to be placed in
    an array, but not
    >> to have the sub directories in this list should
    there be any.
    >>
    >> I was given some code a while ago that done this but
    it listed the
    >> sub directories and i would like them not in this
    list.
    >>
    >> I do not have this code anymore and do not know
    where i got it, so i
    >> can not get it amended to what i need.
    >>
    >> please can someone tell me what line of code i
    should be using.
    >>
    >> thank you in advance for your help.
    >>
    >>
    >>
    >
    > The follwoing PHP code will do just that. Just replace
    "pathToFolder"
    > with the path to your folder.
    > I made the list of files also link to each file. Just
    remove the link
    > echo if you don't them to be links.
    >
    > <?php
    > // FUNCTION TO LIST FILES:
    > function listFiles($path){
    > if($handle = opendir($path)){
    > while(false !== ($file = readdir($handle))){
    > if (is_file($path.'/'.$file) &&
    !preg_match('/^\./',$file)){
    > $files_array[]=$file;
    > }
    > }
    > }
    > return($files_array);
    > }
    > $path = 'pathToFolder';
    >
    > // CALL THE FUNCTION:
    > $files_array = listFiles($path);
    > foreach($files_array as $file){
    > echo '<p><a
    href="'.$path.'/'.$file.'">'.$file,'</a></p>';
    > }
    >
    > ?>
    >
    I spotted one error:
    foreach($files_array as $file){
    echo '<p><a
    href="'.$path.'/'.$file.'">'.$file,'</a></p>';
    should be:
    foreach($files_array as $file){
    echo '<p><a
    href="'.$path.'/'.$file.'">'.$file.'</a></p>';
    (a dot after $file, not a coma)
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Loop through sub-directories

    Hi,
    I want to loop through the sub-directories of one given folder. How to correct the following problems?
    dir = args[0];
    try
    string [] dirlvl2Ent = Directory.GetDirectories(dir);
    for (string dirlvl2 in dirlvl2Ent)
    Error 1 ; expected F:\App8\Program.cs 50 37 ProcessSWFile
    Error 2 ; expected F:\App8\Program.cs 50 40 ProcessSWFile
    Error 3 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement F:\App8\Program.cs 50 40 ProcessSWFile
    Many Thanks & Best Regards, Hua Min

    for should be foreach.
    string [] dirlvl2Ent = Directory.GetDirectories(dir);
    foreach(string dirlvl2 in dirlvl2Ent)
    jdweng

  • Difference Between Crystal Report Template and Sub Report

    I am not able to get the Report Template Option/menu.
    I am working with Visual Studio 2005 , Crystal Report Version 10.2
    Do i need to have Crystal Report Server in order to work with Template.
    Also i will like to know the diff. between Template and Sub Report?

    Hello,
    The Report Template Wizard is not part of Crystal in .NET. You need to upgrade to the full version of Crystal Reports.
    Template is a base report to work from. Subreport is another report object that can be inserted into a section of the main report.
    Thank you
    Don

  • Include all sub-directories and files?

    I did search, so don't complain that this has been asked a billion times.
    I am using Automator to replace text for files and folders. But this only works with the files and or folders I select, it doesn't do it with the sub-directories and sub-files. How can I config. Automator to do this?
    Thanks.

    The various actions operate on whatever is input to them. If you are referring to the *Rename Finder Items* action, you can use the *Get Folder Contents* action to go into sub folders, but be careful, since this action will go into bundles/packages such as applications and RTFD files.

  • Sub-directories / albums

    Is it possible to create sub-directories of albums in iPhoto 4? Looks like you can create Folders in iPhoto 5 which then contain separate albums, but can you do something similar in iPhoto 4? Basically I want to group all photos from a holiday in Egypt ('master' album/folder called 'Egypt') and the subdivide this into separate albums called e.g. Cairo, Giza, Red Sea etc.) - or is this one of the enancements in iPhoto 5 which couldn't be acieved in earlier versions?
    Neil

    Neil,
    If you have lots of photos have you thought of multiple library folders to speed things up.
    These two apps make it a snap to create multiples and switch between them:
    For using multiple library folders:
    buddy/ manager
    http://nofences.net/iphotoBuddy/
    http://homepage.mac.com/bwebster/iphotolibrarymanager.html

  • Sub-directories in the PDBooks

    Hi,
    I use the distribution list to edit some of my reports and place them in a designated folder.
    When I create a new distribution list, I save it in the PDBooks section by doing this : ePublish > Manage distribution list > Save under. Here we have the possibility to create sub-directories in the PDBooks section. That's what I did.
    We also have the possibility to save the distribution list in the PDBooks section of my team.
    However, when we edit the distribution list (ePublish > Offline Distribution Wizard and then Lockdown and Save to folder), we only have access to the distribution lists saved in the company PDbooks directory (not the directory of my team and not the sub-directories).
    Do you have a solution to classify my distribution list according to the users?
    Thanks
    Christelle

    Hello Joris,
    I am an administrator on BPC and I check that I am a teamleader in my team. Moreover, I have access to publisk books.
    Indeed, I can publish distribution list, but only when they are saved in the company PDBooks.
    Do you have another idea?
    thanks.
    Regards,
    Christelle

  • Sub directories foto's

    I use the IPOD Video, and want to try to get all my foto's on the IPOD. This is not a problem. I give the name of the directorie where the foto's are, and all the foto's are on the IPOD. But I have one probleem. My First level directory, named Holiday have al lot of subdirectory's under it. Example Hollyday Jamaica, Holliday Europe, etc. Whats happen: When I open foto's, Holidays than I see all the pictures, and not the posibilty to open the sub-directories. How can I do this. Please let me know. Thanks

    Ik weet niet over Photo Organizer. Voor mijn gebruik, ik meestal bijsnijdenen vergroten of verkleinen. Ik gebruik "PS Express ". Ik heb ookPhotoPad, ColorSplash, Photobucket en ArtStudio.
    Niet zeker wat is zoals iPhoto, heb ik niet een gevonden. Hopelijk werkt Apple aan een, zoals ze vrijgegeven voor iMovie op de iPhone en iPad 2.
    Ik gebruik translate.google.com te vertalen naar het Nederlands. Ik hoop dat het juist is.

  • Sub-directories

    I am new to iWEB having finally moved over from MS FrontPage. So far so good. I can even work out all the ftp settings etc However, how do I set up sub-directories? So far all my pages are under the home page and are therefore in the nav. bar. I have about 60 pages in my web and I really need to have them in a hierarchical structure.
    Thanks for any help.

    He did it in the Inspector/Page/Page pane:
    Click to view full size
    OT

  • How I search only sub directories in my bookmarks?

    If I do search Firefox searches through all my bookmarks. I only want it to search in the current directory and/or sub directories.
    I do not want to use tags. I just want to search for the name.

    Is there any add-ons that I can use to make searching my bookmarks useful. It is now getting beyond frustrating. I can not believe this program doesn't have a useful way to search.

  • Calling forms from sub-directories

    Greetings,
    I have 19 different apps that are on a Solaris Application server in separate directories. I do have the FORMS_PATH set to the "root" but I was wondering if it is possible to call forms in one of the sub-directories without having to add that sub-directory to the FORMS_PATH.
    So far have tried CALL_FORM('ats/ats_ro_2') and CALL_FORM('/ats/ats_ro_2')
    Regards,
    Bill Chadbourne

    It may be possible, but i would not recommend to do so. What happens if you at some point decide to restructure your applicarion? You would have to adjust all your calls.
    if you really want to go that way and you have only one path in your FORMS_PATH, you could read the FORMS_PATH using TOOLENV.GETVAR and then use the full qualified path to call your forms.

Maybe you are looking for

  • Can't print to Canon LBP7200Cdn after Lion upgrade

    Since upgrading to Lion, I can't register (and therefore can't use) my office printer, a Canon LBP7200Cdn. I tried for weeks to get it to work with the interim driver Canon released with Lion, then gave up and waited for the full driver. Then that di

  • Installing Windows XP from USB - no system installed already

    Hi all, I am a newbie here, so please bear with me. I recently purchased a Lenovo x121e ThinkPad. It did NOT come with an operating system on it. I thought it would be a pretty simple job to install Windows XP from a USB Flash Drive. Apparently not!

  • Filtering XML data by first letter

    I have an XMLList of plant data. I know how to display a subset of data based on matching (thanks, Tracy): _plantsA = _myPlants.(@plantName == "Abelia"); or _cheapPlants = _myPlants.(@price<=5); But what's the syntax for matching plants whose name BE

  • OBIEE 11G server not coming up after window username got chnged

    Hi, We have installed OBIEE 11g and was working fine. But, now the window username of the machine got changed and the BI server is not coming up. Do we need to re-install it or any workaround for this issue. Thanks, Anilesh

  • After iOS8.0... Where are my pictures in streaming???

    I Cant find my pics in streaming, someone knows what happend?