[Pmwiki-users] new user

Jesse Grosjean jesse
Wed Nov 3 20:36:44 CST 2004


Scott,

> Add <!--function:RawInclude path/to/file.html--> to your template and
> make sure that you have RawInclude() defined in your config.php.
> Here's a quick example:

Thanks this works great. I'm using this now and will switch to using 
<!--file:--> once I upgrade to 2.0.devel22.

> I *think* it would be something like this:
>
> 	Markup(
> 	   'gallery',			# an id for this markup
> 	   'directives',		# when this gets executed
> 	   '/\\(:gallery (.*?):\\)/e',	# the RE itself
> 	   'xGallery("$1")',		# the replacement
> 	);
>
> See http://www.pmichaud.com/pmwiki2/pmwiki.php/PmWiki/CustomMarkup for
> more information.

Thanks again. I'll try this out to play with things, but it sounds like 
someone's already porting over the gallery for 2.0 so I might wait for 
that. Thanks everyone for the quick responses.

Jesse




More information about the pmwiki-users mailing list