German formal - SieEnglish
 
 
 
Aktuell arrow Web arrow Code Snippets
Anweisungen zur Installation des R3D Floaters | Drucken |  E-Mail

Beschreibung:

Ein Modul für Joomla 1.5.x - jegliches Modul schwebt von links in die Webseite. Was, wie weit, wie schnell und Transparenz sind einstellbar. Getestet bis IE6.
Besuchen Sie unsere Startseite um das Modul in Aktion zu sehen.

Anweisungen:

Bitte befolgen Sie zuerst alle Schritte genau so wie hier beschrieben. Erst wenn es funktioniert sollten Sie mit Änderungen experimentieren.
  1. Erstellen Sie zwei neue Positionen in Ihrer templateDetails.xml: floater und floatercontainer mit folgendem Code:
<position>floater</position>
<position>floatercontainer</position>
  1. Jetzt kopieren Sie folgenden Code in die index.php in Ihrer Template (direkt vor dem Ende des BODY tags):
<jdoc:include type="modules" name="floatercontainer" style="xhtml" />
  1. Gehen Sie zum Module Manager unter Erweiterungen und öffnen Sie das neue R3D Floater.
  2. Folgende Änderungen vornehmen:
    • Titel anzeigen: NEIN
    • Aktiviert: JA
    • Position: floatercontainer (NICHT floater!)
    • Menüs:
    • Menus: Select Menu Item(s) from the List
  3. Jetzt erstellen Sie bitte eine neue Instanz des mod_newsflash mit folgenden Einstellungen:
    • Titel: Floater Newsflash
    • Titel anzeigen: Nein
    • Aktiviert: Ja
    • Position: floater
    • Menüs: All
 
Joomla 1.0.x Templates: conditional statements | Drucken |  E-Mail

Hier kommt eine Auflistung nützlicher "conditional statements" für Joomla 1.0x Templates.



Letzte Aktualisierung ( 09.12.2008 )
Weiter …
 
Joomla! com_content hack (for 1.0.15) | Drucken |  E-Mail

An annoying restriction of the Joomla! framework: in full article view the component header disappears.
To get around it we used to create modules turned on just for that specific menu item - this becomes rather tedious.
So, here is a simple hack to add an extra item_header to an article, which shows up in full view only. 

We have to modify only two files:

  •  /components/com_content/content.php
  • /administrator/components/com_content/content.xml

You can set item_header in the Content Item Edit window (Parameters Tab).
It gets styled by .componentheading.

Letzte Aktualisierung ( 08.03.2008 )
Weiter …
 
Regular Expressions in Homesite 5.5 | Drucken |  E-Mail

Had to change some 700 lines of code in about 120 files - time to give that regular expressions manual another look.

The complete line of code looked like so:

<area shape="rect"  alt="Kirchholz-Häusle" xhref="16/kirchholz_haeusle.html" title="Kirchholz-Häusle" coords="873,215,918,258" onClick="open_win('16/johannes_kreuz.html',740,660,0,0,0,0,0,1,1,0,5,'win1');return false;" target="_blank">

I needed to get rid of the following javascript snippet that was not needed any longer:

onClick="open_win('16/johannes_kreuz.html',740,660,0,0,0,0,0,1,1,0,5,'win1');return false;" target="_blank"> 

above line(no line brakes) should change into

target="_blank">


Letzte Aktualisierung ( 05.01.2008 )
Weiter …
 
Joomla: Listenlänge im Backend | Drucken |  E-Mail

Ich finde es nervig zu blättern - lieber nehme ich eine längere Ladezeit in Kauf. Listen sind oft länger als die maximal "50" in Joomla -
und hier läßt sich das ändern:

Backend:   /administrator/includes/pageNavigation.php

In Joomla 1.0.13: Zeile 48 sieht so aus:

        $limits[] = mosHTML::makeOption( "50" );

Letzte Aktualisierung ( 29.08.2007 )
Weiter …
 
Form Validation | Drucken |  E-Mail
Javascript: Nur Zahlen dürfen in ein bestimmtes Formularfeld eingegeben werden.
<head>
<script type="text/javascript">
function numbersonly(e){
var unicode=e.charCode? e.charCode : e.keyCode
if (unicode!=8){ //if the key isn't the backspace key (which we should allow)
if (unicode<48||unicode>57) //if not a number
return false //disable key press
}
}
</script>
</head>

<body>
<form>
<input type="text" size=18 onkeypress="return numbersonly(event)">
</form>
Letzte Aktualisierung ( 25.08.2008 )
 

© 1997 - 2010  R3D - Webentwicklung  - Webentwicklung, Photographie & Netzwerk