WebSite X5Help Center

 
Francois R.
Francois R.
User

Entry page not displaying right - privacy coming too early  en

Autor: Francois R.
Besucht 1501, Followers 1, Geteilt 0  

Hello,

Recurring problem with the entry page, as can be seen here:

https://www.nouvellegalerie.fr

There is an entry page to select between French (default) or English.

Two problems:

1/ Often, the page does not displayed as properly centered. The graphic file is at the bottom of the browser window. However, if I click refresh, the page is correctly centered. Checked with Opera and Firefox.

2/ Given that there is a choice of language first, the popup showing the privacy policy comes too early. The French one (default) comes up before the selection of languages has been done. It interferes with the selection process. It should come once the user has clicked on French or when the browser display the welcome page after 5 seconds delay. That's what it does for English.

Thanks!

Gepostet am
12 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
Aleksej H.
Aleksej H.
Moderator

Hello.
1) I have encountered this several times. Sometimes changing these settings helped, and sometimes additional CSS styles helped.

2) Unfortunately, the program has no settings to change the delay in the appearance of the window. Perhaps you should create not two but three projects, in English, in French and separately for the entry page.

Mehr lesen
Gepostet am von Aleksej H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Francois R.
... 1) ... ... ... ... .... ...  2) ... ... ... ... ... .
  (It > En)
1) ... it is true, but the time (5 sec.) Is too short to evaluate;
2) ... it would be enough to simply remove the time for the redirect, or increase it (15-30 sec.) ...
... or you can hide the banner on the INTRO / index page with a simple CSS EXTRA ...

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Francois R.
Francois R.
User
Autor

Thanks for your reply.

I have found a solution for problem 1.

Thinking about what you said, my solution was to force the display of an empty PNG with transpartent background, then choosing 1 -Do not repeat and 5 - Center for the alignment.

Now the entry page shows the logo and language selection centered.

No solution for problem 2, the display of the GDPR notice comes up too early.

Whether I remove the automatic language selection or leave it at 15 seconds, which is long enough to click on a flag, the GDPR notice still comes up straight away.

Ideally, it should open only once the language has been selected given that a user who would want to select English to display the website is not going to understand a GDPR notice in French!

Of course, it works well when selecting the English orSpanish version of teh Welcome page. The relevant language GDPR notice comes up then.

I am not sure how to:

1- Hide the GDPR banner on the Intro page, for it to be displayed only when on the Home page (ideal).
2- Make the GDPR banner appear after 15 seconds, which is when the Intro pages goes to French by default.

If this can be done by adding extra CCS code, I don't know how to do it.

Cheers.

Mehr lesen
Gepostet am von Francois R.
Francois R.
Francois R.
User
Autor

Correction. I thought I had sorted problem 1, but it happens again. The image and flags are not dfisplayed as centered.

Mehr lesen
Gepostet am von Francois R.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Francois R.
Correction. I thought I had sorted problem 1, but it happens again. The image and flags are not dfisplayed as centered.

(It > En)  ... you set a margin from the top of 156 pixels ...
... check it out...
... or you can solve with this EXTRA code, Page INDEX, in Expert | Before closing the / HEAD tag:
<style> #imContent{ padding-top: 0px !important;" } </style>
...
(... if you want, it is possible with EXTRA code to delay the privacy banner for a few seconds ...)

.

ciao

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Francois R.
Francois R.
User
Autor

Thanks for the suggestion.

Are you talking about the index.html page created by WebsiteX5? In my case, it's index.php and home.html created by the software, due to requiring php with the Entry page.

Normally, when I see a page in 3. Map and click on Properties, I can access the tab Expert to add extra code.

But when you select the Entry page in "1. Settings-Advanced", there is no Expert page to be seen. And if I go to 3. Map, I cannot see any 'Entry page'.

So where do I input the style code you suggested? In index.php?

I guess the same question applies to the delay required to the GDPR popup display. I have no idea what code to add, and which file it concerns!

In any case, for further development of WebsiteX5, I believe it makes sense to have the Privacy page displayed AFTER a language selection has been made when a language Entry page exists, to avoid displaying GDPR warnings in a language that is not understood by the visitor.

Cheers.

Mehr lesen
Gepostet am von Francois R.
Francois R.
Francois R.
User
Autor

I was too fast.

In fact, I need to check Special Pages and I saw Page d'Accès (Access Page), meaning I have access to the Expert tab, so I am going to try your trick.

No idea about the Privacy notice though.

Mehr lesen
Gepostet am von Francois R.
Francois R.
Francois R.
User
Autor

Your solution for the display of the page works great. Thanks.

I have modified the GDPR display so both Privacy notice and image are seen from the top. That works fine for me too, I guess I could have played with the value of "0px" but I don't need the logo and flag to appear at the exact middle of the page.

If you can tell me how to add a delay to the GDPR notice, it's all I need now to get the site finalised.

Cheers,

Mehr lesen
Gepostet am von Francois R.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Francois R.
... ... ... If you can tell me how to add a delay to the GDPR notice, it's all I need now to get the site finalised. ... ... 
   ... x GDPR delayed by 5000 (m), (5 seconds) ...
... paste the code in the same previous section /HEAD:
<style> #cookie-law-message {display:none } </style>
<script> $( document ).ready(function() {setTimeout(function(){ $( "#cookie-law-message" ).show(); }, 5000); });  </script>

.

ciao

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Francois R.
Francois R.
User
Autor

Thanks. Tried it but it is not working. The popup page still appear without any dealy.

I went to the Expert tab of the Entry page and pasted your code, trying both After opening the HEAD tag and Before closing the HEAD tag (where the padding info was pasted).

If the website is in French, could it be that "cookie-law-message" is named differently?

Mehr lesen
Gepostet am von Francois R.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... is now at the beginning of HEAD, and it's not good ...
... replace with this code,> 3rd option, Before closing the /HEAD tag:
<script> $( document ).ready(function() {setTimeout(function(){ $( "#cookie-law-message" ).hide(); }, 1500); setTimeout(function(){ $( "#cookie-law-message" ).show(); }, 6000); }); </script>

... the banner should appear normally, then disappear after 1.5 seconds, and then reappear after 4.5 seconds...

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Francois R.
Francois R.
User
Autor

Thanks. It is a good workaround for now.

I hope Stefano agrees to putting the display of the GDPR cookie-law AFTER the user has selected the language as a task for his programmers to be included in a future version.

Thanks again.

Mehr lesen
Gepostet am von Francois R.