WebSite X5Help Center

 
Andre Doman
Andre Doman
User

Widgets in HTML Object  en

Auteur : Andre Doman
Visité 1914, Followers 1, Partagé 0  

When I use the html object, according to the help, there are widgets that I can use eg. login. I do not see that in the odject.

Where do I find these widgets.

I would like to display the detail of the person that logged in in the heading.

Thanks

Andre

Posté le
5 RéPONSES - 2 UTILE
Andre Doman
Andre Doman
User
Auteur

Thanks for the feedback. I am using this already. What I would like to do is to display the user that is logged in on a page or in the header.

Thanks for the support.

Lire plus
Posté le de Andre Doman
Andre E
Andre E
Moderator

Helo André

Unfortunatly there is no widget that show's you the logged in name of the person that has logged in.

It is a nice IDEA, so maybe create an IDEA post for Incomedia to create such an object?

You can find all objects in step4 pages, then top right manage, update the next screen and you will find all widget's. After closing the management screen you can filter with the pulldown top right after you have installed the widget in the management screen ou can find these then.

The widgets in the html object have moved to the above mentionend place and are already a long time gone from the html object.

see also: http://help.websitex5.com/en/v16/pro/gestione_oggetti.htm

Best Regards,

André

Lire plus
Posté le de Andre E
Giorgio C.
Giorgio C.
User

Il codice è questo.

<?php
$qblog = $_SERVER['PHP_SELF'];
if (strpos($qblog, '/blog/') !== false || strpos($qblog, '/cart/') !== false)
    $qpath = '../';
else
    $qpath = '';
require_once($qpath . "res/x5engine.php");
$pa = Configuration::getPrivateArea();
$user = $pa->whoIsLogged();
if ($user)
   echo "Benvenuto <b>".$user['realname']."</b>";
?>

Lo inserisci dove vuoi che si veda il nome, in oggetto html. Essendo codice Php le pagine che lo contengono devono essere php. Se lo metti nell'header tutto il sito deve essere con pagine solo pop.

ciao

Lire plus
Posté le de Giorgio C.
Andre Doman
Andre Doman
User
Auteur

Thanks to all.

Lire plus
Posté le de Andre Doman