You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
(265) |
Apr
(166) |
May
(25) |
Jun
(17) |
Jul
(20) |
Aug
(47) |
Sep
(6) |
Oct
(14) |
Nov
(66) |
Dec
(64) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(109) |
Feb
(64) |
Mar
(34) |
Apr
(23) |
May
(64) |
Jun
(9) |
Jul
(13) |
Aug
(6) |
Sep
(33) |
Oct
(272) |
Nov
(67) |
Dec
(75) |
2003 |
Jan
(264) |
Feb
(244) |
Mar
(171) |
Apr
(119) |
May
(54) |
Jun
(93) |
Jul
(51) |
Aug
(48) |
Sep
(14) |
Oct
(49) |
Nov
(47) |
Dec
(15) |
2004 |
Jan
(13) |
Feb
(27) |
Mar
(18) |
Apr
(44) |
May
(35) |
Jun
(24) |
Jul
(39) |
Aug
(142) |
Sep
(35) |
Oct
(34) |
Nov
(49) |
Dec
(24) |
2005 |
Jan
(60) |
Feb
(71) |
Mar
(19) |
Apr
(27) |
May
(68) |
Jun
(4) |
Jul
(30) |
Aug
(10) |
Sep
(23) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(46) |
Mar
(64) |
Apr
(18) |
May
(16) |
Jun
(37) |
Jul
(7) |
Aug
(19) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(23) |
2007 |
Jan
(25) |
Feb
(21) |
Mar
(32) |
Apr
(36) |
May
(12) |
Jun
(1) |
Jul
(7) |
Aug
(15) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(3) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2009 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Don S. <do...@se...> - 2004-06-14 13:36:31
|
So 3? does it too? I thought it was just "t?", I know that "s?" works fine. Alright I'll see if we can drop the new index.php into our -3 install install. Thanks, Don. On Mon, Jun 14, 2004 at 08:53:31AM -0400, Darren Greene wrote: > The index.php file in CVS was updated to fix this problem. I noticed it > when I added a FAQ that ended in "0.9.3-3?". >=20 > Darren >=20 >=20 > > This was driving me nuts. Whenever a form var contained the text "t?", > > like "what?", the "t?" was being replaced with "NOPHP" if it was sourced > > from $_REQUEST[]. If $_POST[] was used then the var was fine. > > > > Looks like this line in PHPWebSite's index.php is the culprit: > > > > $Value =3D eregi_replace("['<'|'%3C'|'<'|'<']+\?", "NOPHP", $Value); > > > > Looks like this needs to be fine tuned. My form field didn't contain a > > "<" char at all, so this certainly shouldn't have been substituted. > > > > Don. > > > > -- > > Reporter: "The European Union and Japan have filed a challenge in the W= TO > > (World Trade Organization) against a rule in the Agriculture > > Appropriations bill that would allow steel companies to recei= ve > > money from antidumping duties." > > > > Bush: "Say again now?" > > > > George W. Bush > > December 22, 2000 > > Spoken during a press conference held by the president-elect. > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --=20 "It is incredibly presumptive for somebody who has not yet earned his party= 's nomination to start speculating about vice presidents." George W. Bush October 22, 1999 Comment made while visiting Keene, New Hampshire. |
From: Darren G. <dg...@tu...> - 2004-06-14 13:00:22
|
The index.php file in CVS was updated to fix this problem. I noticed it when I added a FAQ that ended in "0.9.3-3?". Darren > This was driving me nuts. Whenever a form var contained the text "t?", > like "what?", the "t?" was being replaced with "NOPHP" if it was sourced > from $_REQUEST[]. If $_POST[] was used then the var was fine. > > Looks like this line in PHPWebSite's index.php is the culprit: > > $Value = eregi_replace("['<'|'%3C'|'<'|'<']+\?", "NOPHP", $Value); > > Looks like this needs to be fine tuned. My form field didn't contain a > "<" char at all, so this certainly shouldn't have been substituted. > > Don. > > -- > Reporter: "The European Union and Japan have filed a challenge in the WTO > (World Trade Organization) against a rule in the Agriculture > Appropriations bill that would allow steel companies to receive > money from antidumping duties." > > Bush: "Say again now?" > > George W. Bush > December 22, 2000 > Spoken during a press conference held by the president-elect. > |
From: Shaun M. <sh...@ae...> - 2004-06-14 08:49:17
|
Is anyone running with php v4.3.7? I've upgraded from v4.3.3 and now I get multiple... Warning: fread(): Length parameter must be greater than 0. in /home/aegis/public_html/www1/core/File.php on line 183 ...with 0.9.3-3 Shaun aegis design - http://www.aegisdesign.co.uk |
From: Don S. <do...@se...> - 2004-06-14 04:15:51
|
This was driving me nuts. Whenever a form var contained the text "t?", like "what?", the "t?" was being replaced with "NOPHP" if it was sourced =66rom $_REQUEST[]. If $_POST[] was used then the var was fine. Looks like this line in PHPWebSite's index.php is the culprit: $Value =3D eregi_replace("['<'|'%3C'|'<'|'<']+\?", "NOPHP", $Value); Looks like this needs to be fine tuned. My form field didn't contain a "<" char at all, so this certainly shouldn't have been substituted. Don. --=20 Reporter: "The European Union and Japan have filed a challenge in the WTO (World Trade Organization) against a rule in the Agriculture Appropriations bill that would allow steel companies to receive money from antidumping duties." Bush: "Say again now?" George W. Bush December 22, 2000 Spoken during a press conference held by the president-elect. |
From: Michael S. <mi...@sc...> - 2004-06-12 04:48:32
|
Greg: I've decided to switch my site from PHPWS to WebGUI. After a lot of fussing, I was able to do multiple columns and different themes per page. I still need to research the source code a bit to see why things are now working. It could be that the cache wasn't clearing too. Their documentation is poor (Ruling WebGUI), but they promise it will improve in July, when they add task orientated tutorials. Of course, I need to figure out the program before then! In my case, I am mapping specialized html files (hierarchical templates) to dreamweaver pages. These themes and WebGUI will replace Contribute. -----Original Message----- From: Michael Schweisguth [mailto:mi...@sc...] Sent: Friday, June 11, 2004 10:14 AM Subject: RE: Multiple themes for one site (Greg Meiste) Right now, I am playing with webgui (plainback software) and it handles this case out of the box, but I am still struggling to put editible regions onto the page. I think webgui has a better model, but I've only used it for a short time. The "contentEditible" system worked the fastest, and was simple. It's flaw: it applied the edits directly to the page rather than a database. Good luck! |
From: Michael S. <mi...@sc...> - 2004-06-11 15:14:08
|
It's possible. I played around a bit by adding another column in the DB for something I called: "page specialization." then, every time it calculated the location of theme.tpl, I calculated: $specialization.theme.tpl instead if $specialization wasn't an empty string. I could imagine going further and looking in $specialization/theme.tpl as well to create the ability to subclass a theme to let the designer replace bits and pieces of a theme, like $specialzation/page/default.tpl, as needed. Right now, I am playing with webgui (plainback software) and it handles this case out of the box, but I am still struggling to put editible regions onto the page. I think webgui has a better model, but I've only used it for a short time. The "contentEditible" system worked the fastest, and was simple. It's flaw: it applied the edits directly to the page rather than a database. Good luck! From: Greg Meiste <cap...@ya...> To: php...@li... Subject: [Phpwebsite-developers] Multiple themes for one site Reply-To: php...@li... --0-532964524-1086732130=:57659 Content-Type: text/plain; charset=us-ascii Hello everyone, I've got a client who wants to have a different look to a few sections of a website I'm helping create for them. I had wanted to use phpwebsite for this site, but now I'm not sure if I can. I had thought about using branches to achieve the multiple themes, but I don't think that's going to work because branches can't share data. I remembered Wendall's W3C theme, but that appears to just change the stylesheet and not the layout. (Yes, unfortunately, they want a layout change as well.) Has anyone played around with this idea? I don't know if I could do fancy things in the theme.php file to help achieve this for them. I was just throwing this question out there to see if others have tried this or know of how this is possible. I pretty sure you're going to tell me that I'm up a creek without a paddle, but I figured it's worth a shot. Thanks in advance! Greg |
From: Spiggy T. <sp...@vi...> - 2004-06-10 16:54:02
|
> I remembered Wendall's W3C theme, but that appears to just change the > stylesheet and not the layout. (Yes, unfortunately, they want a layout > change as well.) if your files are done right (no tables etc old skool stuff) you can change a whole lot by just changing the stylesheet. see examples at http://csszengarden.com/. but this requires quite a bit from the generated html output. > > Has anyone played around with this idea? I don't know if I could do > fancy things in the theme.php file to help achieve this for them. I was > just throwing this question out there to see if others have tried this > or know of how this is possible. i hacked together an example where you would use a different theme based on a module... but i am not sure if thats enough for you. basically just before displaying the tpl file you have a switch based on the current module to determine the right tpl file. spiggy -- Give a man a match, and he'll be warm for a minute, but set him on fire, and he'll be warm for the rest of his life. (Terry Pratchett) |
From: Wendall C. <wen...@to...> - 2004-06-10 16:29:44
|
Greg, There may be a way to do this with some experimentation. There would be a bit of code that needs written to grab request vars to see what theme to display. I'm not so sure it wouldn't run slow as hell though, since you'd be reloading all the layout vars in to the sessions every time a page changed themes. Wendall On Tue, 2004-06-08 at 15:02, Greg Meiste wrote: > Hello everyone, > > I've got a client who wants to have a different look to a few sections > of a website I'm helping create for them. I had wanted to use > phpwebsite for this site, but now I'm not sure if I can. I had > thought about using branches to achieve the multiple themes, but I > don't think that's going to work because branches can't share data. > > I remembered Wendall's W3C theme, but that appears to just change the > stylesheet and not the layout. (Yes, unfortunately, they want a > layout change as well.) > > Has anyone played around with this idea? I don't know if I could do > fancy things in the theme.php file to help achieve this for them. I > was just throwing this question out there to see if others have tried > this or know of how this is possible. > > I pretty sure you're going to tell me that I'm up a creek without a > paddle, but I figured it's worth a shot. > > Thanks in advance! > Greg > > > ______________________________________________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger -- "Only the ideas that we really live have any value." --Hermann Hesse (Demian) |
From: Mike N. <mh...@us...> - 2004-06-09 16:23:02
|
Everyone, I just created 'patches' and 'l10n' directories in the phpwebsite-comm cvs repository. The 'patches' directory will contain 'cvs diff patches' for code the patch submitter doesn't have cvs repository write access to. The code placed in the phpwebsite-com repository can then be reviewed by the ASU team or third party module developer for inclusion. The 'l10n' directory will contain ISO 639-2 language code localization (l10n) files. This directory may be expanded to handle ISO 3166 country codes when phpwebsite 0.9.4 is ready. Comments an suggestions on these additions are welcome. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Greg M. <cap...@ya...> - 2004-06-08 22:02:55
|
Hello everyone, I've got a client who wants to have a different look to a few sections of a website I'm helping create for them. I had wanted to use phpwebsite for this site, but now I'm not sure if I can. I had thought about using branches to achieve the multiple themes, but I don't think that's going to work because branches can't share data. I remembered Wendall's W3C theme, but that appears to just change the stylesheet and not the layout. (Yes, unfortunately, they want a layout change as well.) Has anyone played around with this idea? I don't know if I could do fancy things in the theme.php file to help achieve this for them. I was just throwing this question out there to see if others have tried this or know of how this is possible. I pretty sure you're going to tell me that I'm up a creek without a paddle, but I figured it's worth a shot. Thanks in advance! Greg --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger |
From: Matthew M. <ma...@tu...> - 2004-06-02 11:55:22
|
Should be a hide / show link next to where the pages are listed. On Thu, 2004-05-27 at 00:47, Larry Lines wrote: > Maybe I am just blind, but can someone tell me if there is a > place to make the web pages in the web pages module active. > When you create a new web page, the page displays "This page > is not currently active" when you view it. And when you add a > link or place a link in a menu, it only displays "This page is > not currently active" to other users. I searched around for a > place in the interface, a radio button or something, to make it > active, but I could not find it. So, finally I went into the > database and changed the Active flag in the > pws_mod_pagemaster_pages table to True and it > displayed fine and no longer had this message. Is there > a place in the interface to change this flag? > > ------------------- > Larry Lines -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |
From: <La...@Op...> - 2004-05-30 16:42:48
|
Re: w3c (form labels) ----------------------------------------------------------------------------- ... also, if you run the "bobby 508" check on: http://phpwebsite.appstate.edu bobby flags the "user name" and "password" input fields for not having a "label" tag Does anyone know if there is a fix in the cooker for this accessibility issue. (using 0.9.3-2, "clear" theme) bobby> Section 508 Accessibility bobby> This page does not meet the requirements bobby> for Section 508 Approved status. bobby> Below is a list of 1 Section 508 accessibility bobby> error(s) found: bobby> bobby> Provide an explicit label for each form control. bobby> (2 instances) Lines 470, 472 ------- End of forwarded message ------- |
From: Ken N. <ke...@co...> - 2004-05-27 05:02:52
|
I released the alpha of my Nakes module. Nakes is the pronunciation of NAICS (North American Industry Classification System). It is used to track businesses and organizations based on their NAICS code. I hope y'all will put it through its paces and give me inuput. The installation documentation should be adequate, but I am working on the "how to" documentation. That should be available sometime next week. Again, I welcome all input. If you would be so kind as to enter any bugs or enhancements on SourceForge, I would appreciate it. http://sourceforge.net/projects/phpws-nakes/ -- Kenneth Nordquist http://communitygems.com |
From: Larry L. <la...@tw...> - 2004-05-27 04:47:15
|
Maybe I am just blind, but can someone tell me if there is a place to make the web pages in the web pages module active. When you create a new web page, the page displays "This page is not currently active" when you view it. And when you add a link or place a link in a menu, it only displays "This page is not currently active" to other users. I searched around for a place in the interface, a radio button or something, to make it active, but I could not find it. So, finally I went into the database and changed the Active flag in the pws_mod_pagemaster_pages table to True and it displayed fine and no longer had this message. Is there a place in the interface to change this flag? ------------------- Larry Lines |
From: Mike N. <mh...@us...> - 2004-05-26 15:58:24
|
On Tue, 2004-05-25 at 12:28, Mike Noyes wrote: > This proposal sounds good. I gather from the information you gave me on > irc, this should address many of the issues brought to light by the > debug theme. Matt, I committed a new revision of the debug theme. It now incorporates alternate theme switching in the if statement. I hope this can be supported in 0.9.4 too. http://cvs.sourceforge.net/viewcvs.py/phpwebsite-comm/themes/debug/ -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Mike N. <mh...@us...> - 2004-05-25 19:26:38
|
On Tue, 2004-05-25 at 10:34, Matthew McNaney wrote: > So this is what I propose: > Themes in 0.9.4 will consist of what happens between <body> and </body> > > This will allow us flexibility in the future and prevent people from > having to change their themes for new features. The <html><head><body> > portion will be one template file that crosses with all themes. Matt, This proposal sounds good. I gather from the information you gave me on irc, this should address many of the issues brought to light by the debug theme. +1 to moving header into a separate tpl -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Wendall C. <wen...@to...> - 2004-05-25 18:33:46
|
Ok, paste screwed up royally on the script I sent to the list. Here is the proper script. theme.php <?php if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){ @header("Content-Type: application/xhtml+xml; charset=UTF-8"); $THEME["XML"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; $THEME["XML_STYLE"] = set_style(); $THEME["XML_ALT_STYLE"] = ''; $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\">"; } else { @header("Content-Type: text/html; charset=UTF-8"); $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"; $THEME["STYLESHEET"] = "<link rel=\"stylesheet\" href=\"" .$_SESSION["OBJ_layout"]->theme_address."style.css\" type=\"text/css\"?>"; } $_SESSION["OBJ_layout"]->meta_content = FALSE; function set_style(){ $alt_css = $_SESSION["OBJ_layout"]->theme_dir."browsers.txt"; $css = ''; if (file_exists($alt_css)){ $altStyles = file($alt_css); foreach ($altStyles as $style){ $temp = explode("::", $style); if (preg_match("/".$temp[0]."/", $_SERVER["HTTP_USER_AGENT"]) && file_exists($_SESSION["OBJ_layout"]->theme_dir.trim($temp[1]))){ $css .= "<?xml-stylesheet alternate=\"yes\" title=\"compact\" href=\"" . $_SESSION["OBJ_layout"]->theme_address . trim($temp[1]) . "\" type=\"text/css\" ?>\n"; $browser_css = 1; break; } } } if (!isset($browser_css) && file_exists($_SESSION["OBJ_layout"]->theme_dir."style.css")) $css = "<?xml-stylesheet href=\"".$_SESSION["OBJ_layout"]->theme_address. "style.css\" type=\"text/css\"?>"; return $css; } ?> theme.tpl {XML} {XML_STYLE} {XML_ALT_STYLE} {DOCTYPE} {HTML} {STYLESHEET} <!-- Replaced {STYLE} with {STYLESHEET} --> Wendall |
From: Wendall C. <wen...@83...> - 2004-05-25 18:10:39
|
Yesterday I worked with Mike on the debug theme. He asked that a couple things happen. First, the <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> needs to go away if the document is treated as an xml file. Secondly, he asked that stylesheets be added to the theme. The details are here: http://www.w3.org/TR/xml-stylesheet/ While the change is fairly simple on the surface, one problem arose. The stylesheets are moved from the document into the headers. Since I can't access the {STYLE} tag via theme.php I chose to eliminate it and add a tag called {STYLESHEETS}. This would obviously be unnecessary if done within Layout. Here is the code I used: theme.php <?php if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){ @header("Content-Type: application/xhtml+xml; charset=UTF-8"); $THEME["XML"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; $THEME["XML_STYLE"] = set_style(); $THEME["XML_ALT_STYLE"] = ''; $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\">"; } else { @header("Content-Type: text/html; charset=UTF-8"); $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"; $THEME["STYLESHEET"] = "<link rel=\"stylesheet\" href=\"" .$_SESSION["OBJ_layout"]->theme_address."style.css\" type=\"text/css\"?>"; } $_SESSION["OBJ_layout"]->meta_content = FALSE; function set_style(){ $alt_css = $_SESSION["OBJ_layout"]->theme_dir."browsers.txt"; $css = ''; if (file_exists($alt_css)){ $altStyles = file($alt_css); fore<?php if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){ @header("Content-Type: application/xhtml+xml; charset=UTF-8"); $THEME["XML"] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; $THEME["XML_STYLE"] = set_style(); $THEME["XML_ALT_STYLE"] = ''; $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\">"; } else { @header("Content-Type: text/html; charset=UTF-8"); $THEME["DOCTYPE"] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"; $THEME["HTML"] = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"; $THEME["STYLESHEET"] = "<link rel=\"stylesheet\" href=\"" .$_SESSION["OBJ_layout"]->theme_address."style.css\" type=\"text/css\"?>"; } $_SESSION["OBJ_layout"]->meta_content = FALSE; function set_style(){ $alt_css = $_SESSION["OBJ_layout"]->theme_dir."browsers.txt"; $css = ''; if (file_exists($alt_css)){ $altStyles = file($alt_css); foreach ($altStyles as $style){ $temp = explode("::", $style); if (preg_match("/".$temp[0]."/", $_SERVER["HTTP_USER_AGENT"]) && file_exists($_SESSION["OBJ_layout"]->theme_dir.trim($temp[1]))){ $css .= "<?xml-stylesheet alternate=\"yes\" title=\"compact\" href=\"" . $_SESSION["OBJ_layout"]->theme_address . trim($temp[1]) . "\" type=\"text/css\" ?>\n"; $browser_css = 1; break; } } } if (!isset($browser_css) && file_exists($_SESSION["OBJ_layout"]->theme_dir."style.css")) $css = "<?xml-stylesheet href=\"".$_SESSION["OBJ_layout"]->theme_address. "style.css\" type=\"text/css\"?>"; return $css; } ?>ach ($altStyles as $style){ $temp = explode("::", $style); if (preg_match("/".$temp[0]."/", $_SERVER["HTTP_USER_AGENT"]) && file_exists($_SESSION["OBJ_layout"]->theme_dir.trim($temp[1]))){ $css .= "<?xml-stylesheet alternate=\"yes\" title=\"compact\" href=\"" . $_SESSION["OBJ_layout"]->theme_address . trim($temp[1]) . "\" type=\"text/css\" ?>\n"; $browser_css = 1; break; } } } if (!isset($browser_css) && file_exists($_SESSION["OBJ_layout"]->theme_dir."style.css")) $css = "<?xml-stylesheet href=\"".$_SESSION["OBJ_layout"]->theme_address. "style.css\" type=\"text/css\"?>"; return $css; } ?> theme.tpl would then include: {XML} {XML_STYLE} {XML_ALT_STYLE} {DOCTYPE} {HTML} {STYLESHEET} <!-- Replaced {STYLE} with {STYLESHEET} --> HTH, Wendall On Tue, 2004-05-25 at 10:34, Matthew McNaney wrote: > While working on javascript detection, I came across another tag I would > need to add to all themes. > > Here are the tags that ride in the header of every theme: > > DOCTYPE > TITLE > METATAGS > JAVASCRIPT > STYLE > > Plus, as I said, I want to add a specific command to the body tag to > help check for javascript availability. > > So this is what I propose: > Themes in 0.9.4 will consist of what happens between <body> and </body> > > This will allow us flexibility in the future and prevent people from > having to change their themes for new features. The <html><head><body> > portion will be one template file that crosses with all themes. > > I am interested in your response. > > Thanks, > Matt -- "Only the ideas that we really live have any value." --Hermann Hesse (Demian) |
From: Matthew M. <ma...@tu...> - 2004-05-25 17:35:28
|
While working on javascript detection, I came across another tag I would need to add to all themes. Here are the tags that ride in the header of every theme: DOCTYPE TITLE METATAGS JAVASCRIPT STYLE Plus, as I said, I want to add a specific command to the body tag to help check for javascript availability. So this is what I propose: Themes in 0.9.4 will consist of what happens between <body> and </body> This will allow us flexibility in the future and prevent people from having to change their themes for new features. The <html><head><body> portion will be one template file that crosses with all themes. I am interested in your response. Thanks, Matt -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |
From: Matthew M. <ma...@tu...> - 2004-05-25 13:17:01
|
You will need to: 1) Create a new database 2) create a new branch directory 3) make the branch directory writable Once you have done this, the script should handle the rest. On Tue, 2004-03-16 at 14:33, Robert Aldridge wrote: > Hello list, > > Can someone point me to a "HowTo" or other > documentation on creating branch sites once your main > phpWebsite is set up? I've stumbled around what > documentation I could find and have "Googled" but to > no avail. > > Specifically, what must one do before trying to create > a branch? Create a new database? Create a new > folder? Is all of this handled in the "Create new > branch" scripts? > > Thanks, > > Robert Aldridge > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - More reliable, more storage, less spam > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |
From: Greg M. <drk...@co...> - 2004-05-12 06:34:15
|
darrel wrote: >> modify it such: >> >> 231 if ($error == "DB"){ >> 232 echo "Unable to connect to your server's database.<br />"; >> 233 echo $core->db->message . "<br />"; >> 234 }elseif ($error == "prefix") > > > Thanks, Michael. > > It's a small step forward. Unfortunately, the error is still pretty vague: > > Unable to connect to your server's database. > DB Error: connect failed > > Any MySQL experts recognize what might be causing that error? > > -Darrel Darrel, Based on another one of your posts, "Ooh! Had my hopes up there for a minute. I didn't have php-mysql installed. Installed it, restarted mySQL and HTTPD, but, alas, still can't connect." I have sense that this issue has something to do with how you actually installed phpWS. This is especially true when you resolved the php-mysql issue. Would you please list the steps, the platform you are using, etc.? There are platform specific steps that you must take for phpwebsite to work. It's not that you should give up on phpWS but the combination of platform and other installed products that are making your life miserable. Would you also comment on how closely you followed the steps in the phpWebSiteRoot/doc/INSTALL.txt file? Greg |
From: Michael S. <mi...@sc...> - 2004-05-12 04:18:28
|
From: Shaun Murray <sh...@ae...> Subject: Re: [Phpwebsite-developers] Dreamweaver Specialized Templates "If you want to modify the main theme.tpl file to change layouts depending on the module eg. going from 2 to 3 column or changing the header then you need to use theme.php to generate html. See phpgirl.com again for an example." OK. That's pretty much what I want. Essentially, I want to use PHPWebsite instead of Contribute. The license management, price, and training costs are too high for my little community group to use Contribute. I hope to find out how the modules work together to create a page. It seems like they are included, and executed, in a random order. The assumption remains a mystery to me right now... ;-) Thanks for you comments! |
From: Don S. <do...@se...> - 2004-05-12 03:32:50
|
I'm just jumping in this thread in the middle. Have you tried to log into the server using the mysql command-line client? Just wondering if your db and user has proper permissions set up. Don. On Tue, May 11, 2004 at 10:17:21PM -0500, darrel wrote: > >modify it such: > > > >231 if ($error =3D=3D "DB"){ > >232 echo "Unable to connect to your server's database.<br />"; > >233 echo $core->db->message . "<br />"; > >234 }elseif ($error =3D=3D "prefix") >=20 > Thanks, Michael. >=20 > It's a small step forward. Unfortunately, the error is still pretty vague: >=20 > Unable to connect to your server's database. > DB Error: connect failed >=20 > Any MySQL experts recognize what might be causing that error? >=20 > -Darrel >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deli= ver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3 > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --=20 "It's very important for folks to understand that when there's more trade there's more commerce." George W. Bush April 21, 2001 =46rom comments made in Quebec City, Canada. |
From: darrel <da...@da...> - 2004-05-12 03:17:33
|
>modify it such: > >231 if ($error == "DB"){ >232 echo "Unable to connect to your server's database.<br />"; >233 echo $core->db->message . "<br />"; >234 }elseif ($error == "prefix") Thanks, Michael. It's a small step forward. Unfortunately, the error is still pretty vague: Unable to connect to your server's database. DB Error: connect failed Any MySQL experts recognize what might be causing that error? -Darrel |
From: Shaun M. <sh...@ae...> - 2004-05-11 14:49:49
|
Michael, don't confuse the template files in phpWebSite with Dreamweaver templates. Despite sharing the same file extension they aren't the same. Read how the layout module works in /mod/layout/docs There's also some good tutorials on http://www.phpgirl.com Each module has it's own templates which should allow what you want to do. The login box is controlled by a checkbox in the Users module control panel and has it's own template also. If you want to modify the main theme.tpl file to change layouts depending on the module eg. going from 2 to 3 column or changing the header then you need to use theme.php to generate html. See phpgirl.com again for an example. Shaun aegis design - http://www.aegisdesign.co.uk |