WebSite X5Help Center

 
Ernests K.
Ernests K.
User

HTML code in X5 V10  en

Auteur : Ernests K.
Visité 1300, Followers 2, Partagé 0  
Mots-clés :: code,html,text,widgets

Hello, X5 team!

I want to put in the text box some widgets.

If with the widgets of Date [NOW] & Time [HOUR] all is OK, than with the widgets Sum total - "widget_amount_total" & Total quantity - widget_quantity_total I have problem.

In X5 V9 it was quite easy with HTML code. In X5 V10 code is changed. Or in the text box it doesn`t works.

Yes, in HTML & Widgets box can see all, like I want, but links like: href="C:\\\\Users\\\\Documents\\\\Incomedia\\\\WebSite X5 v10 - Evolution\\\\New Project\\\\Preview\\\\cart\\\\index.html#step1";

doesn`t operational in X5 V10.

Thank You.

Posté le
5 RéPONSES
Ernests K.
Ernests K.
User
Auteur

Ok, friends! I found in the TEXT BOX, then the link should be shorter in these cases like href="\\cart\\index.html#step1";

Lire plus
Posté le de Ernests K.
Ernests K.
Ernests K.
User
Auteur

Upss... Not in TextBox but in HTML&Widgets Box , sorry. :)

Lire plus
Posté le de Ernests K.
Incomedia
Claudio D.
Incomedia

Hello Ernests,

Can you please tell me what you want to add exactly?

Why you link to a file in the computer?

Once online it will not work because it points to a reference that doesn't exists online and you should use only relative links and not absolute ones.

Many thanks!

Lire plus
Posté le de Claudio D.
Ernests K.
Ernests K.
User
Auteur

I should redesign already existed web-site. To not make confusion online, I do it first on local mashine. That`s why I`m linking all to files in this mode, Claudio.

Lire plus
Posté le de Ernests K.
Incomedia
Claudio D.
Incomedia

Hello Ernests,

You need to use relative urls like cart/index.html instead of documents/... etc because once online it will not take the files form the pc but it has to know where they are on the server.

Please feel free to write back if you need more information.

Lire plus
Posté le de Claudio D.