Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks :: Archives ⇒ Help file for addon to message/html blocks :: Archived


Help file for addon to message/html blocks :: Archived
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

Topic Archived View previous topic :: View next topic  
Author Message
Damon
Newbie
Newbie

Offline Offline
Joined: Dec 24, 2004
Posts: 2
Location: NZ
PostPosted: Fri Jan 14, 2005 10:10 am
Post subject: Help file for addon to message/html blocks

Is their a help file I can download as to how to use the extra features in the message/html block like the quote, code, php, etc the picture and web links work great but can't get the format for the code,php etc I have a script that call a file for each day using the date etc but I wat to automate it so was hoping I could add in some php code, but cant get it to work what am I missing ?? ie
PHP:
// should print something like: Wednesday the 15th
echo date("l \\t\h\e jS");
?>


Damon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.49/4.0.18/4.3.4/9.0
Back to top
View user's profile Visit poster's website
PerM
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Aug 07, 2004
Posts: 390
Location: Sweden
PostPosted: Fri Jan 14, 2005 10:29 am
Post subject: Re: Help file for addon to message/html blocks

You want to call php code from with in the entered texts? That can't be done as it would open up a big security hole.


PerM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number
Damon
Newbie
Newbie

Offline Offline
Joined: Dec 24, 2004
Posts: 2
Location: NZ
PostPosted: Sat Jan 15, 2005 5:29 am
Post subject: Re: Help file for addon to message/html blocks

Thanks makes sence now I think about it for the public message forums what about the Admin menu for Block editing in HTML ?
So I take it the {PHP} and {CODE} key are for just displaying code, I see that now I have another look at my posted message.


Damon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.49/4.0.18/4.3.4/9.0
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

читај повеќе...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy