Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Breadcrumb

Empfohlene Antworten

Veröffentlicht

Hi Leute

ich habe folgenden Code als "Muster" für ein Breadcrumb zur Verfügung gestellt bekommen. Wie kann ich dies in meine Webseite einbauen und Funktionsfähig machen?

Sorry aber ich bin absolut neu, habe keine Vorkenntnisse und habe vor kurzem meine Ausbildung zum Fachinformatiker begonnen...

Danke im Vorraus

hier das Muster:

<?php

abstract class Pathway {

private static $_items = array();

private static $_seperator = '|';

public static function addItem($name,$link,$title="name",$rel='up') {

if (!empty($name)) self::$_items[] = array($name,$link,$title,$rel);

}

public static function get() {

$tmp = array();

foreach (self::$_items as $item) {

if (empty($item[1])) $tmp[] = '<span>'.$item[0].'</span>';

else $tmp[] = '<a href="'.$item[1].'" title="'.(empty($item[2])? $item[0]:$item[2]).'" rel="'.$item[3].'"><span>'.$item[0].'</span></a>';

}

return implode(self::$_seperator, $tmp);

}

public static function getNames() {

$tmp =array();

foreach(self::$_items as $item)

$tmp[] = $item[0];

return $tmp;

}

}

?>

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.