From: <mh...@ru...> - 2003-04-06 16:02:13
|
Hello everybody. I have not written on this list before, but I have followed the development of phpWS since 0.7.* Currently, the diffenrent websites that i work with, are running 0.8.3, but I have at test site with 0.9.0. I have made some modifications in my layout module, so that I have date tags for the template, does this have interest? I have not followed the discussions on this list before, is the idea ofthe templating in phpWS, to make it as big as smarty? mvh Martin Hjort Eriksen |
From: Matthew M. <ma...@tu...> - 2003-04-06 17:55:59
|
> I have made some modifications in my layout module, so that I have date > tags > for the template, does this have interest? I have no problem with this. In fact, I suggest all developers think of some default tags you would like added to the theme template. Post you ideas here. Matt |
From: Don S. <do...@se...> - 2003-04-07 15:04:08
|
Having the current date and time was brought up by someone else to me. Mike Windsor I believe. Definitely would be nice. Don. On Sun, 6 Apr 2003, Matthew McNaney wrote: > > I have made some modifications in my layout module, so that I have date > > tags > > for the template, does this have interest? > > I have no problem with this. In fact, I suggest all developers think of > some default tags you would like added to the theme template. Post you > ideas here. > > Matt > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Matthew M. <ma...@tu...> - 2003-04-08 14:39:28
|
> Having the current date and time was brought up by someone else to me. > Mike Windsor I believe. Definitely would be nice. How about if the displayTheme function included a preset file. file: extra.php (name unimportant) <?php $template["DATE"] = date("Ymd"); $template["TIME"] = date("g:ia"); $template["RANDOM_PIC"] = myPictureFunction(); ?> The template would be passed to the theme and all the admin would need to do is create the appropiate {DATE} {RANDOM_PIC} tags. That way, the class would never have to change, people could create quick and dirty php scripts to print in on their site. What do you think? Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu |
From: Don S. <do...@se...> - 2003-04-08 14:41:56
|
Sounds good to me. Where is myPictureFunction() to be defined? Don. On Tue, 8 Apr 2003, Matthew McNaney wrote: > > Having the current date and time was brought up by someone else to me. > > Mike Windsor I believe. Definitely would be nice. > > How about if the displayTheme function included a preset file. > > file: extra.php (name unimportant) > > <?php > > $template["DATE"] = date("Ymd"); > $template["TIME"] = date("g:ia"); > $template["RANDOM_PIC"] = myPictureFunction(); > > ?> > > The template would be passed to the theme and all the admin would need to > do is create the appropiate {DATE} {RANDOM_PIC} tags. > > That way, the class would never have to change, people could create quick > and dirty php scripts to print in on their site. > > What do you think? > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Matthew M. <ma...@tu...> - 2003-04-08 14:45:44
|
> Sounds good to me. > > Where is myPictureFunction() to be defined? Depends on how they programmed it. It could be a function in their included file, a function they know exists in one of the classes, etc. Matt |
From: Don S. <do...@se...> - 2003-04-08 15:08:26
|
Oh. I overlooked the fact the the displayTheme would include an "extra" file which I have total control over. I thought displayTheme was defining those $template[] vars. I dig it now. Don. On Tue, 8 Apr 2003, Don Seiler wrote: > Sounds good to me. > > Where is myPictureFunction() to be defined? > > Don. > > On Tue, 8 Apr 2003, Matthew McNaney wrote: > > > > Having the current date and time was brought up by someone else to me. > > > Mike Windsor I believe. Definitely would be nice. > > > > How about if the displayTheme function included a preset file. > > > > file: extra.php (name unimportant) > > > > <?php > > > > $template["DATE"] = date("Ymd"); > > $template["TIME"] = date("g:ia"); > > $template["RANDOM_PIC"] = myPictureFunction(); > > > > ?> > > > > The template would be passed to the theme and all the admin would need to > > do is create the appropiate {DATE} {RANDOM_PIC} tags. > > > > That way, the class would never have to change, people could create quick > > and dirty php scripts to print in on their site. > > > > What do you think? > > > > Matthew McNaney > > Internet Systems Architect > > Electronic Student Services > > Appalachian State University > > Phone: 828-262-6493 > > phpwebsite.appstate.edu > > ess.appstate.edu > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: <ad...@tu...> - 2003-04-09 17:10:05
|
+1 to this idea from me...sorry so slow :) Adam > Sounds good to me. > > Where is myPictureFunction() to be defined? > > Don. > > On Tue, 8 Apr 2003, Matthew McNaney wrote: > >> > Having the current date and time was brought up by someone else to me. >> > Mike Windsor I believe. Definitely would be nice. >> >> How about if the displayTheme function included a preset file. >> >> file: extra.php (name unimportant) >> >> <?php >> >> $template["DATE"] = date("Ymd"); >> $template["TIME"] = date("g:ia"); >> $template["RANDOM_PIC"] = myPictureFunction(); >> >> ?> >> >> The template would be passed to the theme and all the admin would need >> to >> do is create the appropiate {DATE} {RANDOM_PIC} tags. >> >> That way, the class would never have to change, people could create >> quick >> and dirty php scripts to print in on their site. >> >> What do you think? >> >> Matthew McNaney >> Internet Systems Architect >> Electronic Student Services >> Appalachian State University >> Phone: 828-262-6493 >> phpwebsite.appstate.edu >> ess.appstate.edu >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> No other company gives more support or power for your dedicated server >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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 |
From: Steven L. <st...@tu...> - 2003-04-08 21:15:03
|
+1 I like this idea. So the file would go in the base of the current theme's directory? Am I understanding this right? Then it could be "personalized" for any site. suggested file name: theme.php Steven >> Having the current date and time was brought up by someone else to me. >> Mike Windsor I believe. Definitely would be nice. > > How about if the displayTheme function included a preset file. > > file: extra.php (name unimportant) > > <?php > > $template["DATE"] = date("Ymd"); > $template["TIME"] = date("g:ia"); > $template["RANDOM_PIC"] = myPictureFunction(); > > ?> > > The template would be passed to the theme and all the admin would need to > do is create the appropiate {DATE} {RANDOM_PIC} tags. > > That way, the class would never have to change, people could create quick > and dirty php scripts to print in on their site. > > What do you think? > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Matthew M. <ma...@tu...> - 2003-04-09 13:00:58
|
> I like this idea. So the file would go in the base of the current theme's > directory? Am I understanding this right? Then it could be > "personalized" for any site. > suggested file name: theme.php I agree with all the above. I will implement today. Matt |