HTTPS mit SSL Proxy für WordPress

So kann man WordPress mit SSL nutzen:

  1. öffnen der Datei wp-config.php
  2. einfügen des folgenden Codes vor dem Kommentar Stop editing
    Die Variable Domain gibt die Hauptdomain des Blogs an.

    //ssl patch begin
    	$domain = 'blog.kay-strobach.de';
    	if($_SERVER['HTTP_X_FORWARDED_HOST']=="ssl.webpack.de") {
    				// mit SSL-oxy
    			define('WP_SITEURL', 'https://ssl.webpack.de/' . $domain);
    			define('WP_HOME', 'https://ssl.webpack.de/' . $domain);
    			$_SERVER['HTTPS'] = 'on';
    			$_SERVER['REQUEST_URI'] = '/' . $domain . $_SERVER['REQUEST_URI'];
    	} else {
    				// Ohne SSLroxy
    			define('WP_SITEURL', 'http://' . $domain);
    			define('WP_HOME', 'http://' . $domain);
    	}
    //ssl patch end
    

    und schon ist es erledigt …

Aloha editor im TYPO3 Backend

Based on the discussion on the TYPO3v4 List:

http://lists.typo3.org/pipermail/typo3-project-v4/2011-July/002519.html

I started to implement an early prototype of aloha editor in the TYPO3 Backend:

You may download the extension below. All other rte’s must be deactivated.

T3X_aloha-0_1_0-z-201107041851

Please note, this software is an early alpha – Please do not use it in an production environment. I do not guarentee, that is works completly.

Current features:

  • Basic Aloha editor in Backend
  • Saving works

Must have features (currently missing):

  • Optimizing code to be smaller (currently based on tinemce_rte)
  • Link Wizard
  • Table Wizard
  • CSS Class Wizard
  • other

Regards

Kay

Wysiwyg in Mantis einbinden

Download und unzip tinymce im Verzeichnis custom in der Mantisinstallation.

http://tinymce.moxiecode.com/index.php

Ändere die config.inc.php

$g_meta_include_file			= '%absolute_path%custom/meta_inc.php';

Füge zur custom/meta_inc.php folgende Zeilen hinzu (eventuell muss die Datei angelegt werden).

<script type="text/javascript" src="custom/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
        // General options
        mode : "textareas",
        theme : "advanced",
        plugins : "spellchecker,searchreplace,print,contextmenu,paste,fullscreen,inlinepopups",

        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,bullist,numlist,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|,code",
        theme_advanced_buttons2 : "",
        theme_advanced_buttons3 : "",
        theme_advanced_buttons4 : "",
		theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
		valid_elements : "a[href|target=_blank],b/strong,i/italic,u/underline,s/strikethrough,ul,ol,li,br",
		force_br_newlines : true,
        force_p_newlines : false,
		remove_linebreaks : true,
		apply_source_formatting:false,

        // Example content CSS (should be your site CSS)
        content_css : "css/default.css",

});
</script>