Full site in 3 languages is ready, but I need to put an intro (full screen image with 3 flags to choose language).
When i put index.html on the server, language page shows up as it should.
Clicking a flag should go to: mydomain.com/?Page1 (obviously an url for cmsimple). However, nothing happens and the intropage remains. The link mydomain.com/index.php/?Page1 works, but I don't want the "index.php" showing up on every url of the site.
Any ideas how to work around? Maybe some .htaccess code could solve this?
Start website with index.html containing intro and language choice
Re: Start website with index.html containing intro and language choice
Also with htaccess you will not be able to prevent this. The server obviously accesses index.html first, then index.php. Otherwise your construction would not work.
But for the second languages this shouldn't be a problem. This should work. Surely you didn't put index.html there.
One solution would be to create your language choice in the default language with your own template as start page.
But for the second languages this shouldn't be a problem. This should work. Surely you didn't put index.html there.
One solution would be to create your language choice in the default language with your own template as start page.
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Re: Start website with index.html containing intro and language choice
Solved as follows: I made own template for cmsimple just containing a fullscreen image and 3 language flags.
Then on website in the default language made a new page ‘home’, hidden from menu and using new template just for that page.
Cm”simple” but perfect solution for this issue
Then on website in the default language made a new page ‘home’, hidden from menu and using new template just for that page.
Cm”simple” but perfect solution for this issue
Re: Start website with index.html containing intro and language choice
Thanks to Olape by the way!
Re: Start website with index.html containing intro and language choice
Great. Another possibility is described here (Popup window with hi_fancybox).
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Start website with index.html containing intro and language choice
@PHP-Cracks: Could userprelude.php be used for something like this?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Start website with index.html containing intro and language choice
I don't think that's really working. That would be included with every page call. But that is not supposed In this case.lck wrote: ↑Tue Mar 12, 2019 9:24 pm@PHP-Cracks: Could userprelude.php be used for something like this?
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Re: Start website with index.html containing intro and language choice
Indeed.olape wrote: ↑Tue Mar 12, 2019 9:30 pmI don't think that's really working. That would be included with every page call. But that is not supposed In this case.lck wrote: ↑Tue Mar 12, 2019 9:24 pm@PHP-Cracks: Could userprelude.php be used for something like this?
It seems to me that Nicky's current solution is quite apt for this use-case. It could be sensible to add hidden start pages with language selection also for the secondary languages (i.e. not only for the primary language).
Christoph M. Becker – Plugins for CMSimple_XH