Ein CMSimple Support Forum für deutsch sprechende Nutzer und Entwickler
-
Tata
- Posts: 3586
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sat Apr 10, 2021 4:52 pm
Ich habe folgenden Code in meinem Template (mit installiertem privacy_XH plugin:
Code: Select all
<div class="toc">
<?php if (isset($_COOKIE['privacy_agreed'])): ?>
<?=toc();?>
<div class="links">
<a href="./?Kontakt" title="Kontakt"><i class="fa fas fa-id-card"></i></a>
<a href="<?php echo tpl_printurl();?>" title="Vytlačiť"><i class="fa fas fa-print"></i></a>
<a href="./?Kontaktny-formular" title="Kontaktný formulár"><i class="fa far fa-envelope"></i></a>
</div>
<?php endif; ?>
</div>
Die Container "toc" und "Links" are sichtbar im Bckend. Ist die "Privacy" nicht bestätigt, bleibt der "toc" und "Links" versteckt im Forntend. Nachdem die "Privacy" Bestätigung, nur "toc" wird gezeigt. Der "Links" Conteiner aber nicht. Wie soll der Code lauten?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
olape
- Posts: 2731
- Joined: Fri Mar 13, 2015 8:47 am
-
Contact:
Post
by olape » Sat Apr 10, 2021 5:36 pm
Tata wrote: ↑Sat Apr 10, 2021 4:52 pm
Die Container "toc" und "Links" are sichtbar im Bckend. Ist die "Privacy" nicht bestätigt, bleibt der "toc" und "Links" versteckt im Forntend. Nachdem die "Privacy" Bestätigung, nur "toc" wird gezeigt. Der "Links" Conteiner aber nicht. Wie soll der Code lauten?
Im Quelltext (frontend) auch nicht zu sehen?
Vielleicht ist FA einfach nicht aktiviert?
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.
-
Tata
- Posts: 3586
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sat Apr 10, 2021 5:57 pm
Ich schäme mich. So eine Blödheit. Riesen Dank.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
olape
- Posts: 2731
- Joined: Fri Mar 13, 2015 8:47 am
-
Contact:
Post
by olape » Sat Apr 10, 2021 6:08 pm
Tata wrote: ↑Sat Apr 10, 2021 5:57 pm
Ich schäme mich. So eine Blödheit. Riesen Dank.
Keine Sorge. Das geht uns allen hin und wieder so.
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.
-
Tata
- Posts: 3586
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sat Apr 10, 2021 6:16 pm
Noch bleibt mir zu finden das da
viewtopic.php?f=7&t=17386. Ich kann nicht finden, wovon der Code kommt und warum wird er nach jedem speichern wieder zugehängt. Und zwar auf jeder editierten Seite.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.