Locked Regions & Server Behaviors

Hi:
Any help to resolve this problem
making this change would require changing code that is locked
by a template or a translator
I use templates in all of my projects along with server
behaviors, and i frequently get this error.
I have worked around this by adding necessary recordset
behaviors before applying template but sometimes you don't know
always what you would be requiring at the end and even if i do know
the Recordset pagination invokes this error which I actually use
after applying template to my page.
Sometimes i would apply a recordset in a temporary file and
will copy the pertinent code from there to the page i am working
on.
I want an efficient approach to use server behaviors without
any conflict with templates. I usually have simple templates with a
single editable field for recordset display.
Is it something wrong with the way I am creating template or
what should be the approach to avoid this error. Further sometimes
I do have server behaviors inside templates (not always).
P.S. Post earlier to General Category but I believe this is
the right one.

The page validates without adding the SB?
I can see nothing wrong with your markup as posted.
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
==================
"Saad Shams" <[email protected]> wrote in
message
news:[email protected]...
> Still I am unable to track the problem. To avoid future
problems, where
> exactly
> do you suggest me to place code within head section. I
doubt that it may
> happened due to code in head section at arbitrary
places.
>
> I have checked with creating a simple template with few
tables in it,
> adding
> server behaviors works fine, as a result of increase in
design/code may be
> due
> to addition of code in head section, i believe it
happens due to that.
>
> Here is a pattern of dreamweaver head section of a
template, suggest me a
> safest place within this region.
>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- TemplateEndEditable -->
> <!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
> </head>
>
> Well at this point, i added some SB and the error
appears again on further
> SBs, check it yourself.
>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- TemplateEndEditable -->
> <!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
> <?php mysql_select_db($database_connBalanaa,
$connBalanaa);
> $query_Recordset1 = "SELECT * FROM advertise";
> $Recordset1 = mysql_query($query_Recordset1,
$connBalanaa) or
> die(mysql_error());
> $row_Recordset1 = mysql_fetch_assoc($Recordset1);
> $totalRows_Recordset1 =
mysql_num_rows($Recordset1);?>
> </head>
>
> Can't add any further Recordset after that on CHILD
Pages.
>
> Looking forward to your kind suggestions.
>

Similar Messages

  • Help with repeating region server behavior

    Using instructions in David Powers' book, I've been able to connect to a PHP database and list records in a table using the repeating region server behavior.
    I now have a table like the following example:
    Header 1
    Header 2
    Album
    Image
    Birds
    Bald Eagle
    Birds
    Great Egret
    Birds
    Meadowlark
    Butterflies
    American Lady
    Butterflies
    Common Buckeye
    Butterflies
    Monarch
    Mammals
    Deer
    Mammals
    Flying Squirrel
    Mammals
    Raccoon
    etc.
    etc.
    Is there a way to make the table like the following?
    Header 1
    Header 2
    Album
    Image
    Birds
    Bald Eagle
    Great Egret
    Meadowlark
    Butterflies
    American Lady
    Common Buckeye
    Monarch
    Mammals
    Deer
    Flying Squirrel
    Raccoon
    etc.
    etc.
    Thank you for helping a novice with this.

    yubinax wrote:
    i downloaded a FREE RANDOM SERVER BEHAVIOR ON THIS SIET
    This is a user-to-user forum for the (discontinued) Dreamweaver extension 'ADDT' which doesn´t come with such a server behaviour. BTW, it´s hard to guess which extension you´re referring to exactly, and I suggest contacting the developer of that extension for help.
    Cheers,
    Günter

  • Show region server behaviors

    Regarding Dreamweaver's dynamic website option of "insert>data object>show region>show if recordset not empty", is there any way to create a show region which only shows the HTML if a particular record from the recordset is not empty?

    No.
    what I need is that when a recordset does turn up information (i.e. the searched-for database row has inputed values in its columns), yet one of those columns is blank then I do not want to show certains text.

  • How to make server behaviors repeat region vertical?

    I have done many "Server Behavior, Repeat Region" showing vertical list without any other setup, now I’m doing a new one and is showing horizontal which doesn't make any sense. Does anybody know why and how to fix this “bad behavior”?

    This is very simple page no external or internal css is for internal use only to retrieve data base information. I currently have to more from different sites working fine without any third party app or any extra coding effort.  here are codes.
    Thank you guys for your prompt response.
    <?php require_once('Connections/customers.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_customers, $customers);
    $query_Recordset1 = "SELECT * FROM customers";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $customers) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    <!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" />
    <meta name="viewport" content="width=device-width" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="158%" border="1">
      <tr>
      <th scope="col">ID</th>
        <th scope="col">Name</th>
        <th scope="col">Last Name</th>
        <th scope="col">Address</th>
        <th scope="col">City</th>
        <th scope="col">State</th>
        <th scope="col">Zip Code</th>
        <th scope="col">E-mail</th>
        <th scope="col">Phone</th>
        <th scope="col">Username</th>
        <th scope="col">Password</th>
        <th scope="col">Role</th>
      </tr>
      <tr>
        <?php do { ?>
          <td align="left"><?php echo $row_Recordset1['id']; ?></td>
          <td align="left"><?php echo $row_Recordset1['name']; ?></td>
          <td align="left"><?php echo $row_Recordset1['lname']; ?></td>
          <td align="left"><?php echo $row_Recordset1['address']; ?></td>
          <td align="left"><?php echo $row_Recordset1['city']; ?></td>
          <td align="left"><?php echo $row_Recordset1['state']; ?></td>
          <td align="left"><?php echo $row_Recordset1['zip']; ?></td>
          <td align="left"><?php echo $row_Recordset1['email']; ?></td>
          <td align="left"><?php echo $row_Recordset1['phone']; ?></td>
          <td align="left"><?php echo $row_Recordset1['username']; ?></td>
          <td align="left"><?php echo $row_Recordset1['password']; ?></td>
          <td align="left"><?php echo $row_Recordset1['role']; ?></td>
          <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
      </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

  • DW CC 2014 Server Behaviors directly gone!

    DW CC 2014 Server Behaviors directly gone, I expect a year, did not expect the worst fears happened, does no longer appear in the Server Behaviors DW inside yet! This is the DW biggest regret it!

    Hi Lefing,
    See this discussion Re: Dreamweaver CC 2014 and Server Behaviors. I am locking this post so that we can have all this discussion in one forum post.
    Thanks,
    Preran

  • Parse errors from server behaviors

    I have created an input form for a mysql/php database set up on my testing server with a set of fields in a repeat region. All the fields are properly displayed when I switch to LiveView or browser preview. I am, however, having the following problem with server behaviors:
    If I add “Display Total Records” at the bottom, it displays just fine, but if I try to add the behaviors for previous page, next page, starting record number or ending record number, I get this:
    Parse error: syntax error, unexpected ';' in C:\XAMPP\htdocs\LEAP\admin.php on line 81
    Lines 81-84  read:
    $totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
    $pageNum_VolApp = 0;
    if (isset($_GET['pageNum_VolApp'])) {
      $pageNum_VolApp = $_GET['pageNum_VolApp'];
    I also cannot switch the repeat region to “show all records.” This results in a similar syntax error.
    What is a parse error? What problem is indicated? thanks.

    What is a parse error? What problem is indicated? thanks.
    It's an error in code. The error is in the following line:
    $totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
    That line is nonsense in PHP terms. It has almost certainly been created as a result of not removing server behavior code correctly when making changes to a page. You can't edit PHP code simply by selecting dynamic text in Design view and deleting it. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel and click the minus button.
    The code you have posted here looks so badly corrupted, I suggest you start the page again.

  • Server Behaviors (Newbie questions)

    Hi all,
    I'm new to Dreamweaver and am trying to get a basic site set
    up.
    I have a Linux account with MySql at Godaddy.com for the
    server, and enough of the database set up to get me started.
    The tutorials I have seen always stop short of a full
    explanation so I don't have a good resource for information yet:\
    Is it possible to add server behaviors to pages that are
    based on a template?
    It seems most behavior's I try to add to these forms give
    something like 'cannot add code outside the <html> block,
    changes will be discarded' when I try to apply them - any idea
    whats going on there?
    Is a good source of server behaviors? I downloaded the
    Developer Toolbox and haven't had much luck with any of those tools
    - are they compatable with the standard behaviors (mostly regarding
    login/logout at this point)?
    What do I have to do to get a logout to actually log me out?
    When I click the link, it redirects me to my logged out page, but
    the conditional region (if logged in, show logout, else show login)
    always says logout (I think meaning the logout didn't work)?
    I know I'll have a bunch more questions, but would rather
    look them up until I have a real issue.
    Thanks for any help!
    Dan

    Hi Dan:
    Maybe these technote might be useful:
    http://www.adobe.com/go/tn_16531
    HTH
    Andres Cayon
    Spain Adobe Dreamweaver User Group
    http://www.dwug.es
    "ParDHarD" <[email protected]> escribió
    en el mensaje de noticias
    news:fhn4fq$h34$[email protected]..
    > Hi all,
    > I'm new to Dreamweaver and am trying to get a basic site
    set up.
    > I have a Linux account with MySql at Godaddy.com for the
    server, and
    > enough of
    > the database set up to get me started.
    > The tutorials I have seen always stop short of a full
    explanation so I
    > don't
    > have a good resource for information yet:\
    >
    > Is it possible to add server behaviors to pages that are
    based on a
    > template?
    >
    > It seems most behavior's I try to add to these forms
    give something like
    > 'cannot add code outside the <html> block, changes
    will be discarded' when
    > I
    > try to apply them - any idea whats going on there?
    >
    > Is a good source of server behaviors? I downloaded the
    Developer Toolbox
    > and
    > haven't had much luck with any of those tools - are they
    compatable with
    > the
    > standard behaviors (mostly regarding login/logout at
    this point)?
    >
    > What do I have to do to get a logout to actually log me
    out? When I click
    > the
    > link, it redirects me to my logged out page, but the
    conditional region
    > (if
    > logged in, show logout, else show login) always says
    logout (I think
    > meaning
    > the logout didn't work)?
    >
    > I know I'll have a bunch more questions, but would
    rather look them up
    > until I
    > have a real issue.
    > Thanks for any help!
    >
    > Dan
    >

  • Login Server behavior problem

    Hello,
    I'm trying to have a couple of pages with restricted access
    on our website.
    Using DWMX2004 and Coldfusion on Windows XP.
    I used the login server behavior to achieve this.
    It seems to work fine when the user name (email address in
    this case) and password are not in the database, redirecting to the
    failed login page, but when the user and password are correct I get
    an error message ("Variable MM_LOGINACTION is undefined") and the
    redirection doesn't happen.
    I'm far from an expert, and I'm struggling to understand the
    code, especially the reason why a CGI variable is used...
    Could anyone please help me ?
    Thanks in advance.
    Ann
    Here is the code of my login page (which is not in the root
    directory, but in a folder ../en/):
    <cfif IsDefined("FORM.txtEmail")>
    <cfset
    MM_redirectLoginSuccess="brochures_download.cfm">
    <cfset MM_redirectLoginFailed="brochures_new.cfm">
    <cfquery name="MM_rsUser" datasource="Calliope">
    SELECT UserEmail,UserPass FROM tblUsers WHERE
    UserEmail='#FORM.txtEmail#' AND UserPass='#FORM.txtPass#'
    </cfquery>
    <cfif MM_rsUser.RecordCount NEQ 0>
    <cftry>
    <cflock scope="Session" timeout="30" type="Exclusive">
    <cfset Session.MM_Username=FORM.txtEmail>
    <cfset Session.MM_UserAuthorization="">
    </cflock>
    <cfif IsDefined("URL.accessdenied") AND false>
    <cfset MM_redirectLoginSuccess=URL.accessdenied>
    </cfif>
    <cflocation url="#MM_redirectLoginSuccess#"
    addtoken="no">
    <cfcatch type="Lock">
    <!--- code for handling timeout of cflock --->
    </cfcatch>
    </cftry>
    <cfelse>
    <cflocation url="#MM_redirectLoginFailed#"
    addtoken="no">
    </cfif>
    <cfelse>
    <cfset MM_LoginAction=CGI.SCRIPT_NAME>
    <cfif CGI.QUERY_STRING NEQ "">
    <cfset MM_LoginAction=MM_LoginAction & "?" &
    XMLFormat(CGI.QUERY_STRING)>
    </cfif>
    </cfif>
    <html>
    <head>
    </head>
    <body>
    <form
    ACTION="<cfoutput>#MM_loginAction#</cfoutput>"
    METHOD="POST" name="FORM">
    <table width="100%" cellpadding="2" cellspacing="2">
    <tr>
    <td>Your email </td>
    <td><input name="txtEmail" type="text"
    id="txtEmail" size="65"></td>
    </tr>
    <tr>
    <td>Password</td>
    <td><input name="txtPass" type="text" id="txtPass"
    size="8"></td>
    </tr>
    <tr>
    <td> </td>
    <td><input name="Login" type="submit" id="Login"
    value="Login"></td>
    <td> </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    You need to ensure that sessions have been enabled in your
    application.cfm
    file.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "kangy" <[email protected]> wrote in message
    news:[email protected]...
    > Hello,
    >
    > I'm trying to have a couple of pages with restricted
    access on our
    > website.
    > Using DWMX2004 and Coldfusion on Windows XP.
    >
    > I used the login server behavior to achieve this.
    > It seems to work fine when the user name (email address
    in this case) and
    > password are not in the database, redirecting to the
    failed login page,
    > but
    > when the user and password are correct I get an error
    message ("Variable
    > MM_LOGINACTION is undefined") and the redirection
    doesn't happen.
    >
    > I'm far from an expert, and I'm struggling to understand
    the code,
    > especially
    > the reason why a CGI variable is used...
    > Could anyone please help me ?
    > Thanks in advance.
    > Ann
    >
    > Here is the code of my login page (which is not in the
    root directory, but
    > in
    > a folder ../en/):
    >
    > <cfif IsDefined("FORM.txtEmail")>
    > <cfset
    MM_redirectLoginSuccess="brochures_download.cfm">
    > <cfset MM_redirectLoginFailed="brochures_new.cfm">
    > <cfquery name="MM_rsUser" datasource="Calliope">
    > SELECT UserEmail,UserPass FROM tblUsers WHERE
    > UserEmail='#FORM.txtEmail#'
    > AND UserPass='#FORM.txtPass#'
    > </cfquery>
    > <cfif MM_rsUser.RecordCount NEQ 0>
    > <cftry>
    > <cflock scope="Session" timeout="30"
    type="Exclusive">
    > <cfset Session.MM_Username=FORM.txtEmail>
    > <cfset Session.MM_UserAuthorization="">
    > </cflock>
    > <cfif IsDefined("URL.accessdenied") AND false>
    > <cfset MM_redirectLoginSuccess=URL.accessdenied>
    > </cfif>
    > <cflocation url="#MM_redirectLoginSuccess#"
    addtoken="no">
    > <cfcatch type="Lock">
    > <!--- code for handling timeout of cflock --->
    > </cfcatch>
    > </cftry>
    > <cfelse>
    > <cflocation url="#MM_redirectLoginFailed#"
    addtoken="no">
    > </cfif>
    > <cfelse>
    > <cfset MM_LoginAction=CGI.SCRIPT_NAME>
    > <cfif CGI.QUERY_STRING NEQ "">
    > <cfset MM_LoginAction=MM_LoginAction & "?" &
    > XMLFormat(CGI.QUERY_STRING)>
    > </cfif>
    > </cfif>
    > <html>
    > <head>
    > ...
    > </head>
    >
    > <body>
    > ....
    > <form
    ACTION="<cfoutput>#MM_loginAction#</cfoutput>"
    METHOD="POST"
    > name="FORM">
    > <table width="100%" cellpadding="2"
    cellspacing="2">
    > <tr>
    > <td>Your email </td>
    > <td><input name="txtEmail" type="text"
    id="txtEmail"
    > size="65"></td>
    > </tr>
    > <tr>
    > <td>Password</td>
    > <td><input name="txtPass" type="text"
    id="txtPass"
    > size="8"></td>
    > </tr>
    > <tr>
    > <td> </td>
    > <td><input name="Login" type="submit"
    id="Login"
    > value="Login"></td>
    > <td> </td>
    > </tr>
    > </table>
    >
    > </form>
    > ...
    > </body>
    > </html>
    >
    >
    >

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • It's official: server behaviors to be removed from DW

    Adobe has finally confirmed what I suspected would happen: server behaviors will be removed from the next version of Dreamweaver. They will still be available to install as an extension, but will no longer be part of the core program.
    http://blogs.adobe.com/dreamweaver/2013/04/nextgendreamweaver.html
    There is no information regarding plans to develop a replacement for the server behaviors in a future version. I genuinely have no idea whether a replacement for the server behaviors is on the cards.

    Actually, after looking into this computer I think maybe I would be best to take it to an Apple repair center.  I don't want to break something.  I thought maybe if it was just an easy small battery install, I could do it.  I don't see where another battery can go.

  • ADDT Server Behaviors not all available in CS6

    Hello,
    I used CS3 for years with the ADDT and was very happy with it.  I was given a career change and got away from programming.  I then upgraded to CS6 Master Collection and the ADDT for DW does not install and all the server behaviors I have come to enjoy are not all in CS6.
    What can I do?  Downgrading to CS3 is not an option.  do I now have to repay for these server behaviors in another extension?

    ADDT has been dead for quite a while.   The deprecated server behaviors in DW won't work with PHP 5.5+ so relying on them for current or future projects is futile.   Adobe removed them from DW CC for a reason.
    Steer clear of CS6's Behaviors Panel and learn to manually code with MySQLi (improved) or PDO.
    http://code.tutsplus.com/tutorials/pdo-vs-mysqli-which-should-you-use--net-24059
    Alternatively, Web Assist sells a commercial extension for DW that uses MySQLi Behaviors.
    $149.99 USD to replace the deprecated Server Behaviors panels.
    MySQLi Server Behaviors | Dreamweaver extension | WebAssist
    Nancy O.

  • Problem applying Spry tool tips to child pages because the head tag is in a locked region

    I’m new to DW and migrating a site from GoLive CS2 to DW CS5. The site uses templates created in GL CS2. I have stripped out as much GL stuff as possible.
    I want to use the SPRY tooltips as a way to show captions for graphics that are on some of the pages (I used to use an Open New Browser window for that but I don’t have as much control in DW as I did in GL). But when I try to apply SPRY tooltips (or any SPRY widget for that matter) I get the following message:
    “Required links could not be added to this file because the <head> tag is in a locked region. To insert this content, open the template file ‘xyz.dwt’ and either unlock the <head> tag or add this content to the template.”
    I am not sure how to go about solving this problem. In the template there is an editable region for adding graphics but in the template itself there are no graphics or anything else to apply a tooltip too. Also in the child pages there may be more than one place to use a tooltip. So that suggests to me that I should not add a tooltip to the template. That brings me to the other option.
    How would I go about unlocking the  <head> tag in the template, without messing everything up?
    Or, should I detach any page from the template when I want to add tooltips then reapply the template? I am planning to ditch the GL template anyway and apply a DW template to all the pages anyway.
    Any suggestions as to what I should do?
    Yours faithfully
    Branko
    PS I’m using Mac with Snow Leopard.

    I found a solution.
    I just made a transparent PNG. Put it in an inconspicuous part of the template. On the child page I could make as many copies as I needed making sure I provided id tags for each use etc.

  • In Dreamweaver CS6, the Plus (+) button in the Server Behaviors panel is greyed out. How do I make it operational?

    I am trying to restrict access to a page by redirecting unauthorized users to another page. The Adobe manual instructs me to:
    Open the page you want to protect.  
    In the Server Behaviors panel (Window > Server Behaviors), click the Plus button and select User Authentication > Restrict Access To Page from the pop‑up menu.  
    I opened the page and went to the Server Behaviors panel.
    Unfortunately, the Plus button is greyed out and not operational. How do I make the Plus button operational so that I can then select User Authentication, etc?
    Charlie

    You can't apply server behaviors to pages that don't contain (or are specified to be when they are created) server scripting. That means they must have the proper filename extension, e.g., filename.php or filename.aspx/

  • Sequel Search Server Behaviors Problem

    This code was made with php-msql server behaviors - recordset
    pull down's....
    I have a form to search for firstname or lastname or both but
    I'm not getting the right results
    SELECT * FROM phonebook WHERE firstname LIKE %s and lastname
    LIKE %s
    problem 1 - if I have NOTHING in the form then *all* records
    get returned
    I guess the problem is with blank form fields?
    Q: How can I fix this?
    full query below...

    still curious about this - thanks in advance

  • Dreamweaver CS5 not showing all recordsets in databases/bindings/server behaviors windows

    Dreamweaver CS5 is not showing all recordsets created on a page in the databases/bindings/server behaviors windows.
    I'm on XP, DW version 11.5 build 5344.
    Any idea of how I fix that?
    Thanks,
    Betty

    Dreamweaver CS5 is not showing all recordsets created on a page in the databases/bindings/server behaviors windows.
    I'm on XP, DW version 11.5 build 5344.
    Any idea of how I fix that?
    Thanks,
    Betty

Maybe you are looking for