?Quick-Info

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
mr.001
Posts: 18
Joined: Mon 14. Feb 2005, 22:55
Contact:

?Quick-Info

Post by mr.001 »

Hallo,
hat schon Jemand von euch Quick-Info auf der linke Spalte installiert?

Ich habe die folgende Codes in Headbereich Hauptvorlage:

<script language="javascript">
<!--
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('iframename').contentDocument.body.scrollHeight;
document.getElementById('iframename').style.height = h;
}
else if(document.all) {
h = document.frames('iframename').document.body.scrollHeight;
document.all.iframename.style.height = h;
}
}
//-->
</script>

und rechte Spalte Hauptvorlage:


<!-- rechts -------------------------------------------- //-->

<!-- Quick-Info :: iFrame -->
<div style="padding:0px 5px 10px 5px; margin:0;">
<iframe onLoad="iFrameHeight();"
src="{ SITE}index.php?quick-info" scrolling="no" scroll="auto"
id="iframename" name="iframename"
marginwidth="0" marginheight="0" frameborder="0"
style="width:100%;" height="10px">
</iframe>
</div>

aber ich bekomme folgende Meldung:

The requested URL /iphonet-wcms/{ SITE}index.php was not found on this server.

alias ist für diese Seite: quick-info

Gruß
Zoltan
User avatar
Rainer G
Posts: 377
Joined: Wed 16. Feb 2005, 10:26
Location: Hannover - Germany
Contact:

Post by Rainer G »

Was ist Quick-Info denn?
mr.001
Posts: 18
Joined: Mon 14. Feb 2005, 22:55
Contact:

Post by mr.001 »

Rainer G wrote:Was ist Quick-Info denn?
http://peperkorn-online.de/index.php?in ... editierbar
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hallo mr.001

bitte das Leerzeichen hinter der öffnenden Klammer entfernen!
src="{ SITE}index.php?quick-info" scrolling="no" scroll="auto"
Aber das steht auch im TUT :lol:
Achtung:

Das Leerzeichen hinter der öffnenden, geschweiften Klammer ist unbedingt zu entfernen. Die Anweisung ist sonst ohne Funktion!
mr.001
Posts: 18
Joined: Mon 14. Feb 2005, 22:55
Contact:

Post by mr.001 »

[quote="pepe"]Hallo mr.001

bitte das Leerzeichen hinter der öffnenden Klammer entfernen!

Hallo pepe,

ja du hast recht, danke! Ich wusste nicht welche Klammer.
Aber warum ist da überhaupt ein Leerzeichen? Das ist mir ein Rätsel.

Gruß
zoltan
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

huhu,

es würde sonst der Code angewendet/ausgeführt werden und nicht mehr als lesbarer Code sichtbar sein, daher der Trick mit dem Leerzeichen :-)

engl.
the gap between the brackets is for prevent the cms to execute the code, so with the gaps it can be shown and read by yourself - just delete the gap and the code is executable..
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
mr.001
Posts: 18
Joined: Mon 14. Feb 2005, 22:55
Contact:

Post by mr.001 »

Alles klar.
Post Reply