How do I compensate for only one ADDT ' tNG_config.inc.php file with many Registration pages to build?

My dynamic site has a lot of different languages funneled into one website, using various cookies, url params, php includes, etc. all to obtain similar info in different languages. Thank you David Powers.
It is working really well and now I’ve come to the Registration section. Okay, so registration isn’t all that hard; I could do most of it with the standard Dreamweaver set of tools. Alas, I really like much of what ADDT has to offer with welcome email messages and activation and such.
Here’s the setup: Obviously, with many different language people, I have many different databases for them. I did that becuase we’re expecting a big audience and I really don’t want to have all those different language names in the same table. Furthermore, these tables, whereby the students will login, will also contain a lot of information about their work so again, don’t want to have one massive table. I’ve divvied them up into tables by language and I’m using those tables to keep track of them and their work.
I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings.
Here’s my situation: I notice that when I’m done with the configuring of one of the registration pages, I’m asked if I want to upload the tNG_config.inc.php page and that it has changed since the last upload. I saved a copy of the _config.inc.php and did a new registration form with the same info and when done, I compared the two _config.inc.php files. As one would guess, there is a small difference in the Connection string to the databases  $tNG_login_config["connexction"] = "connString_Ital_db".
My problem is that I have 13 of these registration pages to do but ADDT only has the one tNG_config.inc.php. That’ll work great for the one with which it is associated, but the others will obviously break. I’ve looked through the code in the Registration pages, to find the ADDT link to the tNG_config.inc.php file hoping to rename it Italian, Spanish, etc, but the name of the file does not appear in the Registration page.  I realize that ADDT Control panel is designed for use on one site, and can then be used on others, with the changes etc. But my site seems a little unique since so many sites are actually in one.
Has anyone whipped this problem before? I just don’t understand why there is no link in the head code of the Registration page to let me change it and to create more config files with different names. Thanks for you help!
[Moved by moderator to appropriate forum]

Hi Brian,
I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
Cheers,
Günter

Similar Messages

  • How disable the firewall for only one NIC (aka adapter)

    Hi people,
    in winXP it was super easy to disable the firewall for one specific "adapter"
    (just to need to uncheck)
    so in Win7 how we disable firewall for one adapter ?
    thx people :D

    I have found it :D
    Go into Firewall with Advanced Security
    Click on Windows firewall Properties
    Then clic on Protected network connection
    and here they are :)

  • ToggleButtonBar - how to change color for only one button

    I have a tooglebuttonbar (with 4 buttons) and I'd like to change the color of only one or two button according particular data. Is someone has experience to do that.
    I try to do like that
    var child:Button;
       child = Button(tbbAction2.getChildAt(0));
    child.setStyle('color', '#CC33CC');
    But there's no effect. Thanks a lot.

    I have a tooglebuttonbar (with 4 buttons) and I'd like to change the color of only one or two button according particular data. Is someone has experience to do that.
    I try to do like that
    var child:Button;
       child = Button(tbbAction2.getChildAt(0));
    child.setStyle('color', '#CC33CC');
    But there's no effect. Thanks a lot.

  • Configuring PPP options for only one VPN connection

    How do you configure PPP options for only one VPN connection that is using L2TP over IPSec? The built-in VPN client in 10.4.9 is failing authentication because it won't talk MSCHAP-V2 (this is the only authentication protocol I can use) with the server. I am able to establish a connection if I add the following to /etc/ppp/options:
    refuse-eap
    refuse-pap
    refuse-chap
    refuse-mschap
    require-mschap-v2
    However, these options will affect all PPP connections. The preference file that contains the network configurations (/Library/Preferences/SystemConfiguration/preferences.plist) also contains PPP options for each specific network service. After some searching around, I found that there are several keys that seem promising (MSCHAP2, etc.). But these keys take a string value and I have no clue what they should be. These keys are defined in SCSchemaDefinitions.h file.
    Any ideas?
      Mac OS X (10.4.9)  

    Hi Brian,
    I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
    So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
    The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
    Cheers,
    Günter

  • How can i enable my cookies for only one website?

    how can i enable my cookies for only one website?

    CShaya wrote:
    how can i enable my cookies for only one website?
    Safari
    There is no preference setting available for that.
    Best.

  • I had my iphone5s in my shorts and my shorts went in the salt water at the beach and was wondering how to fix it or how much is it for another one. Im only 13 and we all make mistakes so please help 18 jan

    I had my iphone5s in my shorts and my shorts went in the salt water at the beach and was wondering how to fix it or how much is it for another one. Im only 13 and we all make mistakes so please help 18 jan

    Sorry, iPhones exposed to Salt Water, are pretty much destroyed. Salt Water is one of the most corrosive elements there is.
    Make an appointment at any Apple store & they will do an out of warranty exchange for US $269.

  • When I send a document for signature, two emails are sent to my client and myself.  How do I make sure only one is sent?

    When I send a document for signature, two emails are sent to my client and myself. How do I make sure only one is sent?

    Hi Mark,
    I checked your account at the backend and found many transactions sent out.
    In order to narrow down the issue and search we need to know the specific transaction detail for which you faced this issue.
    1. Signers email address
    2. Senders email address
    3.Name of the document
    4. Date it was sent.
    Do not post the information here. Send me a private message
    Also let me know which 2 mails did you receive? Could you please share the subject line for the same.
    Regards,
    Rave

  • How to set a keyframe with setValueAtTime for only one axis?

    Hi,
    I´d like to set a keyframe for the layer´s scale, anchor point values but separately. Let´s say I want to add the following keyframes to a layer:
    time: 0, value: 100, axis: X
    time: 0.3, value: 10, axis: Y
    time: 1, value: 110, axis: X
    If I use setValueAtTime(time ,[x, y]) it always places a keyframe for both axis.
    How can I set a keyframe with setValueAtTime for only one axis?
    Regards,
    Thomas

    Dan, thanks for your fast reply. But the problem is a bit difficult to describe for a german like me
    I´m try to convert given keyframes from another application. Let me visually show how it handles keyframes that are set on different axis at different times:
    X: O---O---O
    Y: ---O--O-O
    You see when the user sets a keyframe and both axis were modified, both have a keyframe (see the last key). But if only one axis is transformed and the other not, there is only one keyframe. The problem that I try to solve is that AE is only able to set a keyframe for both axis at a given time. So if I set the 3 keyframes of the X axis first, the AE script will set keys on the Y axis simultaneously. That´s bad because it adds keyframe to the other axis where there is no value "cache". So if I would set all keyframes it would look like this:
    X: O--•O-•-O
    Y: •--O•-O-O
    The small dots indicate those "forced" in-between keys.
    So is there a "native" scripting way to separate the dimensions (like the position prop) for other props and add independent keyframes?

  • How can I correct that emails for only one of my address going direct to my trash file before even being read and this just started a while back not before?

    have been living with this for a while, do not remember when it started and have already try different ways a solving the problem but nothing has corrected the situation.

    thanks for ur suggestion, no help. still goes to trash for only one of my email addresses, other two no problem.

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

  • How can I delete only one part of my xml file?

    Hello,
    I stored more than 100 users in only one xmltype column. For instance
    Create table agro(users XMLTYPE);
    ... and I inserted all users inside
    INSERT INTO agro values(XMLTYPE
    ('<?xml version="1.0" encoding="ISO-8859-1"?>
    <authentication><users><user>
    <name>cocoon</name>
    <password>cocoon</password>
    <role>admin</role>
    <title>Mr.</title>
    <firstname>Walter</firstname>
    <lastname>Cocoon</lastname>
    <company />
    <street />
    <zipcode />
    <city />
    <country>DE</country>
    <phone />
    <fax />
    <email />
    <bankid />
    <bankname />
    <accountid />
    </user>
    ... another user, etc.
    </users></authentication>'));
    Now I tried to delete only one part of this file. For example all persons with the name"cocoon".
    I used for this target the following statement:
    DELETE FROM agro agro
    WHERE agro.users.extract('authentication/users/user/text()').getStringVal()= 'cocoon';
    When I execute this statement, Oracle DB delete all users and not only with the name "Cocoon".
    How can I delete only one part of my xml file?
    Kind Regards
    M R

    This the expected behavoir. You uploaded a document containing multiple users and then asked XML DB to delete any documnet that contained a user with the name in question. The problem here is that you are creating a mega document that contains an aggregation of user documents but then trying to work with individual user documents. This is a bad idea.
    In general XML does not understand the concept of a collection of documents. It can only operate on one document at a time. Hence the tendancy to aggregate individual documents into a single larger document. Once you have an XML database, you can perform operations on collections of document, as easily as you can perform operations on individual documents, so the need to aggregate the individual documents together disappears.
    If you store each user document as a seperate document then your delete will work as expected.

  • Can I show a data label for only one point in a series?

    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    There are a number of graphs where I only want to value of either an extreme value or the ending value to show. Having all the labels in a series makes the chart too busy. This is pretty easy to do in Excel.
    If this can't be done, I guess that adding a text box over those points would work.
    Thanks

    Hi W-T,
    Welcome to Apple Discussions and the Numbers '09 forum.
    wahoo_tiger wrote:
    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    Sure. Here's and example labeling only the MIN and MAX points.
    Column B contains the data charted with the blue line.
    Column C extracts the MIN and MAX values using the formula below. Those two values are charted as a separate series, using the green data point markers, and are labeled with their values. The intervening empty string values appear to have doused the lines connecting the two data points.
    Formula: =IF(OR(B=MAX(B),B=MIN(B)),B,"")
    Regards,
    Barry

  • Program installed for only one user

    Have a program that is installed for only one user, how can I get another user access to the software? don't have install disk.
    Thanks

    Select the application's icon then Press COMMAND-I to open the Get Info window. In the Ownership and Sharing section check the owner and group assignments. If they have owner=you and group=you or staff, then you must change those. Open the Terminal application in the Utilities folder and enter the following command line at the prompt:
    sudo chown -R root:admin
    Put a space after "admin' then drag the application's icon into the Terminal window and press RETURN. You will be prompted for your admin password which will not be echoed.
    This should enable other users to access the application provided you have given the user access via their managed account preferences in Accounts preferences.

  • AA implement aaset value for only one depreciation area

    Hi,
    Is it possible change acquisition value of asset for only one depreciation area, the area 20 for example?
    By point of view of FI I can post the accounts of area 20 by  trx OASV,
    but in AA how can I do?
    If I use the trx AB01 the  acquisition value is modified in every area.
    Any assistance would be greatly appreciated.

    You upload the values in AM with the transaction AS91, this don't create postings in FI. It is possible to upload different values by depreciation area.
    With the transaction OASV you create manual the total postings in FI. An other option is to use the transaction  ABF1 (search on this forum with ABF1 how it is working)
    When an area post direct you have to use the transaction OASV (asset account is reconcilation accounts) for the other area you can use a standard FI posting.
    When you use AB01 you can create you own transaction type and limet them to one depreciation area or a group (tray to play with Tty 147, there you can fill in amounts by depreciation area.)

  • [iPhone] Enable paging for only one axis?

    Hi! Basically what I am looking to do is exactly like the AIM application where I want to have a paging effect horizontally, but I want to scroll vertically.
    Unfortunately, the best I can come up with is a scrollview inside another scrollview. This doesn't seem to work as the inner scrollview (that controls vertical scrolling) doesn't pick up any touches when it's inside the paging scrollview.
    I was wondering whether it really is two scrollviews or whether I can enable paging for only one axis.
    How would I go about programming this?
    Thanks!

    {quote}You need to have only one scrollview that handles the vertical scrolling. Then add code to the touchesBegan:withEvent: method to detect a horizontal swipe. When you detect one, programmatically animate the page change.{quote}
    I had the same question as this topic and this answer was what I ended up doing.

Maybe you are looking for

  • Unable to open Bootcamp install of Vista after upgrading MacBook Pro / Mid 2010 to OS Mavericks

    Dear Community, I am unable able to boot the Windows Vista install (via Boot Camp) on my MacBook Pro / mid 2010 after upgrading to OS Maverick. Any idea about how this problem can be solved (I don't want to purchase Windows 7 and I don't want to purc

  • Unable to start Manager server using Node Manager

    Hi, I have deployed Admin server in one of my unix machine(machine1) and i able to start my Admin server using node manager, and when i try to start my Managed server in another machine(machine2) using the node manager(that machine node manager) its

  • Colour cell dynamically-bug

    hi, am suing the following code snippet to colour the cell of a table dynamically. it throws no error at all , however the end result shows no colour for the particular cell. i have no clue what the problem is. design_attr =  'CPEARNEDFOL_DESIGN'.   

  • Digital booklet can't download

    Recently, I downloaded Taylor Swift's new album, 1989. The songs downloaded just fine, but the digital booklet didn't come - it just said "purchased" on the iTunes page of the album. I went to the list of purchased items in my account, and it was the

  • I have a HP Color LaserJet CM1015 PCL 6

    I have a HP Color LaserJet CM1015 PCL 6 which has been working perfectly up until recently. When it prints now there is a black line down the side of the page