Re: Guestbook Problem: Zeigt mir nix an!
Posted: Mon Oct 27, 2008 10:47 am
Gemeint ist wohl TinyMCE - den solltest du probieren als Frontend-Editor einzusetzen (und nicht den FCK)
...

Content management as it is meant to be
https://forum.cmsmadesimple.org/
Nein - ein Editor....skibby wrote: was soll das sein?? Ein anderes Gästebuch?
Code: Select all
<form action="http://david-behr.de/gastbuch/" method="post">
Code: Select all
<form name="insert" action="http://david-behr.de/gastbuch" method="post">
Also ... der 2 link auf der ersten Seite ist zur Fehlerbehebung. Bis dato habe ich noch nicht einmal einen Entry button angezeigt bzw. kam erst garnicht in das Formular. In dieser Fehlerbeschriebung stand das man einen "/" in einer bestimmten Zeile setzen muss in module/Guestbook/action.default.phpCode:
Form-action auf der Darstellung mit dem Formular:
Code:
Wie kommt es, dass bei dem einen ein '/' am Ende ist, bei dem anderen aber nicht ... ? Wo doch das CMS die Adresse automatisch und vor allem immer nach gleichem Muster richtig ermittelt...
Es ist nicht ganz einfach, all die Schritte und Zwischenversionen mit den veschiedneen Adressen nachzuvollziehen.skibby wrote: was da keiner mehr was zu?
Das Modul bezieht die Formaction-Adresse im" Formular Template" über {$geturl} automatisch.skibby wrote:Irgendwo wie im Modul Guestbook muss nochmal ein "/" rein. Ich finde nur nicht den passen Eintrag der das "insert" steuert.
Ich tippe mal auf beides. Da resultiert bestimmt eins aus dem anderen.antibart wrote:
Meiner Vermutung nach hat Dein Problem entweder was mit Berechtigungen zu tun oder mit der Auflösung der URL.
Code: Select all
<form name="insert" action="{$geturl}/" method="post">
Code: Select all
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
#
Options -Indexes
ServerSignature Off
Options +FollowSymLinks
#
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms/
RewriteBase /
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
Gern geschehen.skibby wrote:
es funktioniert endlich!! Der Tipp mit dem / hinter {geturl} war Gold wert!!! So muss es im Formular Template aussehen:
Code: Select all
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
RewriteRule ^News/rss(.+)$ index.php?page=News/rss$1 [S=1]
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)(.html)?$ index.php?page=$1 [QSA]
Code: Select all
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = true;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';