WebSite X5Help Center

 
Ernests K.
Ernests K.
User

HTML code in X5 V10  en

Автор: Ernests K.
Просмотрено 1281, Подписчики 2, Размещенный 0  
Тэги: 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.

Размещено
5 Ответы
Ernests K.
Ernests K.
User
Автор

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

Читать больше
Размещено От Ernests K.
Ernests K.
Ernests K.
User
Автор

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

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

Читать больше
Размещено От Claudio D.
Ernests K.
Ernests K.
User
Автор

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.

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

Читать больше
Размещено От Claudio D.