[FM Discuss] Information needed about setting up booki publisher
James Simmons
nicestep at gmail.com
Fri Jul 22 09:08:24 PDT 2011
Daniel,
I made the phpinfo.php file, and it worked. Output is attached.
James Simmons
On Fri, Jul 22, 2011 at 9:45 AM, Daniel James <daniel.james at sourcefabric.org
> wrote:
> Hi James,
>
> > I've gotten the damned thing to the point that when you try to load
> > either admin.php or index.php you get a page back containing this and
> > nothing else:
> >
> > <?
> > function addTemplate ($templateType='read',$content) {
> >
> > if ($templateType=='editor') {
> > $template=file_get_contents("_templates/editor.tmpl");
> > } else {
> >
> $template=file_get_contents("_templates/".DEFAULT_TEMPLATE."_$templateType.tmpl");
> >
> > }
> > $page=preg_replace('[<content-goes-here/>]',$content,$template);
> > //following works but i first have to work out how to find json rows
> > $hook_args['output']=$page;
> > $page = fire_hook("tag_replace", $hook_args);
> >
> > return $page;
> > }
> > ?>
>
> I suggest setting up a phpinfo page to check your configuration is
> working as expected.
>
> Cheers!
>
> Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20110722/18dfb193/attachment.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20110722/18dfb193/attachment.html>
More information about the Discuss
mailing list