From: Matthew M. <ma...@tu...> - 2002-12-17 21:21:54
|
Along these same lines I was thinking of something many people have asked for but I wish discussion before putting it in the rewrite. Layout could look for a php include file. The theme developer could then put special code in it if they want. For example File: themes/mytheme/runme.php <?php $runmeTemplate["DATE"] = date("Ymd"); ?> The admin could then put {DATE} in their theme and the date would appear. This could work a couple of different ways. There could be a set template name they have to use. Or there might be specific layout functions they could call to place their data in the theme box queue. We could also have a layout option NOT to load includes until the user has a chance to read what is in there. I realize this could be sketchy security wise, but a bogus module could do just as much damage. :Matt Oh and if you want me to write those functions let me know. Layout was supposed to have a way to overwrite or append the metatags set in the module but I never got around to it. -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu > +1 > > Rig it for now if you want or wait for my rewrite :) > > > -- > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > >> +1 !!!! >> >> The ability to place custom metatags? I would love that! >> >> Eloi George >> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: >> With Great Power, Comes Great Responsibility >> Learn to use your power at OSDN's High Performance Computing Channel >> http://hpc.devchannel.org/ >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |