Search found 141 matches

by randulo
Tue Sep 02, 2008 3:10 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

The PHP plugin is harder to add to that list, because currently this list only uses plugins that only occur once, but the PHP plugin can occur multiuple times... Indeed, like the HTML blocks, it can occur multiple times. I hate hacking up the install because then I never want to update it. It unfor...
by randulo
Tue Sep 02, 2008 2:34 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

Hey Garvin, Would it be possible to add the php plugin tot he static pages menu in the "other plugins" section? That would neatly solve my problem. What would it tak to add the php plugin to this list? serendipity_event_downloadmanager Plugin is not available serendipity_event_guestbook Pl...
by randulo
Tue Sep 02, 2008 11:09 am
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

Re: Use php include instead of content on static pages?

Hi! Smarty is required, it usually ships with s9y inside the 'bundled-libs' directory. So you don't have it on your server somewhere in /usr/local/lib/php or sth like it? Did I understand you right, you get that error right on the frontpage? So you did not yet put any {php} code into any staticpage...
by randulo
Mon Sep 01, 2008 5:28 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

Re: Use php include instead of content on static pages?

This sounds as if s9y uses a local smarty version on your server that is too old. Either remove that old smarty, or upgrade it, or insert $serendipity['use_PEAR'] = false in your serendipity_config_local.inc.php - I wouldn't know why else there is an error, as assign_by_ref() is a smarty internal f...
by randulo
Mon Sep 01, 2008 4:29 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

Re: Use php include instead of content on static pages?

Hi! 1. Install the "Smarty Markup" plugin 2. Edit your template's config.inc.php to disable smarty security: $serendipity['smarty']->security = false; 3. Create a staticpage and embed your php with {php}...{/php} in the staticpage body. Garvin OOPS! Fatal error: Call to undefined function...
by randulo
Wed Aug 13, 2008 4:28 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

Re: Use php include instead of content on static pages?

garvinhicking wrote:Hi!
The best way for this is:
[good stuff snipped]
HTH,
Garvin
Thanks Garvin for coming through, as always, with a solution so quickly!

randy
by randulo
Tue Aug 12, 2008 6:07 pm
Forum: General discussions
Topic: The Future of Serendipity
Replies: 66
Views: 65287

Now I understand that this editor is a 3rd party product that is no longer in development. So maybe its time to switch to some other editor as the s9y default wysiwyg? Garvin, I add my sincere thanks to your active support and the original work, it's great! I have donated more than once (Amazon wis...
by randulo
Tue Aug 12, 2008 5:56 pm
Forum: General discussions
Topic: [solved] php include instead of content on static pages?
Replies: 18
Views: 8010

[solved] php include instead of content on static pages?

EDIT: this was solved by making sure Smarty plugin was before Static Pages plugin and that Apply Markup was checked in Static Pages. Hi, I installed the php plugin and it works great. However, it doesn't have a way to add the page to the side menu of static pages. I would like to add a static page t...
by randulo
Fri Mar 14, 2008 11:41 am
Forum: Plugins
Topic: Is it possible to have two custom contact forms on one site?
Replies: 2
Views: 2016

Re: Is it possible to have two custom contact forms on one s

garvinhicking wrote:Hi!

Yeah. :)
That was fast and easy!
by randulo
Fri Mar 14, 2008 11:31 am
Forum: Plugins
Topic: Is it possible to have two custom contact forms on one site?
Replies: 2
Views: 2016

Is it possible to have two custom contact forms on one site?

I need a regular short contact form and a more complicated one with several more fields with a different URL. Can this be installed twice?

thx
by randulo
Thu Mar 06, 2008 12:44 pm
Forum: Plugins
Topic: Register to join
Replies: 3
Views: 2916

Re: Register to join

However, I personally wouldn'T choose s9y as a platform for this, and rather check for a "real" downloadmanaager application. Those have far more features than the basic s9y plugin. Garvin, you of all people would know! :) However, the download part is not the main thing. In fact, I could...
by randulo
Thu Mar 06, 2008 12:28 pm
Forum: Plugins
Topic: Register to join
Replies: 3
Views: 2916

Register to join

I've done a search on "register" and taken a look but I didn't see the exact answer so please bear with me if this is a stupid question. I would like to create a site that present one open page and requires registration to see the rest of the site. This is a site that will offer downloadab...
by randulo
Fri Feb 15, 2008 1:56 pm
Forum: Plugins
Topic: Multilingual questions - again
Replies: 3
Views: 2724

Re: Multilingual questions - again

1.) Make sure you have disable the personal preference option "Autodetect language", because then your browser tells s9y that it should use english. Ok, I think I see now. First I tested with Firefox. It kept going to English. I didn't expect the language to auto-detect in admin, I would ...
by randulo
Fri Feb 15, 2008 12:06 pm
Forum: Plugins
Topic: Multilingual questions - again
Replies: 3
Views: 2724

Multilingual questions - again

Multilingual 2.3 s9y 1.2.1 (finally) Default language FR. Most articles translated to English, too. The multilingual is still driving me crazy for two years. Is this behavior normal (or known bug)? 1) The general config ALWAYS reverts to English when I view the admin->config page. If I change anythi...
by randulo
Thu Feb 14, 2008 9:14 pm
Forum: Plugins
Topic: NL2BR and Extended Properties
Replies: 7
Views: 4117

Hi Garvin, I'm getting a little confused here. I now have (by accident) a version upgraded to Serednipity 1.2.1 et PHP 4.3.10. I can't find the newer plugins for extended entries and NL2BR. The old ones show up. What do I do? Which is the correct server to be pointing to? Are they all up to date? Wh...