Domainweiterleitung samt URL-Parameter mittels htaccess

Jan 31

# alle Anfragen einer Domain auf die aktuelle weiterleiten
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !$ [NC]
RewriteRule ^(.*)$$1 [L,R=301]

MySQL Datenbanken per Konsole sichern und wiederherstellen

Jan 29

Einzelne MySQL Datenbank exportieren

mysqldump -u username -p database_name > dump.sql

Die Struktur einer MySQL Datenbank exportieren

mysqldump -u username -p --no-data database_name > dump.sql

Die Daten aus einer MySQL Datenbank exportieren

mysqldump -u username -p --no-create-info database_name > dump.sql

Mehrere MySQL Datenbanken exportieren

mysqldump -u username -p --databases db_name1 [db_name2 ...] > dump.sql

Alle MySQL Datenbanken exportieren

mysqldump -u username -p --all-databases > dump.sql

MySQL Datenbanken importieren

mysql -u username -p database_name < dump.sql

Vielen Dank an: Webprosa

Div auf Webseite horizontal & vertikal zentrieren

Jan 20
/* CSS Code */
html {
body {
      Thats it!

Icon vor HTML Tag vertikal mittig ausrichten positionieren

Jan 20
.pdf:before {
    padding: 0 5px 0 0;
    content: url(../img/icon/pdf_small.png);
    vertical-align: -50%; // Hier liegt der Hase im Pfeffer begraben

Bootstrap 4 Template für CMS made Simple CMSMS

Jan 17

Dieser Beitrag wurde von übernommen und dienst lediglich als mein Öffentliches Bookmark.

Hier also das Template und die Vorgehensweise zur Installation.

This is my generic Bootstrap 4 template for use with CMSMS. It provides a central settings file to easily change the template, as well as a flexible template with 9 content sections. Sections can be styled through the Content Manager using the Bootstrap classes. It has the following dependencies:

Recommended CMSMS modules:

  • CGSmartImage
  • CGExtensions
  • CSSPreProcessor
  • SitemapMgr
  • Markdown1

Links to the template, stylesheets and required UDTs:

Template Files:
CSS Files:
Smarty plugins:

Place these in /assets/plugins/


  • Create a new design in Design Manager called Bootstrap4
  • Create each of the templates above, using the same names (eg „Bootstrap4 Settings“).
  • The default template shoudl be set to:
    • Bootstrap4 Nonuple Cols
  • The following templates should be set as unlisted:
    • Bootstrap4 Core
    • Bootstrap4 Settings
  • Create a new folder under /assets/themes called bootstrap4

Setting up the CSS.

Setting up the app-manifest
  • Create a new page.
  • Name it app-manifest.json
  • Make sure the alias includes the extension
  • Insert a placeholder in the content area. This will not be shown.
  • Set it to use the Bootstrap4 AppManifest template type.
  • Hide it from the menu
  • Update the $manifest_alias variable found around line # in the Bootstrap4 Settings template.
Optimization WordPress Plugins & Solutions by W3 EDGE