Modify template behaviour

Does any one know of an extension that will modify
Dreamweaver to allow me to add an editable region to a template
that appears before the document headers are sent.
The reason I need this is so I can create templates that have
php script before the headers are sent that is not locked with the
codeOutsideHTMLIsLocked="false".
I actually want to have some php script that is in the
template (so it is added and updated on all pages based on that
template) so I have to lock the code outside the HTML. But I need
to allow page specific code to be added outside the HTML as well.
Has anyone got any ideas?
Cheers,
Mike

Make sure you read the F1 Help about how to use templates
before going any
further.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"wmspringer" <[email protected]> wrote in
message
news:el31eo$amf$[email protected]..
>I just created my first template, but I can't make
anything editable
>because the Modify->Template Properties option is
greyed out. Any
>suggestions?

Similar Messages

  • Modify the behaviour of an aggregate function

    Hi all,
    I have to modify the behaviour of a measure (ex: MEASURE) object depending on the value assumed by a dimension (ex:DIMENSION) object.
    When the dimension objects is a number the measure is sum([measure])
    When the dimension is " " (in the DB there is a space when there is no value for that dimension object) the measure is 0 (the top would be putting "NA" instead of "0" but the measure is a numeric field so I'm not sure...)
    I'm working on BO 6.5, SQL SERVER and I noticed that only the function "CASE WHEN THEN ELSE" is supported.
    Can anybody tell me if I have to work on Web intelligence or Designer and write for me precisely the function I should use?
    Regards

    Hi
    what is the data type of you key figure in the database and in the BO universe?
    All error messages indicate problems on the DB side.
    I assume that you have to cast your key figure in the CASE statement to another data type than integer.
    Or you can try the following
    sum(CASE
    WHEN table1.dimension_objects = ' '
    THEN table2.measure_object
    ELSE 0.0
    END)
    This should return a float value
    Regards,
    Stratos

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • Any Guide for Modifying Templates/Adding Custom CSS???

    I have purchased (and, yes, read...smarty pants) all of the APress, Oracle Application Express 4 books. I have searched The Google.
    We need just one, step-by-step, excruciatingly detailed example of modifying a template, for example to add in a custom header. Also, we need to add additional css files and static javascript files. To be clear, we do not want to have to reference the javascript in the page header of every page. We want to build all of this all in to a single template.
    Does anyone know of a site, or even a book, or even a reasonably priced, personally authored example that would contain this information?
    I see people everywhere who refer to changes they've made to their templates. People reply to my posts routinely suggesting that, rather than the Page 0/Page Header shenanigans that I have to engage in, it would be "much simpler" to edit the template.
    How can I enter the secret cabal of those who know how this is to be done? How I ask you? How?
    -Joe

    Scott,
    Thanks for responding. I use your blog a lot and appreciate your taking the time to share.
    The frustrating thing is that I am certain that the process is probably simple. As you say, "the trick is knowing what to cut and where to paste it," Why is there no documentation for this important part of the product?
    It's one thing to request to expense books (or even to pay a couple of hours of consulting time) but, a completely different (and most probably unobtainable) level to request to spend 3 grand and a week out of the office to attend a class.
    Actually, what we are trying to accomplish is much less ambitions than mimicking a whole, corporate UI. Here's all we are trying to do:
    1. Swap out the header image (I am doing this now with a dynamic action on Page 0...ugly).
    // Put in the ICE Header
    var headerCollection = document.getElementsByTagName("hgroup");
    findMeText1 = '<div id="jive-global-header"><div id="jive-global-header-texture" class="minwidth"><div style="background: none repeat scroll 0% 0% rgb(20, 39, 69); width: 100%; height: 90px; float: left;"><a href="/" style="float:left;"><img src="/i/ice/header_left.jpg" alt="" class="ie6png" display="inline-block" height="90px"></a><a href="/" style="float:right;"><img src="/i/ice/header_right.jpg" alt="" class="ie6png ice-fr" display="inline-block" height="90px"></a></div></div></div><div class="uAPEXNavBar"><ul><li><last_refresh></last_refresh></li><li><a href="apex_authentication.logout?p_app_id=101&amp;p_session_id=674943730496401">Logout</a><a class="eLink" title="Edit" href="javascript:popupURL(' + 'f?p=4000:329:695373120008301::::P329_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:7048743088564074,101,1' + ');" tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink"></a></li></ul></div>';
    headerCollection[0].innerHTML = findMeText1;2. Create a new report template called "squashed" or the like where we pack in as much data as possible (think of Access)...no padding, smaller fonts, etc. We want to be able to pick this style for a report region and have it apply these format changes. (I am doing this now in the region header of every page where this is needed...ugly)
    Region Header:
    <style type="text/css">
    #apexir_DATA_PANEL > table .apexir_WORKSHEET_DATA th {padding:0px 1px 0px 1px; margin:0px; font-size:12px; font-weight:bold; vertical-align: bottom;}
    #apexir_DATA_PANEL > table .apexir_WORKSHEET_DATA th div {padding:0px 1px 0px 1px; margin:0px; font-size:12px; font-weight:bold;}
    #apexir_DATA_PANEL > table .apexir_WORKSHEET_DATA td { padding:0px 1px 0px 1px; BORDER-LEFT: #ddd 1px solid; white-space: nowrap;  font-size:10px; }
    #apexir_DATA_PANEL > table .apexir_WORKSHEET_DATA a { text-decoration: none; border-bottom:1px dashed; }
    .look1 {padding:0px 1px 0px 1px;}
    .look2 {padding:0px 1px 0px 1px;}
    </style>3. Conglomeration of common JavaScript into a resource file. (I am doing this now by, uploading the static files and then including a "<script>" tag set in the Page Header on every page...very ugly)
    <script src="#APP_IMAGES#commonRisk.js" type="text/javascript"></script>4. The addition of a drop down menu. We have the css and JavaScript needed to do this. Haven't got this working yet. We just want the css and JavaScript already as part of the template rather having to reference them mnanually on every page.
    -Joe

  • I am unable to modify template properties

    Hello,
    I have noticed that I am unable to modify properties of my template. The "Template Properties"  menu is disabled.
    I made a basic html page and saved as template, by thinking that my template is not proper.
    But nothing change
    What migth be reason for this strange situation in CS5 and the any solution?
    Thanks

    Of course I have editable regions.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateParam name="OptionalRegion1" type="boolean" value="true" -->
    <!-- TemplateBeginEditable name="head" -->head<!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable -->
    <!-- TemplateBeginIf cond="OptionalRegion1" --><!-- TemplateBeginEditable name="EditRegion3" -->OptionalRegion1<!-- TemplateEndEditable --><!-- TemplateEndIf -->
    </body>
    </html>
    I am trying to change OptionalRegion1 property to enable/disable

  • Stationery (templates) behaviour question

    As a Licensed Old Crank, I've done what I can to get rid of Starting Points, and never have gone into Templates. Recently I created a blank, landscape oriented 11x17 document in Draw and saved it where I wanted, as Stationery (.cws) for on-going use ignoring the Templates default.
    When I open the document w/ a double click, a window in my format pops open called "Untitled" just as expected. But unexpectedly, my Stationery document makes a copy of itself called "<name> copy.cws", or copy1, 2 etc. if there's already such a document. Each one behaves as Stationery, but none 'is' the item I'm working with, just waiting for a new name, or to swap its .cws for a .cwk on saving. Of course using a tedious Open… dialogue in AW (and having to select the document type AWTemplates, which are apparently not AW Documents) works perfectly.
    It's only for my amusement that I ask; is there an accepted theory about the purpose intended by such bizarre non-standard behaviour? Has it ever been reported elswhere in the Applverse? Or does it join List View in Tiger's Finder that unaccountably has no Cut in its Edit menu in the Hall of Apple Oddities?
    Message was edited by: Ed Hanna
    Message was edited by: Ed Hanna

    AppleWorks template files are intended to be opened from Starting Points (they contain information that AW uses to organize your template files). It doesn't hurt anything, but is just a matter of self-preservation. AppleWorks has indexed those template files so you can find them easily from within AppleWorks. If your Mac has multiple user accounts, it keeps each user's templates separate from the others, while allowing all users access to the common templates. When you try to open them from the Finder, AW immediately makes a copy of it to make it harder for you to make an inadvertent change to the original indexed version.
    If you want to be able to double-click a template, you can use my solution to delete the original template after a "copy" was created, then remove "(space)copy" from the name of the copy created. I found that this copy (now named as the original template) will not create copies.

  • Can not modify template CR 8.8 of SAP

    Hi all!
    I have problem when i modify the template CR 8.8 of SAP that i downloaded form portal of SAP.
    File name: XX-1.2.b1p
    After i modified the template with some work as insert logo, modify text,.... and then i attached in to SAP B1 8.8 but when i print this template, error appears.
    Please help me!
    Thanks!

    Hi!
    OK, no problem. you don't save as this report with another name
    You should export file rpt, it will done
    Thanks!

  • DW CS5 modify template head anomaly

    Hi
    I have an established site based on a single template with external css defined outside an editable region below the default editable region into which the page title can be inserted.
    To override a CSS class on one page, I added the new style into the title editable region which is above the point where the external css gets included, but this does not result in the modified style being applied.
    To overcome this, I added an additional editable region just above the </head> tag in the template expecting that it would propagate across the site when saved.
    What actually happened was that the editable region relocated itself to just below the <head> section both in the template and the child pages - ie to after the </head> tag and before the <body> tag.  If I move the new editable region so it is no longer the final line before the </head> tag, then it works as expected.
    This smells like a bug in CS5, but before I report it I thought I'd better check to see if this is a universal issue or just on my system.
    Comments please.

    Well, the code validated OK in DW with no errors and looked OK to me, but you're welcome to see if you can spot something in the head region where the problem occurred.  Edit Region 5 is what caused the problem - below it is in the position that works - nothing else is different.  I have removed my Google Analytics ID and added two CAPITALISED comments to show where the problem occurred.
    The trigger for the unwanted move was saving the template and propagating the change to child page, which resulted in the move both in the template and the children.  If there was an error, then I would expect an error message of some sort, not unilateral unwanted editing.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Forum</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="../ACA2.css" rel="stylesheet" type="text/css" />
    <script src="../js/ACA2.js" type="text/javascript"></script>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <!-- TemplateBeginEditable name="EditRegion5" --><!-- TemplateEndEditable -->
    <script type="text/javascript">
    try{
    var pageTracker = _gat._getTracker("UA-xxxxxxx-14");
    pageTracker._trackPageview();
    } catch(err) {}
    </script>
    <!-- EDIT REGION CREATED HERE-->
    </head>
    <!--  THIS IS WHERE DW MOVED THE EDIT REGION WHEN INSERTED IMMEDIATELY BEFORE THE </HEAD> TAG -->
    <body>
    <div class="container"> <a name="pageTop"></a>

  • How to modify template

    Hi.  I am new to ITS.
    I need to modify a template at location Internet services => System => Theme DM => HTML Templates => GENERATOR
    How do I modify this template, SE80?
    Once modified, is the change active?  Do I need to publish the changes?
    Thanks,
    Kevin

    Are you SURE you want to modify that one? I ask because it is used all over most all of the ITS services.
    (1) If you DO modify that one, you will do so in SE80 and then YES you will have to publish it out. (* that's a general rule in ITS development...publish = activate)
    (2) As an alternative, you could override your function or whatever by making a local "Z" function to call. Then just replace the standard function calls with your custom one.

  • JCAPS 5.1.1 - Properties to modify jcd behaviour at runtime

    I need to create jcds whose behaviour may be customized via runtime properties.
    Currently, one possible way I found is to create one property file and access it via java code directly from within the jcd; this is nice because properties are modifiable at runtime, but needs some custom code to be added to the jcd and extrenal properties files to be mantained.
    Anyone can suggest if there is a way to acheive similar functionalities, but using only JCAPS tools? For example Environment Variables or other ...
    Thanks
    Davide

    Hi,
    the projects I run are very similar, and the most of times I can reuse the same projects, and in particular JCDs, by simply changing very little things.
    Thus, I started creating JCDs whose behaviour can be a little bit customized to meet tha requirements of different installations. This way, on installation (and here is the scope), I only have to import a "standard" project and configure just some properties to adapt it to the peculiar needs of the customer.
    Could the Environmental Variables be useful in this? I would be glad of this. By now I haven't found a way to read, from within a JCD, the value of environmental variables ...

  • Modifying the behaviour of spry tooltip - "pinning to the screen"

    Hi there,
    I have some spry tooltips containing content with links. These tootips are not really that large, but the links change the content of the tooltip. Often, since these tooltips contain links that may be near to the bottom of the visible tooltip content, if the linked-to content is smaller than the previous tooltip, the mouseout event will fire and the tootip will close.
    The triggers for the tooltips can be quite dense in frequency, and I want to keep the delay to a minimum to help swift movement over these dense areas. The problem is that the change in size of the tooltips can catch the browser unaware, and when the tooltip closes it can be quite annoying, (as  the browsing within the tooltip would have to be repeated from the first trigger to access the links in the tooltip.) Changing the hide delay option doesn't really work for me.. I want the showdelay to be quite small, so the hidedelay has to be small also.
    I want to place a checkbox in the tooltip to "pin" it open. I am completely stumped on how to do this. I can quite happily place and replace the checkbox, write event handlers etc.. but the complexity of the spry tooltip code seems indecipherable for me to modify it to my needs.
    I need a 'hack' that will disable the appear/disappear behaviour of the tooltip (as well as the triggers), so that leaving the tooltip or manoevering the mouse outside, and over any other triggers will not change the tooltip displayed, whilst keeping the internal content displayed with its links still working.
    Then, after the checkbox is cleared, normal behaviour to resume.
    If there is a simple fix,.. like duplicating the content into another div styled similarly and replacing the tooltip on screen altogether, at the same position - that'd be great... but how do I do this seamlessly and deactivate/reactivate the tooltip efficiently? I would need to access the position of the tooltip for this, So I still have trouble!
    Please, any help would be greatly appreciated!!
    Many thanks,
    Alex

    Hi Narayan,<br /><br />Thanks for pointing me in the right direction.<br />Using the following code snippet, I was able to figure out the ActionIDs that I needed to filter:<br />>// You can run this code from a codesnippet in the debug build and watch the trace output (with the Test >> Trace >> Obsolete >> Obsolete:Actions category enabled)<br /><br />>MessageToConsole ("Dumping ActionID Info begin...\n");<br /><br />>InterfacePtr<IApplication> theApp(gSession->QueryApplication());<br /><br />>InterfacePtr<IActionManager> actionManager(theApp->QueryActionManager());<br /><br />>actionManager->DumpActionInfo(IActionManager::allActionInfo);<br /><br />Namely, I need to filter kEditOriginalActionID/kLinksPanelMenuComponentBoss and kEditOriginalSelectionActionID/kLinksPanelMenuComponentBoss<br />Everything seems straighforward for the kEditOriginalSelectionActionID ActionID. I just perform my action on the links currently selected in the current document.<br />For the kEditOriginalActionID though, it is necessary for me to know which links are selected in the Links Panel.<br /><br />Any idea how I might do this?<br /><br />Thanks again,<br /><br />- Jackeen

  • Xcelsius 2008 Webinar Today 10am PST / 1pm EST (Modifying Templates)

    For everyone who is interested in finding out how to modify the templates that came with the tool they should attend this webinar today!
    https://boc.sdn.sap.com/node/19879
    It is being presented by Cliff Alper of Analysis Factory (http://www.analysisfactory.com) who is considered to be one of our Gurus.  Enjoy!
    Hope this helps!
    Xcelsius Gurus
    http://www.everythingxcelsius.com
    "Xcelsius Gurus share templates, tips, reviews, tricks and much more!"

    Hi Owen,
    Yes there will (it does however take a few days sometimes for them to post it up).
    In case you don't have this here is a link to all the BOBJ Seminars.
    https://boc.sdn.sap.com/webinars
    Hope this helps!
    Xcelsius Gurus
    http://www.everythingxcelsius.com
    "Xcelsius Gurus share templates, tips, reviews, tricks and much more!"

  • Exporting Markers - Modifying Template

    Hi,
    When exporting markers, is it possible to modify the export template? I'd like to remove a few columns of data that are not necessary for my desired log.
    Thanks for any info!

    Hi Michael,
    Thanks for the quick reply! Only downside to cleanup in Excel is the loss of thumbnails.
    My current logging need is to report 3rd Party Media Usage within a finished program. Here we really only need IN/OUT/DUR and COMMENT field. Thumbnail export is a great bonus! (I used Sub-Clip to create a quick test.)
    It would be a nice feature to be able to select what data to display on export, or modify a template.
    Thanks Again,
    Aaron

  • Strange Template Behaviour

    I have just put "<link rel="shortcut icon"
    href="favicon.ico" type="image/x-icon" />" in my index.dwt,
    saved it and D8 has updated my child page to "<link
    rel="shortcut icon" href="Templates/favicon.ico"
    type="image/x-icon" /> directing the image source to the
    templates folder!
    How do I stop this behaviour. I've had this before. I can't
    change it there because it's not an editable region. Thanks

    It's doing what you told it to do, by this link -
    <link rel="shortcut icon" href="favicon.ico"
    which suggests that the favicon.ico file *is* in the
    templates folder. All
    links in your template must be relative to the template,
    relative to the
    root of the site, or absolute. This one is relative to the
    template, and it
    says that the favicon is in the same folder. I suspect you
    manually entered
    the code and were thinking about the location where you would
    save the child
    page. Don't do that....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ROGM" <[email protected]> wrote in message
    news:emsa2m$iam$[email protected]..
    >I have just put "<link rel="shortcut icon"
    href="favicon.ico"
    > type="image/x-icon" />" in my index.dwt, saved it and
    D8 has updated my
    > child
    > page to "<link rel="shortcut icon"
    href="Templates/favicon.ico"
    > type="image/x-icon" /> directing the image source to
    the templates folder!
    >
    > How do I stop this behaviour. I've had this before. I
    can't change it
    > there
    > because it's not an editable region. Thanks
    >

  • Modifying template... help?

    Hi,
    I'm using Motion version 1. I found a really great template at http://peterwiggins.com/motiondownload.htm... it's a moving filmstrip template. The author states in the accompanying notes that it can be easily modified to add more filstrip cells. I've played and monkied around with it, and I know that I'm a complete newbie, but I can't figure it out. Would anyone be willing top explain this to me like the Motion-idiot I am? THANKS!

    I just took a look at the project, and you can just copy any of the frames that are already there (ie: Frame 1).
    Move them to the start or end of the strip.
    I'd turn off the Sphere filter so that it's easier to align them.
    Also if you've added more frames, you may want to have the movement last longer. The Layer called "Single Frames" has it's Position animated.
    Hope that helps.

Maybe you are looking for

  • 5th generation Ipod Touch won't charge past 20%?

    I bought my 32 gb 5th generation Ipod Touch not more than 2 weeks ago at my local Walmart. Everything was working perfectly until today. All day, my ipod would charge until 20%.. run on this charge for approximately 10 minutes, and then die again. It

  • I need to locate my WPA security passphrase

    I 'lost' the connection between my HP printer (J6480) and in trying to reestablish it I get this message: 'Your wireless router requires a WPA security passphrase. The passphrase configured on your HP printer does not match exactly. Run the wireless

  • HT3209 can't watch hd movie on computer, purchased on ipad, what do I do

    My husband bought movies with his ipad2 that we are unable to watch on the pc laptop. Apparently the movies are in HD which our laptop is unable to support. Is there something I can do to view the movies (redownload in SD?). I thought I needed to bac

  • Can someone please vectorize the following image :)

    Hello. I was wondering if anyone could vectorize the following image and upload it as an .ai file?  It's going to be a vital part of a birthday present for a friend, but I need to upscale it to a bigger proportion; however, the current image is a .pn

  • URL for Oracle Applications

    I have access to oracle appplication 11i server and I want to login to apps for concurrent manager status .Where can I find the URL of Oracle Applications 11i?