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

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

garvinhicking wrote: I'd need to have a look at that installation via FTP or something similar, because I can'T reproduce it here.
I asked if the plugin ORDER mattered? Since static pages are a plugin do they need to be after the Smarty one?

The fact is, as we seem to need to add php everywhere (not forseen at the start) I may reconsider how we do things.

For the moment, I just hacked the static pages sidebar menu, using fixed entries. It isn't a problem until an update comes, them I'll be crying again :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
I asked if the plugin ORDER mattered? Since static pages are a plugin do they need to be after the Smarty one?
Ah, I missed that. The order matters, because it's the order of events. If you put smarty markup after staticpage, it cannot parse staticpage contents.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

garvinhicking wrote: Ah, I missed that. The order matters, because it's the order of events. If you put smarty markup after staticpage, it cannot parse staticpage contents.
I'll take a look, Garvin, thanks.
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

Ok, here it is: I did not check "Apply Markup" in the static page. I thought that referred to other markup, not Smarty.

Misunderstanding!
Post Reply