Page 1 of 2

WYSIWYG Ansicht bei Artikel Neubearbeitung

Posted: Sun 18. Mar 2007, 10:23
by elconde
Hallo,

wenn ich bei einem Artikel die Inhaltsart WYSIWYG gewählt habe, dann kann ich ihn ganz normal in dem dazugehörigen Editor bearbeiten. Wenn ich den Artikel nun wieder ändern möchte, dann wird mir nur der Inhalt in einem Texteditor angezeigt.

Code: Select all

<div class="articleText"><font size="4">Der Re...
Wie kann ich die WYSIWYG Ansicht auch beim Ändern nutzen?

Alex

Update:
Wenn ich einen Contentpart hinzufügen möchte als WYSIWYG, dann wird mir auch nur der normale Editor angezeigt! Ich nutze die Version 1.3

Posted: Sun 18. Mar 2007, 18:47
by elconde
oder habe ich beim update von 1.2.1 auf 1.3 etwas übersehen. musst man denn editor neu installieren/aktivieren?

Posted: Mon 19. Mar 2007, 06:07
by flip-flop
Hi elconde,

der Editor liegt in einer neueren Version vor.
Die Verzeichnisnamen haben sich auch geändert. (Groß/Kleinschreibung).

Knut

Posted: Mon 19. Mar 2007, 07:58
by elconde
hi knut,

muss ich dann im code etwas ändern, damit er den editor wiederfindet? in der updateanleitung stand davon nichts :-(.

alex

Posted: Mon 19. Mar 2007, 08:09
by flip-flop
Wenn du alle Dateien der V1.30 kopiert hast, brauchst du nichts ändern.
Du müllst lediglich deinen Server zu.

Ich gehe davon aus, das du den FCK meinst.
Ich gehe auch davon aus, dass du die conf.inc.php angepasst hast und den Originaleditor meinst.

Komisch ist, das der Aufruf einmal funktioniert.
- Was für ein Browser?
- JS sauber aktiviert?
- PF läßt JS zu?

Knut

Posted: Mon 19. Mar 2007, 08:53
by elconde
moin,

in der config habe ich nichts weiter angepasst, als die 2 ordnerpfade und die db daten. wo kann man denn da etwas bezüglich des editors einstellen?

js funktioniert
browser ff2

alex

Posted: Mon 19. Mar 2007, 09:02
by flip-flop
Welche 2 Ordnerpfade?
Ist es eine Neuinstallation, also eine komplett neue config?

Knut

Posted: Mon 19. Mar 2007, 09:03
by pico
Hi

vergleiche mal die Einträge deiner conf.inc.php mit der dist.conf.inc.php
da sind einige dazu gekommen u.a. auch für die WYSIWYG-Editoren

Posted: Mon 19. Mar 2007, 09:35
by elconde
hi,

das werde ich mal machen. ich war eigentlich der meinung, dass ich die dist. als basis für die config genommen habe.

Posted: Mon 19. Mar 2007, 18:17
by elconde
@ pico: die config ist mit der dist.config identisch
@ flip flop: es ist ein update von 1.2 auf 1.3. die geänderten pfade betreffen in der config:

Code: Select all

$phpwcms['templates']         = 'template'; // original phpwcms_template
$phpwcms['ftp_path']          = 'upload'; // orginal phpwcms_ftp
was könnte denn noch nicht stimmen? ich bekomme den wysiwyg nicht zu gesicht :?

Posted: Mon 19. Mar 2007, 18:53
by flip-flop
Blöde Frage, du bist aber immer mit dem selben User unterwegs? Soll heißen, der Artikle wird von ein und demselben User angelegt und editiert?

Was steht denn im Profil des Users bez. Editor, mit dem du den Artikel editieren möchtest?

- Wenn du nur diese beiden Pfade geändert hast ist es aber eine richtiges Mischmasch zwischen alten und neuen Pfaden.
Was ist mit

Code: Select all

$phpwcms['file_path']         = 'filearchive';
(Hat mit deinem PRoblem aber nicht zu tun).
- Alle PFad/Dateirechte sind auch gesetzt?

Ich kann es mir kaum vorstellen, das der Editor einmal geladen wird und ein zweites mal nicht mehr.
- Teste doch bitte einmal, ob an der Stelle an der normalerweise der Editor stehen sollte ein IFrame geladen wird.

- Mods oder RTs sind keine installiert?
- htaccess ist nicht für *.html angepasst?

Knut

Posted: Mon 19. Mar 2007, 19:13
by elconde
hi,

also den editor habe ich seit dem update noch gar nicht aufrufen können. vielleicht habe ich mich falsch ausgedrückt. ich kann weder artikel in wysiwyg anlegen noch entsprechende contenparts damit bearbeiten.

den von dir angegbenen pfad hatte ich noch nicht geändert. ist jetzt aber geschehen.

ich habe die artikel angelegt und bearbeitet. also gleicher user!

keine mods/htaccess änderungen sind vorgenommen worden.

???

hier ist nochmal meine config datei:

Code: Select all

<?php
/*************************************************************************************
   Copyright notice
   
   (c) 2002-2007 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
 
   This script is part of PHPWCMS. The PHPWCMS web content management system is
   free software; you can redistribute it and/or modify it under the terms of
   the GNU General Public License as published by the Free Software Foundation;
   either version 2 of the License, or (at your option) any later version.
  
   The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
   A copy is found in the textfile GPL.txt and important notices to the license 
   from the author is found in LICENSE.txt distributed with these scripts.
  
   This script is distributed in the hope that it will be useful, but WITHOUT ANY 
   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
   This copyright notice MUST APPEAR in all copies of the script!
*************************************************************************************/

// phpwcms base values -> needed in any document


// database values
$phpwcms['db_host']           = 'xxx';
$phpwcms['db_user']           = 'xxx';
$phpwcms['db_pass']           = 'xxx';
$phpwcms['db_table']          = 'xxx';
$phpwcms['db_prepend']        = '';
$phpwcms['db_pers']           = 1;
$phpwcms['db_charset']        = 'utf8';
$phpwcms['db_collation']      = 'utf8_general_ci';
$phpwcms['db_version']        = 0;

// site values
$phpwcms['site']              = 'http://'.$_SERVER['SERVER_NAME'].'/';
$phpwcms['admin_name']        = 'xxx';
$phpwcms['admin_user']        = 'xxx';
$phpwcms['admin_pass']        = 'xxx'; //MD5
$phpwcms['admin_email']       = 'noreply@'.str_replace(array('www.', 'WWW.', '/'), '', $_SERVER["HTTP_HOST"]);

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = '';
$phpwcms['file_path']         = 'filearchive';
$phpwcms['templates']         = 'template'; // original phpwcms_template
$phpwcms['content_path']      = 'content';
$phpwcms['cimage_path']       = 'images';
$phpwcms['ftp_path']          = 'upload'; // orginal phpwcms_ftp

// content values
$phpwcms['file_maxsize']      = 52428800; //Bytes (50 x 1024 x 1024)
$phpwcms['content_width']     = 650;      //max width of the article content column - important for rendering multi column images
$phpwcms['img_list_width']    = 100;      //max with of the list thumbnail image
$phpwcms['img_list_height']   = 75;       //max height of the list thumbnail image
$phpwcms['img_prev_width']    = 538;      //max width of the large preview image
$phpwcms['img_prev_height']   = 538;      //max height of the large preview image
$phpwcms['max_time']          = 1800;     //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten

// other stuff
$phpwcms['compress_page']     = 3;        //wenn 1 = Seite komprimieren, 0 = Kompresion aus
$phpwcms['imagick']           = 0;        //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms['imagick_path']      = '';       //Path to ImageMagick
$phpwcms['use_gd2']           = 1;        //if 0 = GD1, 1 = GD2
$phpwcms['rewrite_url']       = 0;        //whether URL should be rewritable
$phpwcms['wysiwyg_editor']    = 2;        //0 = no wysiwyg editor, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin']        = 0;        //enable/disable phpmyadmin in Admin section
$phpwcms['default_lang']      = 'en';     //default language
$phpwcms['charset']           = 'UTF-8';       //default charset 'iso-8859-1'
$phpwcms['allow_remote_URL']  = 0;        //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms['gt_mod']            = 0;        //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms['jpg_quality']       = 75;		  //JPG Quality Range 25-100
$phpwcms['sharpen_level']     = 1;        //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms['allow_ext_init']    = 1;        //allow including of custom external scripts at frontend initialization
$phpwcms['allow_ext_render']  = 1;        //allow including of custom external scripts at frontend rendering
$phpwcms['cache_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$phpwcms['cache_timeout']     = 14400;    //default cache timeout setting in seconds - 0 = caching Off
$phpwcms['imgext_disabled']   = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps'
$phpwcms['multimedia_ext']    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
$phpwcms['recipient_count']   = 0;
$phpwcms['inline_download']   = 1; //try to open download document in browser window
$phpwcms['form_tracking']     = 1; //make a db entry for each form
$phpwcms['formmailer_set']    = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling
$phpwcms['allow_cntPHP_rt']   = 0; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName']  = 'id'; //must have a minimum of 2 chars
$phpwcms['BOTS']			  = array('googlebot', 'msnbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler');
$phpwcms['mode_XHTML']        = 0; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html
$phpwcms['IE_htc_hover']      = 1; // enables HTC Hover for IE < 7 - has no effect in other browsers
$phpwcms['IE_htc_png']        = 1; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers
$phpwcms['timezone_GMT']  	  = '+1';
$phpwcms['Bad_Behavior']      = 1; // enables spam blocking by Bad Behavior
$phpwcms['wysiwyg_template']  = array(	'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 
										'SPAW' => 'default,mini,full,sidetable,intlink',
										'SPAW2' => 'toolbarset_standard,toolbarset_all,toolbarset_mini'  );
$phpwcms['GET_pageinfo']      = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link
$phpwcms['version_check']     = 1; // checks for current release of phpwcms online


// dynamic ssl encryption engine
$phpwcms['site_ssl_mode'] 	  = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms['site_ssl_url'] 	  = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. 'https://www.yourdomainhere.tld'
$phpwcms['site_ssl_port'] 	  = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@localhost';
$phpwcms['SMTP_FROM_NAME']    = 'My Name';
$phpwcms['SMTP_HOST']         = 'localhost';
$phpwcms['SMTP_PORT']         = 25;
$phpwcms['SMTP_MAILER']       = 'mail';
$phpwcms['SMTP_AUTH']         = 0;
$phpwcms['SMTP_USER']         = 'user';
$phpwcms['SMTP_PASS']         = 'pass';

define('PHPWCMS_INCLUDE_CHECK', true);

?>

Posted: Mon 19. Mar 2007, 19:20
by flip-flop
.....dann kann ich ihn ganz normal in dem dazugehörigen Editor bearbeiten. Wenn ich den Artikel nun wieder ändern möchte, dann wird mir nur der Inhalt in einem Texteditor angezeigt.....
:evil:

Du hast aber unter Profil den Editor dem jeweiligen User zugewiesen?

Knut

Posted: Mon 19. Mar 2007, 20:20
by elconde
Du hast aber unter Profil den Editor dem jeweiligen User zugewisen?

ähhh.... nein. aber das war der fehler. ein dreifaches hoch auf knut!

Posted: Mon 19. Mar 2007, 20:52
by flip-flop
Ab in die Ecke und schämen. :D

Da kommt niemand drauf nach deinem ersten Post. :roll:

Knut