Recent Topics

1 Nov 28, 2006 23:01    

Hooks to allow a plugin to create a "disp=foo" page would be cool. The most common request for how to add a page is an "about me" page, but there are many other reasons someone might want to have a non-blog page contained in and managed by their blog.

inc/misc/_template.funcs.php and inc/MODEL/collections/_blog.class.php and skins/your_skin/_main.php are the files I hack to get this done.

2 Nov 29, 2006 11:13

If you're not bothered about the page title then you could do this with a skintag. Or I suppose you could get really imaginative and abuse the linkblog and a tad of rendering to allow include files as well ?

¥

3 Nov 29, 2006 15:48

I hadn't considered a skintag, so that's worth a look. Tweaking something to do something else is easy, and in this case it's already done and will probably migrate to 1.9 without issue, but I really think it should be doable with a plugin. Problem is there ain't no hookage where it makes the most sense to do that hackage. Though maybe a skintag is the best method eh?

if_exist( $empty_shot_glass ) && ( ! $bottle_is_empty ) {
  shot_glass( 'fill', 'slide', 'raise' );
  }


Form is loading...