Search found 3474 matches

by Holger
Sat Jul 31, 2010 12:59 pm
Forum: Deutsch
Topic: Template "Fire Engine"
Replies: 9
Views: 2915

Re: Template "Fire Engine"

by Holger
Fri Jul 30, 2010 5:59 pm
Forum: Addons and Plugins
Topic: Insert a text file or page
Replies: 11
Views: 4733

Re: Insert a text file or page

Ah, I see.
About the Dummy-message, I should have a closer look.

But if you want to use a hidden CMSimple page, why don't you use the integrated newsbox() functin in pd_scripting or with CMSimple-Scripting inside the content?

Holger
by Holger
Fri Jul 30, 2010 2:51 pm
Forum: Addons and Plugins
Topic: Insert a text file or page
Replies: 11
Views: 4733

Re: Insert a text file or page

bca wrote:On Holger's pd scripting I get " hi_pd_scripting-DUMMY_1" come up where I insert the file.
It's working.
You only have to enter

Code: Select all

file_get_contents('path/to/your/text.txt')
into the field "Script Code:".
Hmm, thought it's explained enough in the help-file.... :?

Holger
by Holger
Fri Jul 30, 2010 12:48 pm
Forum: Deutsch
Topic: Hintergrundfarbe FCKEditor
Replies: 21
Views: 7138

Re: Hintergrundfarbe FCKEditor

Warum die Macher von CMSimple_XH das weggelassen haben, ist mir schleierhaft. Na ja, es steht ja in der Doku des Editors und auch schon ewige Zeiten im Wiki... Wie auch immer, die Lösung mit der id für das body-tag hat hier, wenn ich mich richtig erinnere, Jens auch schon vor einiger Zeit gepostet....
by Holger
Sat Jul 24, 2010 9:34 pm
Forum: Bugs
Topic: Could not locate heading
Replies: 8
Views: 4924

Re: Could not locate heading

Hi, 1. When I login to CMSimple, I get the message Could not locate heading. However, the pages appear correctly with the exception of the Search box. That's normal and depending on how / from what page you login. Try it this way: http://www.mastermason.com/MasonicCollege/index.php?Welcome&login and...
by Holger
Sat Jul 24, 2010 12:40 pm
Forum: Deutsch
Topic: Bildersortierung im Plugin Gallery
Replies: 2
Views: 975

Re: Bildersortierung im Plugin Gallery

Hallo Taberius, beim Gallery-Plugin wird das Array mit den Namen der Bilder über ein simples readdir() eingelesen. Die Stelle im Code findest du in der Datei /includes/thumbcreate.php und dort in der Funktion LoadFilesArray($dir): function LoadFilesArray($dir) {         $files_array = array();      ...
by Holger
Wed Jul 21, 2010 10:11 pm
Forum: Deutsch
Topic: Im Content PHP nutzen
Replies: 28
Views: 6147

Re: Im Content PHP nutzen

Ok, ein letztes Mal - ganz von vorne ;) : Ich hatte weiter oben bereits erwähnt das das PHP-Skript irgend etwas "zurück geben" muss. Zum "zurück geben" bietet sich die Funktion return() an. Sinngemäß das Gleiche steht auch unter dem Link auf das Manual unter http://www.cmsimple.org. Jetzt speichere ...
by Holger
Tue Jul 20, 2010 9:40 am
Forum: Deutsch
Topic: Im Content PHP nutzen
Replies: 28
Views: 6147

Re: Im Content PHP nutzen

ike wrote:Gibt es da eine Kombination...
Na, das kann doch nicht sooo schwer sein...

Code: Select all

#CMSimple $output=preg_replace('/'.chr(35).'CMSimple.*'.chr(35).'/',$output.= autowrap("test.php", "100%", "500", "auto", "true", "Site is loading", "Page cannot be found."),$c[$s]);#
by Holger
Tue Jul 20, 2010 9:06 am
Forum: Deutsch
Topic: Im Content PHP nutzen
Replies: 28
Views: 6147

Re: Im Content PHP nutzen

Kann ich jetzt, statt der test.txt auch eine PHP-Seite einbinden - z. B. ein Formular mit ein paar PHP-Funktionen? Natürlich geht das. Ein paar Infos dazu findest Du hier: http://www.cmsimple.org/?Developer%27s_Manual:Integration_of_Scripts Aber auch hier gibt es wieder, wie Tata schon geschrieben ...
by Holger
Mon Jul 19, 2010 9:36 am
Forum: Deutsch
Topic: Im Content PHP nutzen
Replies: 28
Views: 6147

Re: Im Content PHP nutzen

Hallo ike, ja, beim "normalen" CMSimple-Scripting ist die Ausgabe immer am Ende der Seite (bzw. alle Inhalte nach dem Skript werden nicht ausgegeben). Um die Ausgabe an eine bestimmte Stelle zu bringen gibt es z.B folgenden Weg: #CMSimple $output=preg_replace('/'.chr(35).'CMSimple.*'.chr(35).'/',$ou...