WebSite X5Help Center

 
Andre Doman
Andre Doman
User

Widgets in HTML Object  en

Автор: Andre Doman
Просмотрено 1913, Подписчики 1, Размещенный 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

Размещено
5 Ответы - 2 Полезно
Andre Doman
Andre Doman
User
Автор

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.

Читать больше
Размещено От 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é

Читать больше
Размещено От 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

Читать больше
Размещено От Giorgio C.
Andre Doman
Andre Doman
User
Автор

Thanks to all.

Читать больше
Размещено От Andre Doman