Dreamweaver and dynamic pages {subject line edited and truncated by moderator}

I want to create a page that will automatically load info from a existing database into preset area's like a clients name and previous purchases. Can Dreamweaver do this? and How?

Assuming you're using MySql databases with PHP scripts, start your journey here:
Get one of the following local testing servers for your OS and follow the installation instructions.
WAMP for Windows - http://www.wampserver.com/en/
XAMPP for Windows - http://www.apachefriends.org/en/xampp-windows.html
XAMPP for Mac - http://www.apachefriends.org/en/xampp-macosx.html
MAMP for Mac - http://www.mamp.info/en/downloads/index.html
Setting up a PHP environment in Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
Pulling Data with MySql SELECT
PHP MySQL Select
Good luck!
Nancy O

Similar Messages

  • Widget browser problems {subject edited and truncated by moderator}

    I'm having problem with adobe widget browser. When I try to log in it freezes. I access dreamweaver through the adobe creative cloud. I have uninstall/reinstalled this program to fix this issue but it didn't work. Any advice?

    There have been a ton of questions about this lately.
    As far as I've heard (I never used it), the Widget Browser has been disabled.
    The replacement is the Adobe Add-Ons section under Window > Browse Add Ons in DWCC 2014

  • Dreamweaver and Database management

    Now that I am an expert on static web pages, I am starting to learn how to create dynamic web pages.
    I have created the XAMPP environment on my PC and my localhost (with PHP and SQL servers) is running well.
    What I need to do is to create a new database for my site. I know that Dreamweaver has special panels for Database related stuff,
    but I am not able to find how I can define my record layout and create the database. I found a related tutorial on Dreamweaver on dynamic pages, but the tutorial imports its database, it does not create a new one,  (Also if anyone knows of related tutorials it would be very helpful).
    Thanks!

    Hi
    The first thing you need to do is create your database - To do this is log into your phpMyAdmin site through your browser, (how-to is described in your XAMPP documentation), and from there create your new database, giving it the name required from the tutorial (oddly enough you do this where it says create new database).
    As this is your first dynamic site from this point on, I would recommend importing the database tables from the tutorial and following that.
    Once you have more experience you could try creating your own database and tables etc. an excellent program for helping with this is the, 'MySQL Workbench',
    available from the MySQL website where you will also find a few tutorials on its use.
    Hope this helps.

  • I want to use system and job variables to make the information dynamic in the Email Subject Line

    Someone could mention the subject line character limitation needs to be expanded. 50 chars is not much to work with! 
    Is it possible to make SUBJECT Line to make , use system and job variables to make the information dynamic , Right now there is a limit for Characters in the Subject line ... is it possible to expand ???  

    I've encountered the same issue and worked around it by using generic variables that would always be the same for a certain email alert. eg =  "System XYZ -source file delay for :"
    So a sample subject would then be: 
    Where ENV = DEV/UAT etc.
    This functionality allows you to use generic alert templates for all filewait jobs, and just filling in the variables.
    A slight problem is that although this works very well, the use of group variables in email / alert actions is (/ wasn't) officially supported by Cisco when I last ran it past then. Cisco, any update in this?

  • Remove a meeting on specific time date and subject line

    Hi
    I have a situation where a meeting organizer is no longer able to update or cancel a meeting she booked. Some how she also became the participant of the meeting and now has lost control of the actual meeting. Not able to edit or send update. I've exhausted
    my efforts in trying to find a solution for this. Doesn't look like there is anyway to get back ownership or transfer it to someone else.
    So my next plan is to remove the meeting from everyone's calendar via a script. So my question is, is there a way to remove a meeting from all participants calendar where the date/time and subject line is known. This is to ensure only that meeting is removed
    from the calendar.
    or if anyone has some other ideas please do share. I need to somehow send notification of cancellation and remove the meeting from outlook and the organizer has no control anymore.
    Thanks

    Hi,
    Per my understanding, you might want to display all the specific documents in a page, they can be filtered by values of a Date and time column.
    A possible solution I will provide is that, we can create custom visual web part to display all these documents. In the code behind, run a query with CAML to retrieved all the
    documents with the specific date and time, then generate a view of hyperlinks that points to these documents.
    In this way, we can combine the filter component with the data display component into one web part, with the help of CAML query and Object Model, it would not be a tough job to
    implement such a solution.
    More information about CAML and Object Model:
    https://msdn.microsoft.com/en-us/library/office/ee536691%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • In a dynamic page how to share variable between PL/SQL and javascript

    For example, my dynamic page contains such PL/SQL codes:
    <ORACLE>
    DECLARE
    info varchar(100);
    rowid urowid;
    procedure doDelete(
    row_id in urowid
    ) IS
    begin
    Delete From xxx
    WHERE rowid = row_id;
    end doDelete;
    BEGIN
    Select name, rowid INTO info, rowid
    From xxx Where xxx;
    HTP.PRN(' <INPUT TYPE="button" VALUE="show value" onClick="alert(info);">');
    HTP.PRN(' <INPUT TYPE="button" VALUE="delete" onClick="doDelete(_row_id);">');
    END;
    </ORACLE>
    The variable 'info' and '_row_id' are correct, however the two HTP. sentence do not work. What's the problem?
    What I want to do is to show all the records in TABLE A in a page. And at the end of each line (record), there' re a 'delete' and a 'update' button to let user operate on this record. Is this possible? I know form can do delete an update, but it can not show all the records in a page like what report does. Besides dynamic page, is there any other better choice? Report can do it?
    One more question. In a report, I employed link on one field to a second report. It works well. But I want to open the second report in a new window when the link is click. Is this possible?
    I was almost driven crazy by these :( I so appreciate if anyone can help.

    The code written by you is insufficient for the funtionality you are trying to achieve. Below is a method to achieve the same.
    Note: Used standard scott.emp table for the example which is located in my db provider schema.
    Do the below modifications as per your local configuration
    xxxxx -> Replace it with your Portal schema
    yyyyy -> Replace it with your db provider schema
    <<module_id_of_form>> -> Replace with the module id of form created in step 1 & 2.
    First and foremost... oracle does not allows variables starting with '_'. So if you want to use it you have to place it in double quotes ("")
    rowid -> illegal
    "_row_id" -> legal.
    However, I will advice you not to use variable names starting with "_".
    Now lets get started...
    1. Create a form on the table you are using in the dynamic page. Just have the update button. Remove the other buttons.
    2. Get the module id of this form. Instruction for getting the module id:
    a) Right-click on the form's run link and copy the shortcut
    b) Get the value of p_moduleid parameter. This is your module id.
    3. Create a procedure "save_action_details" in your db provider schema. This procedure will accomplish the delete operation on the record.
         CREATE OR REPLACE Procedure save_action_details(
         p_rowid IN VARCHAR2,
         p_action IN VARCHAR2,
         p_dyn_ref_path IN VARCHAR2,
         p_dyn_page_url IN VARCHAR2)
         is
         l_sto_session xxxxx.wwsto_api_session;
         begin
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_dyn_ref_path
         l_sto_session.set_attribute(
         p_name => 'rowid',
         p_value => p_rowid
         l_sto_session.set_attribute(
         p_name => 'action',
         p_value => p_action
         l_sto_session.save_session;
         htp.init;
         owa_util.redirect_url(p_dyn_page_url);
         end save_action_details;
    Explaination: The above procedure creates a session and keeps the rowid and action in the session. This information is used by the below dynamic form to perform the necessary action. In our exampl, the action is always going to be delete so you may go ahead and hard code it, else leave it as it is.
    4. Grant execute privilege on the procedure "save_action_details" to public.
    sql> grant execute on save_action_details to public;
    5. Create your Dynamic page.
    a) In HTML code section have the below code. This code shows some columns from the table and "update" and "delete" buttons to perform the respective action.
         <ORACLE>select empno,ename,rowid,
         '<input type="button" value="Update" onClick="doAction(this.form,''UPD'',''xxx'','''
         || xxxxx.wwv_standard_util.url_encode(rowid) || '''); tWin();">
         <input type="button" value="delete" onclick="doAction(this.form,''DEL'',''' || rowid || ''',''xxx'');">' Action
         from yyyyy.emp</ORACLE>
    b) In additional pl/sql code section of dynamic page, have the below pl/sql block "in after displaying the header" section.
         declare
         l_sto_session xxxxx.wwsto_api_session;
         l_del_rowid varchar2(20);
         l_action varchar2(10);
         begin
         htp.comment('User code starts here ...');
         htp.p('<script>');
         htp.p('var winHandle;');
         htp.p('
         function doAction(formObj, action, rowid, erowid)
              if (action == "UPD")
              var formURL = "' || xxxxx.wwctx_api.get_proc_path('wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=<<module_id_of_form>>&p_arg_names=_rowid&p_arg_values=') || '" + erowid;
              winHandle = window.open(formURL, "winDynUpd", "width=750,height=500,resizable=yes");
              else
              formObj.p_rowid.value = rowid;
              formObj.p_action.value = action;
              formObj.submit();
         function tWin() {
              if (winHandle.closed) {
              document.location = document.location;
              else {
              setTimeout("tWin()", 500);
         htp.p('</script>');
         htp.p('<form name="dynRowProcess" method="POST" action="'
         || xxxxx.wwctx_api.get_proc_path('save_action_details','yyyyy')
         || '">');
         htp.p('<input type="hidden" name="p_rowid">');
         htp.p('<input type="hidden" name="p_action">');
         htp.p('<input type="hidden" name="p_dyn_ref_path" value="' || p_reference_path || '">');
         htp.p('<input type="hidden" name="p_dyn_page_url" value="' || p_page_url || '">');
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_reference_path
         l_del_rowid := l_sto_session.get_attribute_as_varchar2('rowid');
         l_action := l_sto_session.get_attribute_as_varchar2('action');
         if l_action = 'DEL' then
         delete from yyyyy.emp
         where rowid = l_del_rowid;
         end if;
         end;
    Explaination: The session information (rowid and action) stored by "save_action_details" procedure is retrieved by the dynamic page and is used to delete the record.
    6. Once you are through with the above steps, test it by placing the above "dynamic page" portlet on a page.
    a) When you click on delete button the record gets deleted and the automatically refreshed page will not show the deleted record.
    b) On clicking update button, a form will appear. do the necessary modifications in data and click update. the data in the form gets updated. Once you close the form the dynamic page gets refreshed automatically and it will show you the updated information.

  • I've lost the use of predictive text in the subject line of gmail and I want to get it back

    I used to be able to hit a few characters in the subject line of a gmail compose window and it would bring up past subject lines with the same characters. That doesn't work anymore. How do I get it back? I've tried changing the settings under preferences/privacy/history but it doesn't seem to make any difference. Any ideas? Thanks

    See:
    *Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history": "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    This Gmail web page may be using autocomplete=off to prevent Firefox from storing form data.
    You can remove autocomplete=off with a bookmarklet to make Firefox store form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    Note that Firefox won't auto-fill saved form data automatically when autocomplete=off is used, so you need to double-click the empty name field to get a drop-down list.

  • I want to change subject line and save emails from others

    For instance my client may respond to an email question and I want to change the subject line because it includes an answer such as clients address, but I cannot figure out how to change the subject line and save it to my file folder I have for them.

    This add on claims to do that.
    https://addons.mozilla.org/en-US/thunderbird/addon/edit-email-subject/?src=ss
    There might be others but that is the first one that came up. I have never used it so I cannot speak for how well it works.

  • How to retrieve and then update a field in a dynamic page?

    I use the dynamic page to retrieve a text field from db table, now I want to update it and save back into the database. The first part(retrieve and display) works fine. But when I put update the table codes inside another oracle tag,it gives me a page not found error. Can you operate on the same database field more than once in a dynamic page?

    The purpose is to automatically calculate the transport freight  as a percentage of the net amount of the sales order. We are able to retrieve this field even if the sales order has not been posted yet with this formatted search:
    Select $[$22.0.0]
    Our doubt is that this field is affected also by the item of the expenses that we are going to calculate, this is the reason why we are trying to calculate the line total of each row and in the formatted search exclude the item that have a certain code (i.e. transport freight), in this way we are sure that we are calculating the percentage of  the net amount of the goods without the freight.
    Thank you for the support.
    Fedora

  • When I send an email to someone it always says SPAM in the subject line. I know this because I "c.c." the message to myself and it says SPAM. How to stop this?

    When I send a email to someone it always says SPAM in their subject line. I know this because I "cc" or b.c.c myself on important messages and when the "cc" or "bcc" comes back, it will say [SPAM] in front of whatever else I had written in the subject line to the intended recipient. How can I stop the word SPAM from showing up in the subject line of my own outgoing messages? I don't want the recipient delete my message thinking it is spam. Help!

    Could you check whether [SPAM] appears on the subject line if you view your messages directly on the server (for example, using a webmail page in your web browser)? This will help distinguish an accusation coming from a web server vs. any spam filter you may have installed on your computer that examines the mail while Thunderbird retrieves it.

  • How to email purchase order along with body and subject line

    hi experts,
           i have to email the purchase order along with the body and subject line. I am able to send the purchase order as a pdf attachment, but i have still not got a solution how to add body and subject line to this mail.
    plz help me out.

    Hi Santosh,
    if you investigate a little bit the PO output, you can find following information in SRM output customizing:
    POs are edited by methode PROCESS_BBP_PO_MAI from class CL_PD_PO_PROCESSING_BBP.
    Subject, body and attachments are handled here.
    So create your own class and method, and assign them in this customizing point (SRM Server --> Cross-Application Basic Settings --> Set Output Actions and Output Format --> Define Actions for Purchase Order Output).
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Reset Password email:  subject line and body

    For an email that is sent from this page:
    Home>Manage Workspaces>Manage Developers and Users>Reset Password
    Question: Where/how can I change the subject line and message-body contents for this email

    I would like to customize the subject line and body. for example...
    Current Email:
    Subject: Your password has been changed.
    Body: Account password changed for user CXXXXX.
    I would like to modify to:
    Subject: Your 'Oracle Application Express' password has been changed.
    Body: 'Oracle Application Express' Account password changed for user CXXXXX

  • Dreamweaver and CSS, Java editing an exsisting website to create your own template.

    HI I am new to Dreamweaver and programming,  but I have found a website that I like create something off of, not copying but utilizing some of its div tag positions and formatting.  When I bring the source into Dreamweaver and start to edit some of the things I want to change, I receive some errors that I’m not sure of how to work around.   For example, I want to extend one of the boxes they created and when I try to change it tells me “unable to open file because it could not be found on your local disk”  You can download the file by using the remote view of the file panels or by selecting the file in the related files toolbars” I believe this file is associated with the CSS.  Basically I’m trying to learn off this website and recreate something completely different but I’m not sure how to allow access or tell Dreamweaver to recognize a CSS from my computer.  Hope you understand, let me know what you think.

    Why not leave it on the page?
    If you want to eliminate it, you could try to replace this -
    <div class="tower-rail-item">
              <script type="text/javascript"><!--
                    google_ad_client = "ca-discovery-green_js";
                    google_ad_width = 160;
                    google_ad_height = 600;
                    google_ad_format = "160x600_as";
                    google_ad_type = "text_image";
                    //2007-01-30: indiv - left 2nd - skyscraper
                    google_ad_channel = "TreeHugger_Left_Tower";
                    google_color_border = "f0f0f0";
                    google_color_bg = "f0f0f0";
                    google_color_link = "4E5D76";
                    google_color_text = "000000";
                    google_color_url = "4E5D76";
                    google_feedback = 'on';
                    //--></script>
              <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
            </div>
    with this -
    <div class="tower-rail-item" style="width:160px;height:600px;>
    </div>
    (Note that you are showing more than what you would have deleted to remove it altogether in your post above.  To delete it altogether, change this -
            </ul>
            <div class="tower-rail-item">
              <script type="text/javascript"><!--
                    google_ad_client = "ca-discovery-green_js";
                    google_ad_width = 160;
                    google_ad_height = 600;
                    google_ad_format = "160x600_as";
                    google_ad_type = "text_image";
                    //2007-01-30: indiv - left 2nd - skyscraper
                    google_ad_channel = "TreeHugger_Left_Tower";
                    google_color_border = "f0f0f0";
                    google_color_bg = "f0f0f0";
                    google_color_link = "4E5D76";
                    google_color_text = "000000";
                    google_color_url = "4E5D76";
                    google_feedback = 'on';
                    //--></script>
              <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
            </div>
        </div>
    </div>
    to this -
            </ul>
            <div class="tower-rail-item">
            </div>
        </div>
    </div>
    It's not suprising that deleting something like that might change the layout of the page.  A well-built web page is very much like a well-built (and intricate) rock wall. Each element of the page somehow depends on the support and presence of each other element.  Remove one and things get kinda crooked....

  • Getting an unwanted line when adding a swf file to dreamweaver and previewing it in the browser...

    I created a very simple swf with a box moving from stage right onto the stage.  It works fine when previewing the swf itself, but when previewing from dreamweaver there is a small line that only extends half way across the swf file (which happens to be the length of the box). I even made the box smaller than the stage but the line still appears at the bottom.

    Sometimes it helps to create a box in the background color that overlaps the edge of the stage. I had the same problem with a .swf that had a black background. The web page had a black background too but there was a white line at the bottom of the .swf when I previewed it in the browser. I added a black box to the background that went past the bottom of the stage and into the surrounding area and resaved it. The white line disappeared.

  • I am unable to email an image from camera roll. the image gets "stuck". cannot input email address or subject line. am unable to cancel and go back to camera roll

    i am unable to email images from my camera roll. the image gets "stuck". cannot insert email address or subject line. cannot cancel... return to camera roll.
    what to do. i tries taking new picture and sending it in an email... same thing... gets "stuck "
    Waht to do ?

    Hello lohmann8,
    Thank you for providing so much detail about the issue you are experiencing with emailing photos from the Camera Roll.
    The first thing I recommend is quitting and relaunching the applications on your iPhone:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    You can find the full article here:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    If you are still seeing the same issue after quitting and relaunching the Photos and Camera app, I recommend restarting your phone and then resetting if it's still not working:
    Restarting your device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    Press and hold the Sleep/Wake button until the Apple logo appears.
    Note: Reset your device only if you are unable to restart it.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    You can find the full article here:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, the last thing I recommend is backing up and restoring your iPhone:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    iTunes: Restoring iOS software
    http://support.apple.com/kb/HT1414
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Installing SQL SERVER 2014 Entreprise Error

    Hello, today I tried to install en_sql_server_2014_enterprise_edition_x64_dvd_3932700 and when I started the installation I got this error: TITLE: SQL Server Setup failure. SQL Server Setup has encountered the following error: No room is available to

  • Is it time to eBay my good ole G5??

    I have a G5 dual core 2.0 and have been using it as a server for my home network. It is connected to 10TB of storage for all my videos ect. I just now swapped my plasma for a projector. B/c I do not want several cables running to my projector I am us

  • How to get rowcount in a query which is built on Infocube

    Hi, I would like to show rowcount for a report which is built on Infocube. If i have a query on DSO, i would get Rowcount in the query designer but how can we get this same Rowcount if i create a query on Infocube. Thanks in advance

  • English and Arabic conflict in iphone os 3.0

    hello, I don't know if it's normal or no but it's realy disturbing, The problem is when you choose the language of your Iphone to be english then you travel to any arabic country lets assume in my situation Kuwait; you will change the region format t

  • XSQL/XSL help (iPlanet): Error processing XSLT stylesheet

    hello- i am running XSQL and XSL pages on an iPlanet web server and i am receiving the following error: XSQL-011: Error processing XSLT stylesheet: /xslt/page/xsl_page.xsl XSL-1002: Error while processing include XSL file (\xslt\util\other_xsl.xsl (T