From: Alex M. <alex@OWAL.co.uk> - 2003-01-07 17:14:51
|
Are you suggesting Patrick that I add a callback in Slash.pm which I can call from template-toolkit and the template for displaying an article.... hmmmm, that just might work..... Hmmmm.... Alex At 18:04 07/01/03, Patrick Galbraith wrote: >Have you tried creating a template specifically for that site? You may >have to have a separate theme for this particular site, even it it >merely has just one template that makes it different from the other >sites. It will most likely be a template for article.pl (pagename being >'article'). > >Hope this helps (I'm a little rusty at this). > >On Tue, 7 Jan 2003, Alex >McLintock wrote: > > > Hi folks, > > > > I want to modify one of my slash virtual sites so that when it displays a > > line of the form > > > > Author: Ian Banks > > > > it gets automatically converted to > > > > Author: <a href="http://mysite.com/cgibin/blah.pl?Ian+Banks">Ian Banks</a> > > > > I want to do this for a number of attributes including Title, Publisher, > > and so on. > > > > My problem is that I thought I could do this by modifying article.pl > > However it looks like article.pl doesnt actually use the article bodytext. > > It merely specifies the story id and then gets slashDisplay to do the > > displaying. > > > > I can't modify slashDisplay to do this since it is used by other virtual > > sites which may not want this functionality - or more likely will have > > their own modifications. > > > > Any ideas with this? > > > > Perhaps I should add an (optional) callback to slashdisplay which filtered > > the bodytext? > > > > Alex > > > > > > Available for java/perl/C++/web development in London, UK or nearby. > Apache > > FOP, Cocoon, > > Turbine, Struts,XSL:FO, XML, Tomcat, First meeting > free.http://www.OWAL.co.uk/ > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Slashcode-general mailing list > > Sla...@li... > > https://lists.sourceforge.net/lists/listinfo/slashcode-general > > > >-- >Patrick Galbraith >Senior Software Developer >pat...@t-... >pa...@pa... cap...@sl... Available for java/perl/C++/web development in London, UK or nearby. Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, First meeting free.http://www.OWAL.co.uk/ |