Page 1

Posts 10


Roland

Post: 001  

28.03.2008 - 07:19

Ich möchte auf meinen Seiten Sectionedit benutzen. Wie bekannt ist funktioniert dies nicht mit dem Fox Forum.
  • Ist es möglich die Gruppe Forum für die Funktion Sectionedit auszuschliessem. Das Markup nosectionedit funktioniert in diesem Fall ja nicht.
  • Ist es möglich mit Foxedit dieselbe das selbe Ergebnis, ohne Template, zu erzielen.

Profile?    

Post: 002  

by  Hans    on 28.03.2008 - 08:03

In config.php install sectionedit etwa so:

$group = PageVar($pagename, '$Group');
if (!$group=='Forum') 
    include_once('cookbook/sectionedit.php');

Profile   email   www

Post: 003  

by  Hans    on 28.03.2008 - 08:10

Mit FoxEdit muss man foxedit Links in die Seite setzen, je einen für jede Section (anchor section). Sektionen unterteilt durch headings sieht FoxEdit nicht. Dagegen kann FoxEdit auch gezielt PTVs editieren.

Also man braucht kein Template, um foxedit Links zu setzen.
Ist nur einfacher wenn man zB message edit links im forum braucht.

Profile   email   www

Post: 004  

by  Roland    on 28.03.2008 - 17:59

Zu sectionedit

  • Funktioniert so leider nicht

Sectionedit wird überhaupt nicht aktiviert.

Profile?    

Post: 005  

by  Roland    on 28.03.2008 - 21:35

Ich habe es noch mit foxedit probiert

Ich habe einen Textabschnitt mit #anchor und #anchorend eingefasst.
und folgenden Link gesetzt:

{[foxedit #einleitung form=EditSectionForm]}

Der Bearbeiten Link wird angezeigt

Der Text ist aber nicht im Edit Feld

Profile?    

Post: 006  

by  Hans    on 29.03.2008 - 20:21

Bitte probier noch mal mit dem neuesten update:
Cookbook:FoxEdit

Profile   email   www

Post: 007  

by  Roland    on 29.03.2008 - 22:42

Habe FoxEdit und Fox aktualisiert

FoxTemplates.EditSectionForm habe ich gemäss Rezept geändert.

Es hat sich ja nur (:messages:) zu (:foxmessages:) geändert.

Der Bearbeiten Link wird angezeigt aber EditSectionForm öffnet sich nicht.

$FoxEditPageSectionForm='FoxTemplates.EditSectionForm'; habe ich in der config.php eingefügt.

Es kommt auch keine Fehlermeldung

Profile?    

Post: 008  

by  Hans    on 30.03.2008 - 00:19

Die beiden Vorgaben für edit form variables in FoxEdit sind:

$FoxEditPTVSectionForm = 'FoxTemplates.EditPTVForm';
$FoxEditPageSectionForm = 'FoxTemplates.EditSectionForm';

und müssen nicht in config.php eingegeben werden.

Ein foxedit link {[foxedit #einleitung]} sollte
zb solch Inhalt in eine edit form bringen:

[[#einleitung]]
ein bisschen text....
.....
bis hier.
[[#naechsteranker]] (oder [[#einleitungend]])

Wenn nichts passiert schau mal auf die status Leiste des Browsers (Fusszeile, evtl status bar erst öffnen), und beweg die Maus über den edit link. Was zeigt sich?

Kann ich mir das irgendwie angucken?

Profile   email   www

Post: 009  

by  Hans    on 30.03.2008 - 15:35

Roland, um SectionEdit fuer alle Grupeen zu installieren ausser 'Forum', musst du es wie folgend installieren:

$group = PageVar($pagename, '$Group');
if ($group!='Forum') 
    include_once('cookbook/sectionedit.php');

Mein Fehler, sorry!

Profile   email   www

Post: 010  

by  Roland    on 30.03.2008 - 20:20

Sectionedit funktioniert jetzt.

Foxedit funktioniert jetzt auch.
Hatte beim link noch form=EditSectionForm angegeben, dies wird ja aber nicht benötigt.

Besten Dank für Deine Hilfe

Profile?    

Add Comment

 
Subject:
Message:
 Enter value <- Have you entered the code number?
Author:
Page 1