GoLive Actions to Dreamweaver Behaviors

GoLive Actions developed by actionscafé are now being
ported over to Dreamweaver Behaviors.
If you're an ex GoLive user and are holding back switching
some of your site(s) over to DW because you can't find replacement
Behaviors for actionscafé software, contact
[email protected] Priority in porting Actions over will be
given to user's needs.
Several of the most popular Actions have already been
converted. Check
http://www.actionscafe.com/info-Behaviors.html
to see what's available now.

I think (I haven't read his PDF) that what he is talking
about is a library,
much like Prototype or J-Query where you insert a link to the
.js file in
your document and the use the functions that are in the
script to set
certain behaviors on your page. Dreamweaver will have
something similar in
CS4. This type of functionality is good for people who don't
know how to
write advanced scripts but want to feel like they are ;-)
Al Sparber - PVII
http://www.projectseven.com
Fully Automated Menu Systems | Galleries | Widgets
http://www.projectseven.com/go/Elevators
"Murray *ACE*" <[email protected]> wrote
in message
news:g58nr5$71l$[email protected]..
>I get that. I just don't get *it*! 8)
>
> --
> 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
> ==================
>
>
> "Al Sparber - PVII" <[email protected]>
wrote in message
> news:g58nee$6ht$[email protected]..
>> "Murray *ACE*"
<[email protected]> wrote in message
>> news:g58im1$1ps$[email protected]..
>>>I don't know - I still don't get it, honestly.
>>
>> Behaviors in DW are assigned to a tag. Commands are
much more powerful.
>> Actionguy can do exactly what he wants to do but
must use a command. The
>> Golive actions are archaic and no more modern than
DW behaviors except
>> for the built-in capability to create a script
library. The rest is all
>> 1999.
>>
>>
>> --
>> Al Sparber - PVII
>>
http://www.projectseven.com
>> Fully Automated Menu Systems | Galleries | Widgets
>>
http://www.projectseven.com/go/Elevators
>>
>>
>

Similar Messages

  • GoLive Actions, CyberGallery in particular

    For those who are "married" to GoLive and just can't make the DW transition (me being one of them), I am always looking for useful GL Actions but have found the number of developers to have dwindled. GoLive CS2 is still a very vibrant and ultimately useable application, but Adobe has stopped making and selling it since the spring of 2008. While we can lament and protest all we want, GoLive isn't coming back, but fortunately all is not lost when it comes to Javascript Actions which plug in to GoLive's simple and useful interface.
    With my most recent project, I needed an Action for a photo gallery page and did not want to resort to using Flash because of its incompatibility with the iPad. Being a very frequent user of Actions, I came across an action called CyberGallery from ActionsCafe.com which does exactly what I was looking for. I can't say enough about how useful this Action is and what a breeze it is to use inside the GoLive framework. Walter Blady (Mr. ActionsCafe) has always produced (and continues to distribute) a wide selection of extremely useful GL Actions. Ww can, at least, rest easier in knowing that some developers are still out there with stuff for GoLive. Maybe they won't be making NEW things for GoLive, but the selection these guys offer is more than adequate.
    Yes, I am a daily GoLive user and rely on these actions for every site I design. While ActionsCafe has ported most of their GL Actions to Dreamweaver, they still continue to offer almost everything for GoLive as well. While Adobe has stopped posting Actions on this website, and most other Actions developers have long since stopped making or distributing their Actions, ActionsCafe is a really good source for GL Actions for GoLive diehards who still don't want to switch to Dreamweaver or to resort to using Flash for things like photo galleries and such.

    Hi there,
    Code snippets have changed for Edge Animate CC 2014: they are categorized by type, and allow you to choose which elements are being targeted. Please refer to the attached screenshot:
    hth,
    Joe

  • Migrating GoLive CS2 to Dreamweaver 8

    Am looking for some resources with tips on migration of sites
    from GoLive CS2 to Dreamweaver. E.g. conversion of site tips,
    template conversion etc.
    Found a Dreamweaver Technote:
    How
    to convert an existing site into a Dreamweaver site
    ... am thinking it might be best to redo the entire site? Has
    anyone gone through site conversions from GoLive?

    > When did Adobe get like MicroSoft?
    No such company name as MicroSoft.
    > All the files seem to be there, except my old Templates,
    > and such. But the ".ste" file does not show up.
    Are you sure you would get an .ste file at the end of this
    process? Or
    would you just get a DW site?
    > tells me, on two separate warning boxes, that an ".ibi"
    file cannot be
    > copied.
    Does GL use .lbi files?
    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
    ==================
    "slotcarbob" <[email protected]> wrote in
    message
    news:f56maj$4hi$[email protected]..
    > Running OS 10.4.9
    >
    > I am so angry. >
    > I got the extension to convert GL to DW. It stalls right
    near the end, and
    > tells me, on two separate warning boxes, that an ".ibi"
    file cannot be
    > copied.
    > The process locks up GL for a few minutes, each time,
    and then it
    > progresses to
    > the end of the export. All the files seem to be there,
    except my old
    > Templates,
    > and such. But the ".ste" file does not show up.
    >
    > 1. What's the cure?
    > 2. Is there another way to import the site?
    >
    > Thanks so much.
    >
    > Note: I am running the Trial, until I can determine that
    I can make the
    > transition). Adobe says that the extension is not
    available to the public
    > (I
    > Googled for it) and so gives me the run around, and a
    lot of blather about
    > policy. Is this extension dedicated to a licensed
    version?
    >

  • Dreamweaver behavior for flash player 8

    Hi, I'd use to control my .swfs with the dreamweaver behavior
    (control
    shockwave or flash),
    but since i did download the flashplayer8 the .swf do not
    acept "gotoframe"
    or "rewind" commands,
    just "play" and "stop"...somebody can tell me where i can
    find the
    correction, update or javascript for this.
    Thanks.

    You have to also set your publish settings for that version
    of Flash Player.

  • DW equivalent to this GoLive action?

    I have a site with some elements using Nate Baldwin's SetImageAndLink.action.
    I'm trying to find the same behavior or extension for DW CS3/5 so that I don't have to re-install GL just to edit a few pages.
    If it doesn't exist, I'll buy a beer for someone who would make it for us!
    Much obliged!
    -jon

    Hmm... I'll have to fix the 2010 image, but the others years are available... .
    Rolling over 1997 brings up the cover images for May 1997 & December 1997 -- a basic image swap; however, it also assigns a link to the particular backissues for that year, so that you can click through to them.
    The same is true for the following years.
    This was created with one of Nate Baldwin's actions for GoLive, & as I add new links here, I'd like to be able to re-code it in DW. If that behavior is available, I may just not know what it's called, or perhaps there is an extension out there that can be installed.
    Thanks.
    -jon

  • Creating a GoLive "Component" in DreamWeaver

    I'm migrating to DreamWeaver and can't find an equivalent of my GoLive "Component" that lets me keep a global copy of a menu bar that is common to several pages and only needs to be updated once. Surely there is such a feature somewhere?

    actionscafe wrote:
    I tried Library items and Templates as well.
    Library items worked if I included all the menu style objects in a CSS and linked every page to it, including the Library item itself. I did this so I could see the menu properly in the Library item page. The problem was, how to add or delete anything to the menu. Updating the CSS and the Library item made menu changes far too cumbersome to be useful.
    I decided that Templates might be a better way to go, because the Behaviors I used to control the pop-up menus could be linked in Templates. However my converted GoLive pages were not designed with editable regions which the Templates need, so my old pages didn't mesh properly with my new menu Template. I finally decided to give up the whole thing. Someone mentioned using SSIs for the menu. I'll look into it for sure, but it sounds like I need to redesign a few things.
    The GL2DW export Extension was clearly designed to kludge GoLive pages so they would at least work in the Dreamweaver environment. Unfortunately some features in GoLive have no counterpart in Dreamweaver making the conversion a make-do at best.
    walt
    Walt, I can really appreciate what you're going through. I tried SSI's as well but found that Library Items seemed better for me. The point about updating Library Items is to simply double click on the library item in DW and update from there. You probably know this I'm sure, based on what you have explained so far.
    This is one of the reasons I maintain most of my sites in GoLive. Even if I design them in DW or use DW extensions such as PVII, I create a component with these items in GoLive so that they are easier to update. When I upload the updates I have GL set to flatten the GoLive component scripts so that the pages will still validate.

  • Can I edit open a GoLive site in Dreamweaver?

    I have a site that I put together for a charity..I have done it for a few years and the content, images etc don't change too often.
    Every month or so there needs to be an update to timetable and information. At the moment I do this with GoLive which is
    the programne I built it with. Can I open this site in Dreamweaver and continue editing it as before. Or do I have to re-build the
    whole site? I' m using OSX 10.5.6 does anyone know how long GoLive will keep working in OSX ?  Thanks   Giff

    Thanks Nina that is reassuring to know...but you ask why would I want to...
    that was the second part of my question...I did read that Adobe said that it was
    discontinuing support for GoLive and on each OSX upgrade I think it may suddenly
    refuse to work....Thanks for the response   Giff

  • Claim and Approval action giving abnormal behavior in worklist app in oim11gr2.

    hi guys
    we have following environment...
    weblogic 10.3.6 and oim 11g r2 bp03 in two node clustered environment which are load balanced with apache http server,everything was working fine with initially configured oim front end url wls.mycompany.com:80,Then we were forced to change the oimfront end url to identity.mycompany.com:80 by following
    1.oim config change
    2.call back url and worklist app changes in approval task of each composites in soa-infra
    Observed following abnormality behavior in approval workflow of application instance provisioning after oimfrontend url change.
    when approver click on approval task ,the claim action popup window displayed successfully
    when approver claim the action and it completes and popup window persist there with blank display(Observed a chopping  of  front end url from  identity.mycompany.com/identity/faces/...... to www.identity.com/faces/.........Then approver needs to close the popup).
    when approver click on approval task the approve action popup window displayed successfully
    when approver approve the action and it completes and popup window persist there with blank display(Observed a chopping  of  front end url from  identity.mycompany.com/identity/faces/...... to www.identity.com/faces/.......Then approver needs to close the popup).
    Application instance provisioning is working fine even though the above abnormal behavior was there...
    Why this url change is happening and How can we fix the abnormal url change from identity.mycompany.com/identity/faces/......  to   www.identiy.com/faces/...... ?
    Regards,
    Jdev

    Hi Ravi,
    Thnaks for your help.I will add this code and i will let you know.
    But the thing is recently 3 months back i implemented this ESS part in one server it is working fine.I'am able to apply Leave,Claims,Loan,travel from EP and the approver is able to approve the requests from UWL.When clicking on the Request in UWL it is launching a webdynpro iview and i'am able to perform the actions.
    Now i'am facing the problem and i hope i did the same config which i did previuosly.
    What would be the reason any Patch levels?
    Thanks and Regards,
    Praveen

  • HELP!!!! GoLive CS2 to Dreamweaver CS4

    I've been using Go Live for sometime I've just purchased a new computer and upgraded all of my softwarre. Go Live won't work on the new computer so I'm having to work out how to use Dreamweaver which is a pain! As a priority I'd like to convert all sites I've produced in GoLive to Dreamweaver. So far I'm not having much luck, possibly due to the unfamiliarity with Dreamweaver. Can someone give me a dummys guide to converting the Go Live sites over to Dreamweaver.
    Thanks
    Mark

    MAB34,
    GLCS2 has been running fine on 10.6.7 for me on a 27" iMac (2010) so I would think it should work for you.
    It won't work on Lion of course but since your post was before Lion was released this obviously isn't your problem.

  • GoLive conversion to Dreamweaver

    I have an existing site that was created in GoLive.  How do I move this site and all its assets to Dreamweaver?

    Define a site in DW that points into the local root folder for the site.  Edit away, and away, and away....

  • Golive 7 to Dreamweaver

    Following tutorial to migrate GoLive to Dreamweaver. Followed
    installing the GL2DW but when running a note appears saying that
    GL2DW only works with GoLive8. Any way to migrate from GoLive7
    without rebuilding site?
    Thanks.

    You might get better support for this issue on the
    GoLive_to_Dreamweaver_(transition) forum.
    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
    ==================
    "twobugs" <[email protected]> wrote in
    message
    news:gd803l$98l$[email protected]..
    > Following tutorial to migrate GoLive to Dreamweaver.
    Followed installing
    > the
    > GL2DW but when running a note appears saying that GL2DW
    only works with
    > GoLive8. Any way to migrate from GoLive7 without
    rebuilding site?
    > Thanks.
    >

  • GOLIVE 9 x DREAMWEAVER CS3

    Frinds, I always used dreaweaver to design web projects,
    but now golive came with many features, what do you think
    about both ?
    Can I edit HTML inside Golive link I ddo in dreamweaver?
    Thanks
    Bruno Alecrim
    Rio de Janeiro - Brasil

    DW's CSS tools are nearly as good as GL's. What are you
    finding lacking?
    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
    ==================
    "Bruno Alecrim - UN" <[email protected]> wrote
    in message
    news:f9e1qp$g2c$[email protected]..
    > So thank you all for your answers,
    > I will continue using Dreamweaver,
    > and leave Golive for the next life ;-)
    >
    > The only reason makes me think about
    > Golive was te CSS visual editing possibility.
    >
    > Best regards
    > Bruno Alecrim
    > Rio de Janeiro - Brasil
    >
    >
    >
    > "Bruno Alecrim - UN" <[email protected]>
    escreveu na mensagem
    > news:f9ba89$5ks$[email protected]..
    >> Frinds, I always used dreaweaver to design web
    projects,
    >> but now golive came with many features, what do you
    think
    >> about both ?
    >>
    >> Can I edit HTML inside Golive link I ddo in
    dreamweaver?
    >>
    >> Thanks
    >>
    >> Bruno Alecrim
    >> Rio de Janeiro - Brasil
    >>
    >>
    >>
    >
    >

  • Adobe locks out "paid" GoLive users - is Dreamweaver next?

    Adobe GoLive 9 has worked fine for me until this last week. Sometime in the last few days Adobe shut off the license server and now GoLive 9 doesn't work. They offered me a link for a much older version (CS2), but said they couldn't supply the newer version (it was too old). I can not believe the arrogant attitude of this company. I've been loyal to Adobe for 25 years and have bought almost all of their products - until they came out with their "rental" program. Any others that still use GoLive, or is it just me?

    I don't want to address the issue of whether or not Adobe should or should not still be supporting a program that was killed long ago. Obviously if GoLive has still been serving your needs, then it's understandable that you are upset to have the rug pulled out from under you.
    Many of us here were once GoLive users. Personally, I was thrilled when Adobe purchased DreamWeaver and stopped offering GoLive. It was not easy switching from the GoLive environment to the DreamWeaver environment, but it made sense to me so the effort was worth it.
    Technologies, methods, and design practices change on the internet rapidly, as you know. I think you should take this as an opportunity to stay abreast with trends and migrate to a more contemporary toolset. Your web presence will be better for it.

  • Golive-movable type- dreamweaver???

    I'm a long time GoLive user and although I have Dreamweaver installed I haven't actually built a site in it *yet*.
    That's a preface- not the problem. Well not the most pressing and present problem.
    The problem is a returning client who hired another designer who put everything into movable type. Now they've come back to me. Oh joy.
    I have access to the ftp- I've downloaded the site (all 9800 items) and I'm trying to sort it out so that I can do a simple template and blog.
    It's a mess.
    I would appreciate any help- and if any of you out there have done this type of migration previously I would be *thrilled* to subcontract a portion of the work.
    TIA
    Ziska

    Hi,
    I can help you with this. I've been a user of MT since day 1. What version is the site built with? Ver 4x uses a templating system that's rather arduous to figure out at first, but it's a great system. The 3x version is much easier to work with.
    If you still need help, let me know.
    Don

  • David Powers --- Regarding form validation with dreamweaver behaviors

    I am in the chapter teaching about form validation with the Zend Framework. I have done the entire lesson with the lesson files and everything works perfectly...
    but I went back to use the form valdation techniques for my own site and it is not working properly. In the book, Chapter 6 teaches how to create a user login and editing the database through the site. But in chapter seven the form validation does not build on top of this and therefore does not teach how to integrate the form validation with the registered user already set up.
    I have user registration completly working on my site and everything runs fine. I am trying to add the form validation but it is all completly ignored. When I leave a field blank it simply takes me to another blank page that reads "Column 'first_name' cannot be null"
    here is index.php code...
    <?php require_once('Connections/CSSU_Write.php'); ?>
    <?php require_once('Connections/CSSU_Read.php'); ?>
    <?php require_once('script/user_registration.php');
    ?>
    <?php
    if (isset($_POST['password'])) {
              $_POST['password'] = sha1($_POST['password']);
    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;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO sign_up (first_name, family_name, user_email, password, gender, bday_month, bday_day, bday_year) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['first_name'], "text"),
                           GetSQLValueString($_POST['last_name'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['password'], "text"),
                           GetSQLValueString($_POST['gender'], "text"),
                           GetSQLValueString($_POST['bday_month'], "text"),
                           GetSQLValueString($_POST['bday_day'], "text"),
                           GetSQLValueString($_POST['bday_year'], "text"));
      mysql_select_db($database_CSSU_Write, $CSSU_Write);
      $Result1 = mysql_query($insertSQL, $CSSU_Write) or die(mysql_error());
      $insertGoTo = "login.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['email'])) {
      $loginUsername=$_POST['email'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "logoOutRedirect.php";
      $MM_redirectLoginFailed = "logoOutRedirect.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_CSSU_Write, $CSSU_Write);
      $LoginRS__query=sprintf("SELECT user_email, password FROM sign_up WHERE user_email=%s AND password=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $CSSU_Write) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
              if (PHP_VERSION >= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();}
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;               
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!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" />
    <title>CSSU</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div class="container">
      <div class="header">
      <div class="logo">
                <a href="index.php">
                  <h1/>
            .CSSU { UNIVERSITY; }
            </h1>
            <h2>
            <code><<code>!</code>-- Learn/Apply/Master --></code>
            </h2>
        </a>
      </div> 
        <!-- end .header --></div>
        <div class="headerBar">
        <div id="nav">
                  <ul id="links">
                      <a href="#"><li>CSSU</li></a>
                      <a href="#"><li>Classes</li></a>
                      <a href="#"><li>Pricing</li></a>
                      <a href="#"><li>Degree</li></a>
                  </ul>
        </div>
        <form name="form2" method="POST" action="<?php echo $loginFormAction; ?>" class="form2">
        <p>
            <label for="email" id="email" class="loginLabel">Email:</label>
            <input type="email" name="email" class="loginField" />
            <label for="password" id="password" class="loginLabel">Password:</label>
            <input type="password" name="password" class="loginField" />
                  <input type="submit" value="Log In" name="submit" class="submit login" />
        </p>
        </form>
        </div>
      <div class="container2">
      <div class="sidebar1">
        <h1>Sign Up</h1>
        <h2>Earn an Official CSS Masters Certification!</h2>
        <table>
        <form name="form1" method="POST" action="<?php echo $editFormAction; ?>" class="form1">
        <tr >
            <td class="formLabel"><label for="firstName" id="firstNameLabel" >First Name:</label>
                      <span>
                         <?php
                                  if ($_POST && isset($errors['first_name'])) {
                                            echo $errors['first_name'];
                                  ?>
                </span>
            </td>
            <td><input type="text" name="first_name" class="inputField" id="firstName" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="lastName" id="lastName" >Last Name:</label></td>
            <td><input type="text" name="last_name" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="yourEmail" id="yourEmail" >Your Email:</label></td>
            <td><input type="user_email" name="email" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="yourEmail2" id="yourEmail2">Re-enter Email:</label></td>
            <td><input type="email" name="reEnter_email" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="password" id="password">New Password:</label></td>
            <td><input type="password" name="password" class="inputField" /></td>
        </tr>   
        <tr>
            <td class="formLabel"><label for="gender" id="gender" class="formLabel">I am:</label></td>
          <td><select name="gender" class="selectMenu selectMenu1 gender">
              <option value="select">Select Sex:</option>
              <option value="male" name="male">Male</option>
              <option value="female" name="female">Female</option>
                        </select>
          </td>
              </tr>
               <tr>
            <td class="formLabel"><label for="bday">Birthday:</label></td>
               <td>
            <select name="bday_month" class="selectMenu selectMenu1 bday">
              <option value="male">Month:</option>
              <option value="January">January</option>
            </select>
    <select name="bday_day" class="selectMenu bday">
              <option value="Day">Day:</option>
              <option value="1">1</option>
                        </select>
    <select name="bday_year" class="selectMenu bday">
              <option value="Year">Year:</option>
            </select>
         </td>
        </tr>
        <tr>
                  <td class="submitTd" colspan="2"><input type="submit" value="Sign Up" name="submit" class="submit signup" /><td>
        </tr>
        <input type="hidden" name="MM_insert" value="form1" />
        </form>
        </table>
        <!-- end .sidebar1 --></div>
      <div class="content">
        <h1>CSSU</h1>
        <!-- end .content --></div>
      <div class="footer">
        <!-- end .footer --></div>
        </div> <!-- end container2 -->
      <!-- end .container --></div>
    </body>
    </html>
    And here is user_registration.php code just for the first_name field...
    <?php
    $errors = array();
    if ($_POST) {
      // run the validation script
      require_once('library.php');
      try {
              // main script goes here
              $val = new Zend_Validate_Regex('/^[a-z]+[-\'a-z ]+$/i');
              if (!$val->isValid($_POST['first_name'])) {
                $errors['first_name'] = 'Required field, no numbers';
      } catch (Exception $e) {
              echo $e->getMessage();
    And from here, here is the library.php code....
    <?php
    $library = '.../html/zend/library';
    set_include_path(get_include_path() . PATH_SEPARATOR . $library);
    require_once('Zend/Loader/Autoloader.php');
    try {
    Zend_Loader_Autoloader::getInstance();
      $write = array('host'     => 'hostname',
                                             'username' => 'cssu',
                                             'password' => 'password',
                                             'dbname'   => 'cssu');
      $read  = array('host'     => 'hostname',
                                             'username' => 'cssu',
                                             'password' => 'password',
                                             'dbname'   => 'cssu');
      // Comment out the next two lines if using mysqli
      // and remove the comments from the last two lines
      $dbWrite = new Zend_Db_Adapter_Pdo_Mysql($write);
      $dbRead = new Zend_Db_Adapter_Pdo_Mysql($read);
      //$dbWrite = new Zend_Db_Adapter_Mysqli($write);
      //$dbRead = new Zend_Db_Adapter_Mysqli($read);
    } catch (Exception $e) {
              echo $e->getMessage();
    I replaced some code here to protect myself, but the library.php file is completely functional and has been tested... I am sure the problem ins't in here.
    Please let me know if you need any further code to help you out. I am brand new to PHP and so far everything has ran smoothly up til now. I have my Zend Framework uploaded to my server and tested that my site is connecting to it properly. Any help on this would be so so awesome! This is for a school project and I can't move on until this is resolved! Thank you so much for trying!
    You can also view the issue at my website... all the files have been uploaded to the server. www.CSSU.com

    I am in the chapter teaching about form validation with the Zend Framework. I have done the entire lesson with the lesson files and everything works perfectly...
    but I went back to use the form valdation techniques for my own site and it is not working properly. In the book, Chapter 6 teaches how to create a user login and editing the database through the site. But in chapter seven the form validation does not build on top of this and therefore does not teach how to integrate the form validation with the registered user already set up.
    I have user registration completly working on my site and everything runs fine. I am trying to add the form validation but it is all completly ignored. When I leave a field blank it simply takes me to another blank page that reads "Column 'first_name' cannot be null"
    here is index.php code...
    <?php require_once('Connections/CSSU_Write.php'); ?>
    <?php require_once('Connections/CSSU_Read.php'); ?>
    <?php require_once('script/user_registration.php');
    ?>
    <?php
    if (isset($_POST['password'])) {
              $_POST['password'] = sha1($_POST['password']);
    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;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO sign_up (first_name, family_name, user_email, password, gender, bday_month, bday_day, bday_year) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['first_name'], "text"),
                           GetSQLValueString($_POST['last_name'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['password'], "text"),
                           GetSQLValueString($_POST['gender'], "text"),
                           GetSQLValueString($_POST['bday_month'], "text"),
                           GetSQLValueString($_POST['bday_day'], "text"),
                           GetSQLValueString($_POST['bday_year'], "text"));
      mysql_select_db($database_CSSU_Write, $CSSU_Write);
      $Result1 = mysql_query($insertSQL, $CSSU_Write) or die(mysql_error());
      $insertGoTo = "login.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['email'])) {
      $loginUsername=$_POST['email'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "logoOutRedirect.php";
      $MM_redirectLoginFailed = "logoOutRedirect.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_CSSU_Write, $CSSU_Write);
      $LoginRS__query=sprintf("SELECT user_email, password FROM sign_up WHERE user_email=%s AND password=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $CSSU_Write) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
              if (PHP_VERSION >= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();}
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;               
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!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" />
    <title>CSSU</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div class="container">
      <div class="header">
      <div class="logo">
                <a href="index.php">
                  <h1/>
            .CSSU { UNIVERSITY; }
            </h1>
            <h2>
            <code><<code>!</code>-- Learn/Apply/Master --></code>
            </h2>
        </a>
      </div> 
        <!-- end .header --></div>
        <div class="headerBar">
        <div id="nav">
                  <ul id="links">
                      <a href="#"><li>CSSU</li></a>
                      <a href="#"><li>Classes</li></a>
                      <a href="#"><li>Pricing</li></a>
                      <a href="#"><li>Degree</li></a>
                  </ul>
        </div>
        <form name="form2" method="POST" action="<?php echo $loginFormAction; ?>" class="form2">
        <p>
            <label for="email" id="email" class="loginLabel">Email:</label>
            <input type="email" name="email" class="loginField" />
            <label for="password" id="password" class="loginLabel">Password:</label>
            <input type="password" name="password" class="loginField" />
                  <input type="submit" value="Log In" name="submit" class="submit login" />
        </p>
        </form>
        </div>
      <div class="container2">
      <div class="sidebar1">
        <h1>Sign Up</h1>
        <h2>Earn an Official CSS Masters Certification!</h2>
        <table>
        <form name="form1" method="POST" action="<?php echo $editFormAction; ?>" class="form1">
        <tr >
            <td class="formLabel"><label for="firstName" id="firstNameLabel" >First Name:</label>
                      <span>
                         <?php
                                  if ($_POST && isset($errors['first_name'])) {
                                            echo $errors['first_name'];
                                  ?>
                </span>
            </td>
            <td><input type="text" name="first_name" class="inputField" id="firstName" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="lastName" id="lastName" >Last Name:</label></td>
            <td><input type="text" name="last_name" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="yourEmail" id="yourEmail" >Your Email:</label></td>
            <td><input type="user_email" name="email" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="yourEmail2" id="yourEmail2">Re-enter Email:</label></td>
            <td><input type="email" name="reEnter_email" class="inputField" /></td>
        </tr>
        <tr>
            <td class="formLabel"><label for="password" id="password">New Password:</label></td>
            <td><input type="password" name="password" class="inputField" /></td>
        </tr>   
        <tr>
            <td class="formLabel"><label for="gender" id="gender" class="formLabel">I am:</label></td>
          <td><select name="gender" class="selectMenu selectMenu1 gender">
              <option value="select">Select Sex:</option>
              <option value="male" name="male">Male</option>
              <option value="female" name="female">Female</option>
                        </select>
          </td>
              </tr>
               <tr>
            <td class="formLabel"><label for="bday">Birthday:</label></td>
               <td>
            <select name="bday_month" class="selectMenu selectMenu1 bday">
              <option value="male">Month:</option>
              <option value="January">January</option>
            </select>
    <select name="bday_day" class="selectMenu bday">
              <option value="Day">Day:</option>
              <option value="1">1</option>
                        </select>
    <select name="bday_year" class="selectMenu bday">
              <option value="Year">Year:</option>
            </select>
         </td>
        </tr>
        <tr>
                  <td class="submitTd" colspan="2"><input type="submit" value="Sign Up" name="submit" class="submit signup" /><td>
        </tr>
        <input type="hidden" name="MM_insert" value="form1" />
        </form>
        </table>
        <!-- end .sidebar1 --></div>
      <div class="content">
        <h1>CSSU</h1>
        <!-- end .content --></div>
      <div class="footer">
        <!-- end .footer --></div>
        </div> <!-- end container2 -->
      <!-- end .container --></div>
    </body>
    </html>
    And here is user_registration.php code just for the first_name field...
    <?php
    $errors = array();
    if ($_POST) {
      // run the validation script
      require_once('library.php');
      try {
              // main script goes here
              $val = new Zend_Validate_Regex('/^[a-z]+[-\'a-z ]+$/i');
              if (!$val->isValid($_POST['first_name'])) {
                $errors['first_name'] = 'Required field, no numbers';
      } catch (Exception $e) {
              echo $e->getMessage();
    And from here, here is the library.php code....
    <?php
    $library = '.../html/zend/library';
    set_include_path(get_include_path() . PATH_SEPARATOR . $library);
    require_once('Zend/Loader/Autoloader.php');
    try {
    Zend_Loader_Autoloader::getInstance();
      $write = array('host'     => 'hostname',
                                             'username' => 'cssu',
                                             'password' => 'password',
                                             'dbname'   => 'cssu');
      $read  = array('host'     => 'hostname',
                                             'username' => 'cssu',
                                             'password' => 'password',
                                             'dbname'   => 'cssu');
      // Comment out the next two lines if using mysqli
      // and remove the comments from the last two lines
      $dbWrite = new Zend_Db_Adapter_Pdo_Mysql($write);
      $dbRead = new Zend_Db_Adapter_Pdo_Mysql($read);
      //$dbWrite = new Zend_Db_Adapter_Mysqli($write);
      //$dbRead = new Zend_Db_Adapter_Mysqli($read);
    } catch (Exception $e) {
              echo $e->getMessage();
    I replaced some code here to protect myself, but the library.php file is completely functional and has been tested... I am sure the problem ins't in here.
    Please let me know if you need any further code to help you out. I am brand new to PHP and so far everything has ran smoothly up til now. I have my Zend Framework uploaded to my server and tested that my site is connecting to it properly. Any help on this would be so so awesome! This is for a school project and I can't move on until this is resolved! Thank you so much for trying!
    You can also view the issue at my website... all the files have been uploaded to the server. www.CSSU.com

Maybe you are looking for