WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

#26 15.09.2019 16:47:40

florian
Administrator

Re: New: fragstan

Von Detailkenntnissen unvorbelastet, würde ich jetzt ganz stark vermuten, dass wohl die Dateien /templates/fragstan/img/parallaxheader.jpg, parallaxheader-mobile.jpg und header-mobile.jpg diejenigen sind, welche.


Code allein macht nicht glücklich. Jetzt spenden!

Offline

#27 15.09.2019 16:55:24

screamindan
Mitglied

Re: New: fragstan

Das ist gut möglich. Ich verstehe nur nicht, warum das angezeigt wird. Ist das vielleicht dafür zuständig?:

[== PHP ==]
<body class="body<?php echo $page_id; if ($isfrontpage == true) { echo ' frontpage'; } if ($contentblock[3]!= '') { echo ' hascontent3'; } ?>">
<a id="top"></a><div style="display:none;"><a href="#beginContent">skip to content</a></div>

Offline

#28 15.09.2019 16:59:39

florian
Administrator

Offline

#29 15.09.2019 17:07:29

screamindan
Mitglied

Re: New: fragstan

Es wird ja die account/login.php aufgerufen. Muss ich das dann da drin ändern? In der index.php vom Fragstan hab ich mal zum Testen das

if ($isfrontpage == true) { echo ' frontpage'; }

rausgenommen. Das wirkt aber nicht auf die login.php...

Offline

#30 15.09.2019 17:22:39

florian
Administrator

Re: New: fragstan

Ändere die Zeile

if ( !isset($page_id) OR ( isset($template_id) AND $page_id==4) ) { $isfrontpage = true; } // websitebaker.at presentation 

zu

if ( !isset($page_id)  && in_array(PAGE_TITLE,$TEXT)===false && in_array(PAGE_TITLE,$MENU)===false ) { $isfrontpage = true; }

Code allein macht nicht glücklich. Jetzt spenden!

Offline

#31 15.09.2019 17:29:59

screamindan
Mitglied

Re: New: fragstan

Vielen Dank, Florian. Das klappt.  thumb_up

Offline

Fußzeile des Forums

up