Wanted: User-Defined Access Keys Script (PHP)

Hey guys -
I'm in need of a *PHP 5* script that will allow users to set
their own
access keys for predefined pages. I found this script and
neither like the
fact that it's in PHP 4 and the way the output looks (e.g.,
needing to check
the checkbox) -
http://juicystudio.com/article/user-defined-accesskeys.php
I've also run across this one which has the output format
that I want;
however, his only directions, which are only comments in his
script, are
extremely vague and unclear - for a _learner_ in PHP. Here is
his link -
http://cms.elfden.co.uk/2005/12/20/access-keys-revisted/#more-72
If someone has a solution for new learners and would be
willing to share it,
that would be wonderful. I'm hoping you can point me in a
good direction
with directions that are clear to understand. And just incase
you're
wondering, I did run across this one too - yet still, lacking
in directions
it's quite hard to follow and understand if you don't really
know a plethora
of PHP code -
http://www.blether.com/archives/2006/02/userdefined_acc.php
Again - if someone can take the time and find me a good
indepth tutorial
explanation or something along those lines (perhaps you may
even have a
script you wish to share), I'd be very grateful.
Thanks to everyone who has been helping me along the way with
my PHP.
Shane H
[email protected]
http://www.avenuedesigners.com

I'm not too keen on creating my own PHP script, but perhaps
in the
near-future you should write up a PHP5 solution...
Thanks though, Thierry.
Shane H
[email protected]
http://www.avenuedesigners.com
===============================
Proud GAWDS Member
http://www.gawds.org
===============================
"Thierry | www.TJKDesign.com" <[email protected]>
wrote in message
news:e52o7i$3bc$[email protected]..
> "Shane H" <[email protected]> wrote
in message
> news:e52gqc$nvh$[email protected]..
>> Hey guys -
>>
>> I'm in need of a *PHP 5* script that will allow
users to set their own
>> access keys for predefined pages. I found this
script and neither like
>> the
>> fact that it's in PHP 4 and the way the output looks
(e.g., needing to
> check
>> the checkbox) -
>>
>>
http://juicystudio.com/article/user-defined-accesskeys.php
>
> I wrote an ASP solution using a different logic:
>
http://www.tjkdesign.com/articles/user_defined_accesskeys.asp
> It may help you create a PHP version...
>
> --
> Thierry
> Articles and Tutorials:
http://www.TJKDesign.com/go/?0
> The perfect FAQ page:
http://www.TJKDesign.com/go/?9
> CSS-P Templates:
http://www.TJKDesign.com/go/?1
> CSS Tab Menu:
http://www.TJKDesign.com/go/?3
>
>
>

Similar Messages

  • Repost: User-Defined Access Keys Script (PHP)

    Hey guys -
    I'm in need of a *PHP 5* script that will allow users to set
    their own
    access keys for predefined pages. I found this script and
    neither like the
    fact that it's in PHP 4 and the way the output looks (e.g.,
    needing to check
    the checkbox) -
    http://juicystudio.com/article/user-defined-accesskeys.php
    I've also run across this one which has the output format
    that I want;
    however, his only directions, which are only comments in his
    script, are
    extremely vague and unclear - for a _learner_ in PHP. Here is
    his link -
    http://cms.elfden.co.uk/2005/12/20/access-keys-revisted/#more-72
    If someone has a solution for new learners and would be
    willing to share it,
    that would be wonderful. I'm hoping you can point me in a
    good direction
    with directions that are clear to understand. And just incase
    you're
    wondering, I did run across this one too - yet still, lacking
    in directions
    it's quite hard to follow and understand if you don't really
    know a plethora
    of PHP code -
    http://www.blether.com/archives/2006/02/userdefined_acc.php
    Again - if someone can take the time and find me a good
    indepth tutorial
    explanation or something along those lines (perhaps you may
    even have a
    script you wish to share), I'd be very grateful.
    Thanks to everyone who has been helping me along the way with
    my PHP.
    Shane H
    [email protected]
    http://www.avenuedesigners.com

    I'm not too keen on creating my own PHP script, but perhaps
    in the
    near-future you should write up a PHP5 solution...
    Thanks though, Thierry.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    ===============================
    Proud GAWDS Member
    http://www.gawds.org
    ===============================
    "Thierry | www.TJKDesign.com" <[email protected]>
    wrote in message
    news:e52o7i$3bc$[email protected]..
    > "Shane H" <[email protected]> wrote
    in message
    > news:e52gqc$nvh$[email protected]..
    >> Hey guys -
    >>
    >> I'm in need of a *PHP 5* script that will allow
    users to set their own
    >> access keys for predefined pages. I found this
    script and neither like
    >> the
    >> fact that it's in PHP 4 and the way the output looks
    (e.g., needing to
    > check
    >> the checkbox) -
    >>
    >>
    http://juicystudio.com/article/user-defined-accesskeys.php
    >
    > I wrote an ASP solution using a different logic:
    >
    http://www.tjkdesign.com/articles/user_defined_accesskeys.asp
    > It may help you create a PHP version...
    >
    > --
    > Thierry
    > Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    > The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    > CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    > CSS Tab Menu:
    http://www.TJKDesign.com/go/?3
    >
    >
    >

  • User exits access key

    To display net weights of the item in inbound and outbound deliveries i am using exit EXIT_SAPLV50Q_001 but when i click on the include in this Function module i am getting You attempted to create a program name beginning with ZX but this name range is reserved only for includes of exit function groups (function groups containing only function exits).
    and if click on change button in Function module it is asking for access key my doubt is access key is required for user exit. i dont have access key how can i do this.
    thanks in advance

    Hi
    When the system displays this mesage just press enter and it would take you to the include code. You dont have to create any thing, just press enter when this message is displayed.
    This is just a message, not an error.
    This would solve your problem.

  • E55 user defined access point for outgoing email (...

    Hello
    I changed the outgoing default connection in E55 here:
    menu. email. settings. mymailbox. mailbox settings. advanced mailb settings.outgoing mail settings. access point in use. user defined
    now when i do a email message it doesnt send when i choose send in any new email message
    it seems a bug, because it does not quit of the send option, it appears a little window sending email, but it does not send!
    then if i try to get out the only options are delete/save to drafts
    can this be fixed?
    Peter

    peter_p wrote:
    Hello
    I changed the outgoing default connection in E55 here:
    menu. email. settings. mymailbox. mailbox settings. advanced mailb settings.outgoing mail settings. access point in use. user defined
    now when i do a email message it doesnt send when i choose send in any new email message
    it seems a bug, because it does not quit of the send option, it appears a little window sending email, but it does not send!
    then if i try to get out the only options are delete/save to drafts
    can this be fixed?
    Peter
    Are you using a WLAN or GPRS accesspoint?
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Using user defined variables in SAP BPC 7.0 NW

    Hi,
    I am using BPC 7.0 SP2 NW version. I want to do some calculatioins and/or comparision in the script logic by using user defined variables.
    For Ex: I want to assign the property TIMEID of TIME dimension to a variable and then use this variable in my IIF statement.
    I have tried a lot but not getting any solution.
    Can anyone guide me in how to use user defined variables in Script Logic.
    Your valuable reply is appreciated.
    Thanks & Regards
    Manoj Damle

    Hi,
    Thanks for the valuable reply.
    But i want to define variables in the Script Logic and not in the Data Manager.
    The scenario is like this:
    I want to check the value of the DUMMYACC1 member of GL_ACCOUNT dimension with a constant and depending on the condition i want to update a user defined variable. This variable will further be used in the *SELECTCASE statement for decision making.
    The Code is as follows:
    *XDIM_MEMBERSET COMP_CODE = COMP_CODE_1
    *XDIM_MEMBERSET BUS_AREA = BUS_AREA_1
    *XDIM_MEMBERSET VERSION = VERSION_1
    *XDIM_MEMBERSET CURRENCY = AUD
    *XDIM_MEMBERSET DATASRC = DATASOURCE_1
    *XDIM_MEMBERSET GL_ACCOUNT = SALESREVENUE,PRICE,QUANTITY,DUMMYACC1
    *XDIM_MEMBERSET TIME=2009.MAY,2009.JUN
    *XDIM_MEMBERSET CUSTOMERCATEGORY = CUSTOMER_CAT_1
    *XDIM_MEMBERSET PROFIT_CTR = PROFIT_CTR_1
    *XDIM_MEMBERSET SEGMENT = SEGMENT1
    *XDIM_MEMBERSET MEASURES = PERIODIC
    *FUNCTION PRO(%VAR1%,%VAR2%)
        [%VAR1%].CURRENTMEMBER.PROPERTIES("%VAR2%")
    *ENDFUNCTION
    *FOR %GL_ACC% = DUMMYACC1
        *FOR %CV_TIM% = 2009.MAY,2009.JUN
            #CUR_MTH = IIF(([GL_ACCOUNT].[%GL_ACC%],[TIME][%CV_TIM%]) = 1.,1,NULL)
        *NEXT
    *NEXT
    *SELECTCASE #CUR_MTH
    *CASE 1
        #CURRENTMTH = PRO(TIME,TIMEID)
    *ENDSELECT
    The errors which system gives is:
    1. Duplicate formula found
    2. Invalid MDX statement
    3. #CUR_MTH & #CURRENTMTH is not a valid member
    Please give your valuable suggestion.
    Thanks and Regards
    Manoj Damle

  • Using access keys in inactive frames

    We are trying to make an existing website DDA compliant and want to use access keys to assist the keyboard-only user to navigate without a mouse. The site uses frames; we cannot change that as some 6000 pages are involved.
    We have implmented access keys in one of the 3 frames. This works fine in Internet Explorer and Firefox regardless of which frame you are on. However Safari does not see the access keys unless you are actually on the active frame. The thing is that we want to use the acess keys to navigate between frames.
    Is there anyway that we can get Safari to behave the same as IE and FF?

    For 1: you can try and access the af:query component and call getChildren() to see if you can get a hold of inner components (e.g. buttons). By default, the access key for the advanced mode button is not exposed.
    For 2) Same as for 1. This is not exposed and all you can do is to check if getChildren issued on the RichPanelCollection component reference allows you to access the command button and then set the access key to it
    Meanwhile I'll file an ER to make access keys generally accessible for change (which however may take time before this gets implemented)
    Frank

  • Idoc Extension...Access Key

    Hi Guru
    Require your suggestion.
    I have to extend the standard idoc DEBMAS05 but when i am doing it asking for Access Key.
    Now i don't want to use access key. So what is other option for it,
    Can i copy the all DEBMAS05 idoc as ZDEBMAS05 and then do the extension....
    If yes then in  that case do i need to to make ZDEBMAS  Message Type or i can use the same DEBMAS Message for ZDEBMAS05.
    Please give me Steps how to procees for Copy the Besic type.
    Rgz
    SA

    Hi
    here is my scenario
    Can you help me on following.
    I am working on DEBMAS05 Idoc.
    Sender system sending  DEBMAS05 Idoc which is an Idoc Extension with two Z segment.
    Now here is my problem.
    In Receving system if i am extending the DEBMAS05 its asking for Access key.Which i don't want. Is any other alternative of doing this?
    I have two below option but not much clear about it.
    1. If i copy the DEBMAS05 to ZDEBMAS05 and then do idoc extension.In this case do i need to also make ZDEBMAS.
    or i can using DEBMAS as Message type for ZDEBMAS05?
    2. I found one function-exit 'EXIT_SAPLVV02_001' in (user-exit VSV00001) which has description 'Read and Post Additional Export Customer Master Segments'.
    can i use above function-exit  in DEBMAS05 without extending the Idoc for Z fields in reciver side.
    i am just evaluating above option so that i do not use Access Key.If above option is not valid then i may use Access Key,
    Please suggest.
    Regards
    RJ

  • Access Keys in Oracle ADF

    Hi,
    We are converting existing forms application to Oracle ADF application. In one of the existing forms, if we click on F8 key it executes the query and populates the form with the default data.
    Is there any possibility to trap the F8 key and invoke the managed bean method on click of F8 key.
    Thanks and Regards,
    S R Prasad

    You can define access keys in ADF too.
    See: http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/ap_kbd.htm#BABFCCEB

  • Hot keys as Access keys

    hi ,
    i want to give HOT KEYS as the access key attribute for my adf faces core components. for example, i have a af:input text field,.
    i want to keep access key for it as HOT KEY(F1 or any hot key upto F12)..
    is it possible to keep hot keys as access key for components?

    Hi,
    no, but you can set combnations of alt+char. This can be set directly in the component properties. If you want to use hot keys then you would need to write JavaScript on the client to intercept the key and do whatever you want it to do. Note that dependent of the browser you use some keys are reserved by the browser and not available for the application.
    Frank

  • Launch programs with User defined Keys?

    Im using 10.6.4 on a Macbook Pro and on the 1 screen im using 3 different programs at once (2 music programs and Parallels / Windows Program)
    Is there a quick way to flip between the 3 very quickly as I like to view all 3 very quickly and chop and change between them on the Macbook Pro screen
    I use Apple + Tab but this gets tedious trying to flip around between them going left and right
    Does 10.6.4 allow you to user define keys to certain programs so you can launch and they become active?
    ie: F1 - launch program 1, F2 - Launch Program 2 etc
    So 1 button push makes a certain program active?
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    I love Mac OS X but the only way I can find is either the Apple+Tab which gets tedious, or a Hot corner which i have set up and "spreads out" the programs : then again with hot corners your still having to chase around all your open windows!
    Is there a quick easy solution for having up to 3 programs at once and instant access that I don't know about? With audio editing, i chop and change edits to see how they fit between programs so this would be invaluable
    I'm pretty sure OSX would have something under the bonnet to do this?
    Thanks

    pitchfork wrote:
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    Hi,
    Um, so far as I'm aware this is the same behaviour in OS X. Launched programs that are not added to the Dock are appended to the right of the Dock, but applications in the dock do not move randomly - unless you count the fact that the Dock expands to include newly-added or -launched applications. To achieve what I think you're referring to, simply add the applications you use frequently to the Dock permanently, and use the same behaviour you were accustomed to in Windows to switch applications.
    However, if you want to create a simple keystroke to switch to another application (whether open already or not), then try creating a new Automator Service to activate a given application, and assigning a keystroke to it. I've never actually created a working Automator action before, but I believe the following should work:
    1) Launch Automator
    2) Select "Library" in the left-hand column, and type "Applescript" in the search box.
    3) There will be only one result, "Run Applescript." Drag this into the right-hand column.
    4) Copy and paste the following script to replace the words "(* Your script goes here *)":
    tell application "Amadeus Pro"
    activate # switch to your application, launch if necessary
    end tell
    5) Replace "Amadeus Pro" with the name of the application you want to switch to. KEEP the inverted commas.
    6) Make sure the drop-down menu in the top-right is set to "any application."
    7) Choose "Save" from the File menu, and assign an appropriate name; this is how your Service will appear in the Services menu. You can now close Automator.
    8) Finally, assign a shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services.
    Give that a shot and see whether you're happy with it. Rinse and repeat with the names of the other applications if satisfied
    Hope that helps,
    S.

  • How to create a Foreign key relationship between 2 user defined tables...

    Hi Folks,
    I have created two user defined tables... Where in i want to create foriegn key relationship between the 2 tables.... Can anyone guide the step by step procedure to do this scenario...
    Any help would be highly appreciated...
    Thanks

    Hi
    1.  In the 2nd table call the field of the 1st table which is a primary key.
    2.  Give the same field and dataelement name.
    3.  Select that field and then click on the foreign key field icon which is beside Search Help button.
    4. Then give short text, and the 1st table name.
    5. Then in the below box give the 2nd table name and 2nd table field name which you have called from 1st table.
    6. Then click on copy, then u will be able to see Check table name and check table field name beside foreign key table name.
    7. Then again click on copy.
    Regards
    Haritha.

  • Accessing User Defined Types

    We have recently updated our libraries to the latest version (2.102.2.20) - and have lost access to the critical objects and methods that were accessing our User Defined Types on Oracle.
    In particular, this code:
    OracleUdtDescriptor descriptor = OracleUdtDescriptor.GetOracleUdtDescriptor((OracleConnection)conn, "MY_USER.MYTYPE");
    OracleArray items = new OracleArray(descriptor);
    foreach (string s in testArrayItems)
    items.Append(s);
    IDbDataParameter itemsParam = cmd.OracleParameters.Add("items", OracleDbType.VArray, items, ParameterDirection.Input);
    simply doesn't work anymore. The 'OracleUdtDescriptor' and 'OracleArray' references no longer exist. This has brought all development on a critical application to a halt. (Doesn't it always.)
    How can I get the same functionality using the new version (2.102.2.20) of the Oracle.DataAccess library?

    Hi,
    Here's what I was referring to... say you wanted to execute the same procedure from PLSQL via an anonymous block. Execute the same anonymous block via ODP.NET.
    Here's a simple dumb example that passes an object type to a stored procedure, hope it helps. Hokey example, but hopefully points out what I was trying to say.
    Greg
    SQL
    ========
    create or replace type person_typ as object (name varchar2(50), age number(4))
    create table person_tab(col1 number, col2 person_typ);
    create or replace procedure insert_person_proc(v1 in number, v2 in person_typ) as
    begin
    insert into person_tab values(v1,v2);
    end;
    You could execute that via PLSQL as follows
    =================================
    declare
      myperson person_typ;
    begin
      myperson := person_typ('melody',5);
      insert_person_proc(1,myperson);
    end;
    /And do the same thing via ODP.NET
    =============================
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    class Program
        static void Main(string[] args)
            using (OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger"))
                con.Open();
                using (OracleCommand cmd = new OracleCommand("",con))
                    string strsql = "declare " +
                                    "myperson person_typ; " +
                                    "begin " +
                                    "myperson := person_typ(:1,:2); " +
                                    "insert_person(:3,myperson); " +
                                    "end; ";
                    cmd.CommandText = strsql;
                    cmd.Parameters.Add(new OracleParameter("", "Melody"));
                    cmd.Parameters.Add(new OracleParameter("", 5));
                    cmd.Parameters.Add(new OracleParameter("", 1));
                    cmd.ExecuteNonQuery();
    }

  • Accessing container element in the User Defined Function

    Hi All,
    I am accessing a container element in the user defined function.
    But it is not working. Actually i want to split a message(1800 records) into a batch of 200.
    But it goes in a infinite loop.
    Please can you tell me where i am wrong.
    Smita
    The code is :
    public void SplitMsg(String[] a,ResultList result,Container container){
    Object container1;
    String counter;
    int i,j=0;
    container1 = container.getParameter("value");
    if( container1 == null){
    counter  =  "0";
    else {     
         counter = container.toString();
         j = Integer.valueOf(counter).intValue();
    for ( i = j ; i <= j + 199 ; i++){
         if ( i  >= a.length){
              container.setParameter("value","9999999");
              break;
         result.addValue(a<i>);
         j += 200;
         counter = Integer.toString(j);
         container.setParameter("value", counter);

    Here is another way to accomplish what you wanted.
    For the target mapping, use this sequence for mapping
    Source element -> removeContext -> Your User-defined Function -> Target Element
    When defining User-Defined Function, select "Cache Queue" option.
    Since you are using removeContext before calling the UserDefined function, your input to the user defined function will be a String array without ResultList.CC.
    Now manipulate the array the way you want it, and build the ResultList result.
    After every 200 records, use method
    void addContextChange().
    This will insert the ResultList.CC at the appropriate places.
    Use Display Queue in the Mapping Editor to see the debug values.

  • Accessing a user defined library - CLASSPATH

    Hi all
    First I will tell you what I have implmented, then I will discuss the problem.
    My PATH (user variables) is set to c:\Program Files\Java\jdk1.6.0\bin and everything works
    fine - I can compile and run from any directory.
    When I open a shell (cmd.exe) my current working directory is:
         C:\Documents and Settings\Paul Gain\Desktop>
    I have a file in the same directory called Test.java
    Here it is:
    import pack.ClassPathTest;
    class Test {
    public static void main(String[] args) {
    new ClassPathTest();
    The package "pack" resides at C:\pack
    There are two files within "pack" one is called ClassPathTest.java
    and the other is called ClasspathTest.class
    Here is the code:
    package pack;
    public class ClassPathTest {
    public ClassPathTest() {
    System.out.println("Hello Paul");
    Obviously this program is nonsense, However, I want to find out
    how to access a user defined library of classes that is in a seperate directory.
    When I compile from the desktop with the command: javac Test.java
    The compiler complains, here is the output:
    C:\Documents and Settings\Paul Gain\Desktop>javac Test.java
    Test.java:1: package pack does not exist
    import pack.ClassPathTest;
    ^
    Test.java:7: cannot find symbol
    symbol : class ClassPathTest
    location: class Test
    new ClassPathTest();
    ^
    2 errors
    If I cut and paste "pack" into the desktop directory everything works as expected.
    Because of this I believe the problem lies with the CLASSPATH of "pack".
    I have tried all sorts of variations of CLASSPATH but to no avail.
    for example under "system variables" in environment variables I have
    used the following:
    .;C:\pack
    Which says look in the current working directory first and then in pack. But
    that does not work (and yes I close the current shell and open a new one).
    Once the CLASSPATH is set .;C:\pack and I compile again the compiler
    moans and gives me this:
    C:\Documents and Settings\Paul Gain\Desktop>javac Test.java
    Test.java:1: package pack does not exist
    import pack.ClassPathTest;
    ^
    Test.java:7: cannot access ClassPathTest
    bad class file: C:\pack\ClassPathTest.class
    class file contains wrong class: pack.ClassPathTest
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    new ClassPathTest();
    ^
    2 errors
    Obviously I am doing something wrong, can somebody please help me as I do not wish
    to add my libraries in the same directory as my program. I have even tried to add c:\pack
    to the PATH but that does not work either. HELP!
    Regards
    Paul

    If you are currently in Desktop, you need your classpath to be:
    .;C:\The "pack" package lies in "C:\"
    If you are anywhere else, you need:
    "C:\Documents and Settings\Paul Gain\Desktop;C:\""Test" lies in the first part, and the "pack" package still lies in "C:\".

  • How can I access user defined column(in query) inside the trigger?

    Hi
    I have 3 unions and each query displays different records on some criteria. I also have a column hard-coded
    Ex:
    select a.col1, a.col2,
    add as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    change as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    del as update
    from table1 a
    where ...
    And I need to display a column in the report only if update is Add. I was thinking of writing a format trigger for that field. But I do not know how can I access this user defined column named update in the trigger?
    Any help?

    Try ":update" minus the double-quotes. Ex:
        IF :update = 'add' THEN
          RETURN(TRUE);
        ELSE
          RETURN FALSE;
        END IF;
    You'll want to place your hard-coded values in single-quotes. Ex:
        select a.col1, a.col2,
        'add' as update
    - Brian

Maybe you are looking for

  • How do i create a group email address

    how do i create a group email address

  • Standard sales orders reports required

    Hello Experts, I want to know the standard reports to view the following: Orders entered in system but not processed due to any issue (Report should display quantity and value) Orders processed but not yet issued (Report should display quantity and v

  • Problem installing Adobe Creative Suite 4

    I am trying to install Adobe Creative Suite 4 Web Premium. I enter the serial number at the back of the DVD case and that works fine, but then I reach a screen called Upgrade Check. There, I select what I had before (Macromedia 8), and enter my Upgra

  • Interfere into JSF lifecycle

    Hello, I was wondering how i can interfere into the render response phase. The problem is that i'm using a richfaces component responsible for polling. When changing the contents of a div (it's a wizard-like behaviour) the reponse is added/rendered i

  • Why is myMacBook Pro now taking ages to start and seizing up.

    why is my MacBook Pro now taking forever to start and seizing up?