From: Steven L. <st...@tu...> - 2002-12-17 16:02:30
|
Hello All, I was implementing the floating css menu within the menuman module (BTW if you would like to see http://res1.stddev.appstate.edu/phpwebsite/steven/phpws_core/ ). Well after doing this I though of two functions for layout that would provide module writers with the ability to put tags and javascript in the head of the html document. We could possibly call them addStyle and addJavaScript. Layout could then add this stuff when it goes to process. Does anyone else think these functions would be usefull? -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Eloi G. <el...@re...> - 2002-12-17 19:11:40
|
+1 !!!! The ability to place custom metatags? I would love that! Eloi George |
From: Matthew M. <ma...@tu...> - 2002-12-17 21:08:00
|
+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 |
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 |
From: Eloi G. <el...@re...> - 2002-12-18 15:32:55
|
+1 -- I like the idea, Matt! You should go with the first option though (having a set template name). It'll cut down on the code involved and any misunderstanding on how to work with this feature. I haven't really looked at your templating caching system yet, but is there a way to cache this as well? I don't think the layout option NOT to load includes is necessary. It really is up to the siteop to review all template code before they use it. Or failing that, d/l templates and modules only from trusted developers or archives. Eloi George (aDarkling) ----- Original Message ----- From: "Matthew McNaney" <ma...@tu...> > 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. |
From: Don S. <do...@se...> - 2002-12-18 00:39:51
|
+1 infinity. Great idea. Don. On Tue, 17 Dec 2002, Eloi George wrote: > +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 > > > |
From: Mike N. <mh...@us...> - 2002-12-18 04:00:27
|
On Tue, 2002-12-17 at 08:03, Steven Levin wrote: > I was implementing the floating css menu within the menuman module (BTW > if you would like to see > http://res1.stddev.appstate.edu/phpwebsite/steven/phpws_core/ ). Steven, Thank you for adding this. :-) -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: <ad...@tu...> - 2002-12-18 16:49:27
|
+1 here! sorry so late on that vote...finally got my new debian machine up and working....i think :) Adam > Hello All, > > I was implementing the floating css menu within the menuman module > (BTW > if you would like to see > http://res1.stddev.appstate.edu/phpwebsite/steven/phpws_core/ ). Well > after doing this I though of two functions for layout that would > provide module writers with the ability to put tags and javascript in > the head of the html document. We could possibly call them addStyle and > addJavaScript. Layout could then add this stuff when it goes to > process. Does anyone else think these functions would be usefull? > > -- > Steven Levin > Electronic Student Services > Appalachian State University > Phone: 828.262.2431 > PhpWebsite Development Team > URL: http://phpwebsite.appstate.edu > Email: st...@NO... > > > > > ------------------------------------------------------- > 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 --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |