Editable Areas of ColdFusion Tags

I am setting up Dreamweaver templates for a CF-based site.
All pages will have a .cfm extension when they are created. I want
to be able to set up some <CFSET> tags in the head of the
pages that would allow the users to set certain variables on the
page without letting them have full access to the complete tag
since that would be VERY bad for this user group. I tried using
templateParams but I keep getting really weird errors. Any other
ways to do this?

CF is only processed on the server (server-side) - what your
user gets in the browser is straight HTML or other potential
client-side technologies (like JS etc)
Therefore, unless you specify for the browser not to cache
images or content, the browser will manage that on its own.
If you have pages that contain dynamic content based on
queries, you can specify a cache timeout for the query so it does
not keep re-checking the data server, which will speed things up.
If you run your own server and have control over CF Admin and
you only operate a single website where pages never change much,
you can also cache templates; however that can be problematic if
you want certain pages to update with new dynamic content regulalry
- so most people have template caching turned off.

Similar Messages

  • Add Editable Area to HEAD Tag?

    I am working in DW CS 5.5.
    My site has a base template and then a nested template for the Work pages.
    I'm trying to make the items in the vertical menu bar of the Work page editable attributes. When I select Modify > Template > Make Editable Attribute then set Attribute to class, enter a label name and set type to Text I get this error message:
    "There are no editable regions in the HEAD tag to insert the template property tag into. Please add an editable area to the HEAD tag in the base template and try again."
    I'm confused because I do have an editable region in the head. What am I doing wrong?

    Whoops, I should have included the top code in the base template file:
    <!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">
    <!-- TemplateParam name="Home Link" type="text" value="" -->
    <!-- TemplateParam name="About Link" type="text" value="" -->
    <!-- TemplateParam name="Services Link" type="text" value="" -->
    <!-- TemplateParam name="Work Link" type="text" value="" -->
    <!-- TemplateBeginEditable name="head" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Creative Consulting | Fresh Thinking + Clever Ideas</title><meta name="description" content="AFB Creative Consulting helps companies reach new levels of success. Services range from high level business strategy and project management to website design, blog design, email campaign design, logo design, brand development and social networking." />
    <meta name="keywords" content="AFB Creative Consulting, Amy Fuller Boyd, websites, blog, email campaigns, logos, branding, social media, project management, business development, business strategy" />
    <link href='../images/favicon.ico' rel='shortcut icon' type='image/x-icon'/>
    <style type="text/css">
    </style>
    <link href="../afbCCStyles.css" rel="stylesheet" type="text/css" />
    </head>
    <!-- TemplateEndEditable -->

  • Is there a site-wide title tag that I can edit or are the title tags specific to each individual page?

    Is there a site-wide title tag that I can edit or are the title tags specific to each individual page?  I'm working on my title tags for Destination West at http://xibuhaohua.com and as you can see, it is in Chinese here as 西部豪华 but it's English here at Destination West.  So, I'd like to know if I can edit each separately because I think they should be in different languages.

    You can set the title for each page in the Page Properties dialog.
    Note that on a master page, you can set a page title prefix or suffix if you'd like all your pages using that master to share a title prefix or suffix.

  • Contribute Locking out editable areas

    I am having a very strange problem that I am hoping someone
    can help me with. I have a site set up with a Dreamweaver template
    in which the main content area is an editable area. When I open the
    pages in Contribute it is still an editable area unless there is a
    bullet list, then it is still in a green editable area box, but
    gives me the "you can't edit this" mouse pointer and cannot be
    edited. If I got in and remove the <ul> ... </ul> from
    the html the area is editable again.
    Any help would be wonderful, I am going crazy here.

    OK, it has happened again, on a completely different site with a different user and (obviously) different template.  Here's the piece of the page which the CS5 Contribute "publisher" broke:
               <!-- InstanceEndEditable -->
          </div><img src="images/contentRight.jpg" width="53" height="734" alt="content right" style="float:left;" /></div>
        </div>
            <div class="clearfloat"></div>
            <p style="margin-top: 0; margin-bottom: 0;"> </p>
    <div id="footer">
                <p class="links"><a href="classinformation.htm">Class Info</a> |
                <a href="classes.html">Classes</a> |
                <a href="about.html">About Us</a> |
                <a href="register_choose.html">Register</a> |
                <a href="mailto:[email protected]">Contact Us</a> |
                <a href="reporting.html">Reporting Instructions</a> |
                <a href="index.html">Home</a></p>
                <p class="copyright">Site copyright &copy; 2011, Do It Right Protocol.</p>
                <p class="webguy" style="margin-bottom: 0;">Website hosted and maintained by <a href="http://www.maplegate-tech.com">Maplegate Technologies, LLC</a></p>
            </div>
        </div>
    </body>
    <!-- InstanceEnd --></html>
    I've bolded 3 items: the first is the template's end point for the editable region; the footer should not be editable.  The 2 changes show in the empty <p> above the footer div, and the addition of style attribute in the "webguy" paragraph.  Contribute should not have allowed those changes (I think they were made without the user even knowing about it).  The blank <p> tag broke the layout, forcing the graphics abart and adding a blank line.

  • Looking for online web editor to test ColdFusion tags

    Is there any place that I can test basic ColdFusion tags online?  I don't want to install coldfusion, while I want to test and learn some basics.
    I found a web editor at the following link. However, it doesn't provide adequate instructions to use it.
    http://www.riaxe.com/blog/coldfusion/coldfusion-9-web-editor/
    I tried to save the codes as 'test.html' or 'cfmleditor.cfm', then open it with IE or Chrome. None of them worked. Get the following error:
    This webpage is not found
    No webpage was found for the web address:file:///C:/Test/%3Ccfoutput%3E#frameSrc#</cfoutput>
    Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.
    Any advice? Thank you.

    And how *would* you expect a ColdFusion page to display from your computer when you don't have ColdFusion installed? Seeing as you can get a completely free developer edition, what's the reason you don't want to just install it? It would make your life much easier.

  • Getting msg saying cannot edit area

    I've been running across an issue where I'm editing an area
    that is designated an editable area per code/template and suddenly
    when I got to save it brings up a dialog saying "trying to edit an
    area that is not editable" which isn't correct. Sometimes I just
    create a new file from the template and cut and paste the editable
    content and its fine.
    Now I can't do that. It seems to happen when I use
    <div>. For example, I have a logo/text div that must go on
    every page. I created the div's needed and tested it on a clean
    html page and its fine. When I try to put it into the existing page
    within a TD I get that error no matter what.
    The code I'm trying to place is:
    <div id="logo">
    <div id=davidlogo>
    <div id="logo-caption" class="body"><span
    class="body11">Weinhart Design, Inc. <br />
    2337 Roscomare Road, Studio 1<br />
    Los Angeles, California 90077<br />
    310-472-8880</span></div></div>
    </div>

    OK - W3's validator finds 9 errors on the page, most of which
    are arising
    because of a mismatch between the Doctype -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    and the tag syntax -
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-8859-1" />
    (note the use of the XHTML-type closing tag)
    By browsing here -
    http://weinhartdesign.com//Templates/page%20template.dwt
    I can see that your Template (you are aware that DW Templates
    have no
    function on the server, right?) also contains that error -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <HEAD>
    <link rel="shortcut icon" href="../images/favicon.ico">
    <!--TemplateInfo codeOutsideHTMLIsLocked="true"-->
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-8859-1" />
    <!-- TemplateBeginEditable name="doctitle" -->
    This error alone would be enough to trigger the error
    message, I believe.
    Fix all of those XHTML closing tag errors, and let's try the
    validation
    again.
    Also, you have this curiousity -
    </STYLE>
    </SCRIPT>
    <!-- TemplateBeginEditable name="head" -->
    (note that it's not possible to have an ending </style>
    immediately adjacent
    to an ending </script>)
    Fix that one too. Do this in the TEMPLATE page, and allow
    those changes to
    propagate to your child pages. Then let's try again.
    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
    ==================
    "phrarod" <[email protected]> wrote in
    message
    news:gditrt$7c5$[email protected]..
    >
    http://weinhartdesign.com/testvalidate.html

  • JDeveloper editing JSP with Struts tags terribly, terribly slow!?

    I use JDeveloper 10.1.2 and I do not know the reason but it started to take 15min just to change/edit JSP containing Struts tags. RAM memory is 1GB and there is more than 0.5 GB available, but processor usage shows 100% allocated to JDeveloper!? As soon as I do even slight change in a JSP file JDeveloper starts some computations and I have no idea of what it is doing.
    What is JDeveloper computing? It seems it tries to produce some drop-down lists "helping" me to do the editing, add tags and instead I am spending days to just change one small JSP page!
    How can I stop and PREVENT JDeveloper doing ANY "help" during editing of ANY file?
    There must be an option to switch off whatever JDeveloper is doing?
    Many thanks,

    I did that but it is still very slow, it looks like Jdev is doing some intensive calculations whenever I click somewhere on JSP page with tags. Maybe this is related with my other question I posted before this one? Maybe JDev automatically searches for tag libraries it cannot find and copies them to /WEB-INF directory? (other IDEs used in same environment, like Eclipse and IntelliJ, and they do not have this problem)
    Some other strange things: struts-config.xml seems not integrated with CVS from JDev (other files like tiles-config.xml, web.xml etc. are integrated, I can right click and get CVS info on particular file, except struts-config.xml). When I want to check in/out struts-config.xml I have to do it with external tool like WinCVS etc., cannot do that from JDev!

  • Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdow

    Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdowCan't

    There are some keyboard commands (shortcuts) you can use instead of having to go to the Apple menu -
    Control-Eject          This brings up the Restart-Sleep-Cancel-Shutdown window.
    Command-Option-Eject          This puts the machine to sleep.
    Command-Control-Eject          This closes all apps and restarts the machine.
    Command-Option-Control-Eject          This closes all apps and shuts the machine down.

  • Can a PDF template be created with editable and non-editable areas?

    Hi
    Sorry - probably a bit of a newbie question but i can't find an answer to this anywhere. Hope i'm also posting in the most relevant forum - apologies if i'm not.
    I have been asked by a client if i can create (from an existing illustrator CS4 file) a PDF template with restricted editable areas - two to handle text for email and physical address and one to allow logos to be swapped. All other items and text need to be locked. Is it feasible to create this from the Illustrator file (or InDesign, Acrobat Pro etc) and if so how? and what software would the client need in order to do the edits and then save as a final version for print?
    Hope that makes sense and that someone can help.
    thanks in advance, Tom

    Thanks for the reply Niall.
    I ended up chanigng the numeric field to a decimal field instead, and added the following display pattern: num{zzzz9.99'%'}
    So although the user can't enter a % symbol into the field, a % symbol automaticaly populates when the user enters a number.
    My criteria involved ensuring that a user could not enter a number with more than two numbers after the decimal, so I also set a trailing digits max of 2 (in the Obect > Field settings)
    This is the FormCalc formula I used in the "calculate" event to calculate the salary increase amount request: (DecimalField1 * NumericField2) *.01 + NumericField2
    This formula is meant to calculate the salary amount a manager is requesting their employee's salary be increased to.

  • Camera Raw edits are permanent in layered file, therefore "destructive"

    I use scanned 35mm TIFF files and DNG digital files, converted from Nikon NEF files. I edit in Photoshop CS3. I use adjustment layers in Photoshop to retain the ability to revise as needed (the "nondestructive" route). To date I have used Camera Raw sparingly due to the fact that I cannot effectively change those edits once the file is converted to a layered PSD file. I say "effectively" because I guess it would be possible to reconstruct the file by editing the original DNG file containing the Camera Raw edits and add the layers added in Photoshop (some of the layers would probably not transfer effectively, e.g. spotting layers). However I do not think that that is a viable procedure.
    Much is made of the nondestructive nature of Camera Raw edits. However, this appears to me to be illusory since one cannot open the layered file in Camera Raw. Among other books I have read the Fraser/Schewe books on Camera Raw and sharpening. The advice contained in those books are, in part, directly contradictory, i.e. they advise (1) to make all possible edits in Camera Raw since the edits are "nondestructive" and essential to obtaining the best quality file; and (2) always doing sharpening, except for any capture sharpening done in Camera Raw, on a sharpening layer. Well, one cannot accomplish both of these objectives. Once the file is converted to the layered PSD file say goodbye to the opportunity to change the Camera Raw edits.
    So my questions are: 1. Have I missed something? Am I wrong about the inability to change the Camera Raw edits after the file is made into a layered PSD? If there is an effective way to do this, how do I do it? 2. What is your workflow for preserving the ability to undo your edits and how do you balance the workflow between Camera Raw and Photoshop? I find it a bit frustrating that the experts write these books, advocating the glory of nondestructive edits but fail to even comment on the fact that that ability disappears the moment a layer is added in Photoshop (an editing step they also insist is absolutely essential).
    I will appreciate any assistance you are able to offer.

    Please read carefully:
    1.  NOTHING is "destructive" if you do not save over your original file.
    2.  Bearing in mind #1 above, there is no evil in developing input data into an image in which pixel values are set per the controls in Camera Raw.  That's what Camera Raw does best!
    Learning from others is great, but keep in mind sometimes people have an agenda in what they teach and "rules of thumb" like "avoid destructive edits like the plague" are developed to start you off in the right direction.  I'm just saying use your common sense as well.
    -Noel

  • My Edits are there, but 'Revert to Original' has gone

    Sorry, yet another iPhoto problem
    I've noticed that though all my recent iPhoto edits are still there, the 'Revert to Original' has gone, for all of them. And the sliders - which should be in their post-edit positions - are all at zero or default.
    I tested this by duplicating a recent edit, editing it dramatically (full saturation and colour temperature), came out of Edit, and went back in - no clickable Revert, and all sliders back in their default positions. I checked in the menu, and Revert to Original was greyed out.
    I then went into Edit mode and flicked back through the Library. Occasionally the Revert to Original button was clickable, but as far as I can remember, those were all edits done ages ago in a previous version of iPhoto (and maybe not all of them?).
    I thought iPhoto '11 kept track of editing adjustments, i.e. it was non-destructible editing? I appear to have a version that saves and preserves the edit(s), but overwrites the original.

    Starting over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1. Open the library package like this.
    https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-20276325-17180 0/open.PNG
    2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
    3. Drag the subfolders of the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from the open iPhoto Library package into the open iPhoto window a few at a time.
    https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-20276325-17180 2/iPhotolibcontents.PNG
    This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    Sorry, I got your email but your reply hasn't appeared in the Discussions (NOW it has! just when I post the reply..), so I've pasted it here (hope you didn't mind).
    Anyway, since then, when everything else failed, I did already have a look inside the Package, and there I saw all my Original and Modified versions, so I knew they were still there. It's just a case of why iPhoto isn't offering to Revert to them.
    Ok, I have some questions about your latest advice (which is going to be a BIG JOB!!).
    When you say Metadata, do you mean I will lose all the camera's EXIF data (that normally shows if you click Info)?
    What about Ratings? One of the big exercises I'm currently currently halfway through - 4,500 photos! - is rating them all - will I lose all the ratings?
    When you say drag Originals / Masters to the new Library, what about Modified? Remember, I can see all my edits - they are in the Library, it's just that I can't Revert to Original in many cases. If I don't drag the Modifieds over, won't I lose all my edits? (I'd rather lose the Originals!)
    When you say drag the subfolders, they are nested several deep, e.g. 2013 > 09 > 20 > 20130920-193215 > (a bunch of picture files). Do I have to recreate the directory structure, or could I just drag 2013 > 09 in one go, with everything inside it? And would I have to create 2013 folder first, then drag all of 09 into that?
    Sorry to fire so many questions at you - it's a big undertaking. (I might find in the long run, that if ever I want an Original back, I should just Open the Package and retrieve it manually, so it duplicates rather than Reverts. It's not something I do except once in a blue moon, so I might decide to live with the current situation... )
    Anyway, let me know what you think : it's either undertake this major task, or live without being able to Revert To Original from within iPhoto itself.

  • Edited photos will save in edited photos will not  save in photoshop are being saved in my pictures on hard drive. wants me to import edited are being saved in my pictures on hard drive. wants me to import edited photos from my hard drive in to photoshop.

    edited photos will save in edited photos will not save in photoshop are being saved in my pictures on hard drive. wants me to import edited are being saved in my pictures on hard drive. wants me to import edited photos from my hard drive in to photoshop.

    Use iPhoto. What's the problem with iPhoto import? It's a two clicks job. Select your device and click import.

  • Aperture 3 edits are not applied when opening in Photoshop CS5.

    I have Photoshop CS5 selected as external editor.  I apply some edits in Aperture 3 and then open in Photoshop cs5 to do heavier work, but aperture 3 edits are not applied.  I get a new image from Master.  How do I get the edited image to open in Photoshop CS5?  I would rather do the cropping and simpler edits in Aperture, then if needed open the edited file into CS5.  I can open the file, but it is missing all of my edits.  I have basically a raw master file that I have to start with, but don't have the advantage of the raw file.

    I'm right clicking on the photo and selecting -> edit with Edit with Adobe Photoshop CS5.  The photo opens in Adobe, but it doesn't have any of the Aperture edits applied to it.  I would have to start from scratch doing these in photoshop.  I want to be able to do the Raw adjustments in Aperture and then open into Photoshop. 
    To test I applied a crop in Aperture and then opened that file in Photoshop.  The full size image opens in Photoshop. 

  • Content edit area is blank

    After opening the program with a template ... i do not see any content in the edit area on clicking the thumbnail representing a page in the left pane.
    If i try changing the orientation, i am able to see the content being rearranged to the new orinentation.
    Clicking on the content area reveals nothing.
    The content seems to be there as the tools seem to change relevantly based on the content being pointed at (assuming the content being present based on the thumbnail)
    A video showing the problem
    http://youtu.be/HHC-VXi78xo
    Can some one help me overcome this problem.

    The fact that it flashes the correct rendered page indicates to me that iBA is doing what it should, or at least trying. But then when it is blanked, I wonder if something on your computer related to PDF handling, as an example, is jumping in.
    I'm prone to think the issue is particular to your environment, but I don't want to start you on a goose chase, so I think you should contact Apple and make it their problem for now.
    Try calling them, maybe:
    …support phone number call +1 (877) 206-2092.
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.

  • IMovie cuts off the bottom 10% of my video image once it is moved to the editing area.  I need the whole image. How can I solve this?

    iMovie cuts off the bottom 10% of my video image once it is moved to the editing area.  I need the whole image. How can I solve this?

    I have solved the problem by changing the Project Aspect to 4:3 rather than wide screen.

Maybe you are looking for

  • F110  Payment Run

    I am having a problem with F110 Payment run. It's showing the error as: 'Item cannot be paid due to inconsistent withholding tax'. I have done the payment run for the same vendor, same company code and it worked well. Later, I deleted one of the WH T

  • Unable to find the master data loaded request in manage tab

    Hi All, Iam unable to see the loaded request in the master data manage tab after some time of loading. Immediately after loading i could see the request.If i revisit the manage tab,iam unable to see the request. However data is available for the info

  • How do i get at the data in the data package of the start routine

    I have some very simple code in my start routine but it says data-package is not a table but it is SAP code that defines it this way.  here is my code SELECT DOC_NUM S_ORD_ITM CH_ON CREATEDON INTO TABLE T_ORD_BKG_DATA FROM DATA_PACKAGE.

  • Discoverer 11g EUL command line error granting privileges

    I'm testing Discoverer 11g (Desktop and Administrator 11.1.3) in order to upgrade from 10g. On 10g we have some scripts that automate many things using EUL command line. The first difference I've found is than in 10g we used directly eulbuilder.jar,

  • Installing jms support in Oracle Workflow 2.6.2

    Hello everybody, We are doing a pilot to a client that is looking for a workflow engine. We want to offer him Oracle Workflow 2.6.2. The client ask us to do a pilot where he can send event using java through JMS. I have found in OTN a document about