From: Shane <sh...@lo...> - 2003-11-13 14:50:18
|
On Nov 13, 2003, at 8:41 AM, James Carscadden wrote: >>> >>> So all very well and good, but I can't seem to get that template >>> loaded. >>> No matter what I try the index.pl will always try to load >>> screenshots:misc:default instead of the one I want. I've read about >>> the >>> page option for slashDisplay, but I can't seem to make it work. >> >> slashDisplay will first try to pull up the template >> screenshots;index;default, if it can't find it then it'll try >> screenshots;misc;default >> >> remember, templates are name;page;section. >> >> in this case your page is index because index.pl is what's pulling it. >> >> > > I had realised this, however, what I actually wanted was for the > template > to be screenshots:personal:default - that is I want to force the > template > to be page=personal regardless of the fact that I'm loading index.pl. > > It seems from the docs that slashDisplay has a page option that I can > use > to force this, I just can't get it to work. Can anyone shed > enlightenment > (or an example) on this? > I think the syntax is something like slashDisplay('screenshots',{data}, { page => 'personal'}); |