WebSite X5Help Center

 
Andre Doman
Andre Doman
User

Widgets in HTML Object  en

Autor: Andre Doman
Visited 1904, Followers 1, Udostępniony 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

Posted on the
5 ODPOWIEDZI - 2 USEFUL
Andre Doman
Andre Doman
User
Autor

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.

Czytaj więcej
Posted on the from 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é

Czytaj więcej
Posted on the from 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

Czytaj więcej
Posted on the from Giorgio C.
Andre Doman
Andre Doman
User
Autor

Thanks to all.

Czytaj więcej
Posted on the from Andre Doman