Username Show
Hello,
I m trying to add user name to show after user are login but I don see in my Binnding panel the user fisrtname.. Only see user ID?
Hello,
I m trying to add user name to show after user are login but I don see in my Binnding panel the user fisrtname.. Only see user ID?
edit the Authenticate user server behavior on the login page.
on the session variables tab, click the plus button and select the User Name column, this will create a session binding that contains the user name.
I did that and now I can see the userfirsName on the binning panel but when i Place it on the web page it don't show....
add the following code to the page you added the binding to at line 1:
<?php @session_start(); ?>
Hello,
I try to add the php code you gave me but for some reason it wont show username...
Can you please try to help me on that?
please send a copy of the login page and a copy of the page you are trying to show the user name on
compress them into a zip archive and attach them to your post here.
hi,
I applied this to the template. It's working on all pages except the order history and order details pages.
I had to add the code that was added to the template
<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>
to line 1 on the pages with add to cart buttons. The regular php pages were fine.
When I added it to the order history and order details pages the following errors occurred:
Warning: require_once(../webassist/security_assist/helper_php.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\testsite_1\customer_order_history.php on line 1
Fatal error: require_once() [function.require]: Failed opening required '../webassist/security_assist/helper_php.php' (include_path='.;C:\php\pear') in C:\wamp\www\testsite_1\customer_order_history.php on line 1
Also tried just the <?php @session_start(); ?> to line 1 on both pages.
The template structure is viewable, but where the show region is there is an error that I cannot read because it is in a column... but it has something to do with error and line 422.
Files are attached.
Thanks for guidance.
johna1964
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.