http://propelorm.org/documentation/01-installation.html
your_application/
your_application/…
| <?php | |
| // -------------------------------- Einstellungen | |
| $article_id = 2; // Artikel Id | |
| $clang = false; // Sprachen Id --------- false = aktuelle Sprache | |
| $ctype = 0; // Ctype Id ------------ 0 = alle Ctypes | |
| $slices_amount = 2; // Anzahl der Slices --- 0 = alle Slices |
http://propelorm.org/documentation/01-installation.html
your_application/
your_application/…
| <?php | |
| $root_id = REX_CATEGORY_ID; | |
| $ignore_offline = true; | |
| function getArticles ($id, $ignore_offline) { | |
| $return = array(); | |
| if ($id > 0) { | |
| $cats = OOCategory::getChildrenById($id, $ignore_offline); | |
| foreach ($cats as $cat) { |
| <?php | |
| /* | |
| REDAXO 4.5 - Ctypes sortieren | |
| Sortierung erfolgt mit vorangestellter Zahl beim Ctypenamen im Template. | |
| Bspl: | |
| 01 - Inhalt | |
| 02 - rechte Spalte | |
| <?php | |
| if (!function_exists('pr')) { | |
| function pr() | |
| { | |
| array_map(function ($x) { | |
| echo '<pre>'; print_r($x); echo '</pre>'; | |
| }, func_get_args()); die; | |
| } |
| <?php | |
| /* | |
| Erstellt ein <select> mit einem zusätzlichen <option> Element | |
| Ergebnis | |
| <select name="region"> | |
| <option value="0">-</option> // keine Einschränkung | |
| <option value="-1">Alle Regionen</option> // Alle Regionen berücksichtigen | |
| <option value="1">Hamburg</option> // nur Region Hamburg berücksichtigen |
| /* | |
| Sprachnavigation innerhalb einer XForm Tabelle | |
| Das nachfolgende HTML mit dem Value "html" anlegen. | |
| Felder müssen mit einem Prefix "_CLANG-ID" angelegt werden | |
| Bsp.: | |
| Clang | Sprache | Feldname | |
| 0 | de | name_0 |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Maintain Image Aspect Ratios in RWD</title> | |
| <meta name="robots" content="noindex, nofollow"> | |
| <link href="style.css" rel="stylesheet" media="screen"> |
| # ###################################################################### | |
| # This below is extracted from the HTML5 boilerplate htaccess file. # | |
| # ###################################################################### | |
| # | |
| # Apache Server Configs v3.0.0 | MIT License | |
| # https://github.com/h5bp/server-configs-apache | |
| # (!) Using `.htaccess` files slows down Apache, therefore, if you have | |
| # access to the main server configuration file (which is usually called | |
| # `httpd.conf`), you should add this logic there. |
ARIA Authoring Practices Guide (APG)
https://www.w3.org/WAI/ARIA/apg/
Design System