[new free onepage template] fhs-sectionsOP

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Fri Oct 29, 2021 10:13 am

frase wrote:
Fri Oct 29, 2021 10:00 am
Ja, damit wollte ich prüfen ob das Licht wirklich ausgeht, wenn ich die Kühlschranktür schließe - ähm, ob das Plugin "Adc" index.php wirklich entfernt
Ah ja, so so. Ohne "Adc" steht dann halt nach einem Klick auf's Logo die index.php dabei, z.B. xh175_fhs-sectionsOP/index.php#Start-1.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Fri Oct 29, 2021 10:22 am

lck wrote:
Fri Oct 29, 2021 10:13 am
Ah ja, so so. Ohne "Adc" steht dann halt nach einem Klick auf's Logo die index.php dabei, z.B. xh175_fhs-sectionsOP/index.php#Start-1.
Na ja, so genau weiß ich das auch nicht mehr, warum ich das tat.
Aber vielleicht ist es wirklich mal ganz gut auf DC hinzuweisen.

Was anderes:
In deiner neuesten onepage.min.js steht u.a.

Code: Select all

if ... || 0 > 300) { // lck 29.10.2021
Wenn Null größer als 300?
Was ist denn das für eine Bedingung?

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Fri Oct 29, 2021 10:46 am

Negative for the new test, still no click possible.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Fri Oct 29, 2021 11:15 am

What else just caught my eye:
Firefox:
When clicking on the To-Top button appears in the console:
Leerer String an getElementById() übergeben. ... onepage.min.js:95:27
This happens with Christoph's original JS, both on my demo and Ludwig's test.

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Fri Oct 29, 2021 11:19 am

frase wrote:
Fri Oct 29, 2021 10:22 am
Wenn Null größer als 300?
Was ist denn das für eine Bedingung?
Ruhig Brauner, abwarten und Tee trinken. Ist ja nichts fix, nur ein Versuch. Der Button ist zumindest schon mal da, nur nicht klickbar.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Fri Oct 29, 2021 11:22 am

doczimut wrote:
Fri Oct 29, 2021 10:46 am
Negative for the new test, still no click possible.
Check it out in your browsers with the DEV-Tools. Do you see a "click" for "Event Listeners"?
 
dev-tools_event-listeners.gif
You do not have the required permissions to view the files attached to this post.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by cmb » Fri Oct 29, 2021 1:23 pm

frase wrote:
Fri Oct 29, 2021 11:15 am
What else just caught my eye:
Firefox:
When clicking on the To-Top button appears in the console:
Leerer String an getElementById() übergeben. ... onepage.min.js:95:27
This happens with Christoph's original JS, both on my demo and Ludwig's test.
That might indeed be an issue. Likely caused by https://github.com/cmb69/onepage_xh/blo ... in.js#L219. I'll try to check that in the evening or tomorrow.
Christoph M. Becker – Plugins for CMSimple_XH

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Fri Apr 22, 2022 8:17 am

Hello
To use this template in multi-pages and not as one-page, what should be done?

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Fri Apr 22, 2022 8:37 am

doczimut wrote:
Fri Apr 22, 2022 8:17 am
To use this template in multi-pages and not as one-page, what should be done?
In principle, it is sufficient to change the two Onepage-specific calls for the menu and for the content.
In template.htm
Line 192:

Code: Select all

<nav id="mainNav"><?=onepage_toc();?></nav>
will be changed to:

Code: Select all

<nav id="mainNav"><?=toc();?></nav>
Line 206:

Code: Select all

<?=onepage_content();?>
will be changed to:

Code: Select all

<?=content();?>
I haven't tried it, but for sure then various adjustments are needed (at least some styles).

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Fri Apr 22, 2022 8:48 am

Thanks, I'll take a look at all of that.

Post Reply