Ajeh Posted December 11, 2002 Share Posted December 11, 2002 I have this worked out to an extent as well ... Based on the concept and original design of Thema, it should address many of the aspects of the layout including individual box styles rather than just one style for all. Quote Link to comment Share on other sites More sharing options...
Ian Posted December 11, 2002 Share Posted December 11, 2002 I would say great minds think alike. but then I'm far too modest :lol: Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
Ajeh Posted December 12, 2002 Share Posted December 12, 2002 I have it now where it works with the current layout of thema and you can change stylesheets per box per theme that do not interfer with regular styles. You can use seperate buttons for the different themes as well. Let me finish the header, footer, columns etc. And this should cover the whole store for a quick switch between themes. There are not major changes here, just header colors so I can see it's working but you can peek at: http://www.thewebmakerscorner.com/freegv/ Ignore the messies on the page, I am working on things there. :shock: Quote Link to comment Share on other sites More sharing options...
elbavaro Posted December 12, 2002 Share Posted December 12, 2002 Great Linda, Excellent Work! I am currently looking for a way to include the 4 images for corners of boxes (catalogimagesinfobox) into the my button sets. So the infoboxes will have round courners as well. Give me a little bit of time. Best Regards, EL Bavaro http://www.win-vermieter.de/osc/index.htm Quote EL Bavaro Link to comment Share on other sites More sharing options...
Salvo Posted December 12, 2002 Share Posted December 12, 2002 I have it now where it works with the current layout of thema and you can change stylesheets per box per theme that do not interfer with regular styles. You can use seperate buttons for the different themes as well. Let me finish the header, footer, columns etc. And this should cover the whole store for a quick switch between themes. There are not major changes here, just header colors so I can see it's working but you can peek at: http://www.thewebmakerscorner.com/freegv/ Ignore the messies on the page, I am working on things there. :shock: Great Job you are doing Linda, very good... Salvo Quote Link to comment Share on other sites More sharing options...
bigd38 Posted August 12, 2003 Share Posted August 12, 2003 ok installed the thema but when i click on edit i get this error Parse error: parse error in /var/www/html/catalog/admin/configuration.php(125) : eval()'d code on line 1 did i miss something Quote Link to comment Share on other sites More sharing options...
loxly Posted August 12, 2003 Share Posted August 12, 2003 I don't think this is compatible with MS2 yet, I could be wrong. Quote [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
Strider Posted August 12, 2003 Share Posted August 12, 2003 actually it works fine with 2.2.2 and you probably did miss something. Actually I have written another part to the thema that allows the boxtops to change with it and was just trying to finalize the other graphics without dealing with the product images. anyway. if anyone is interested holler and I will try to get it out faster. Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
tommygunner Posted August 13, 2003 Share Posted August 13, 2003 I just installed the Thema thing and site looks real nice now. I want to change some text color on page and went to admin area and don't see Thema thing under Configuration tab. Was I supposed to copy something to /admin folder? Quote Link to comment Share on other sites More sharing options...
tommygunner Posted August 13, 2003 Share Posted August 13, 2003 Ok, I see thema thing now. I'm wondering how to change font color for some of the headers now? Is this possible with Thema? Quote Link to comment Share on other sites More sharing options...
Strider Posted August 15, 2003 Share Posted August 15, 2003 You change them in the css of whichever theme your working in. they are in catalog->includes->infobox->thema->1 through 5 .. I think Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
tommygunner Posted August 15, 2003 Share Posted August 15, 2003 got it, thanks Quote Link to comment Share on other sites More sharing options...
fiscus Posted August 20, 2003 Share Posted August 20, 2003 Just installed this on 2.2MS2 and it worked a charm!! Nice little mod. Anyone want to look at getting specific themes to work with a specific customer? That would be great. Quote Link to comment Share on other sites More sharing options...
Strider Posted August 20, 2003 Share Posted August 20, 2003 Actually it would be very simple to do. In the customer account show pics of the screens and ask which theme would you like, place that in the customer table and when the customer logs in use that as the theme id within the sessions and woilla you have the customer selected theme .. would be a nice cheap pr reason to have the customer sign up Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
fiscus Posted August 21, 2003 Share Posted August 21, 2003 Hmm this would be a great addition!!! Anyone want to look into it? I am still learning! Also is is possible to access a theme via an address? ie. www.shop.com/cataglog/index.php?=ID2 Something like that? Quote Link to comment Share on other sites More sharing options...
FlipC Posted August 23, 2003 Share Posted August 23, 2003 So first off , I recied the same error as bigd38 Parse error: parse error in /var/www/html/catalog/admin/configuration.php(125) : eval()'d code on line 1 Still havent figured out what the problem is. Can change themes via SQL. Second , what happend to Kenny? I went to site, not there, though if I add a dash I get a site. No theme shop info??? Sounds like what Im looking for... So where is this project? Or the Thema project standing? It makes allot more sense to go the route of web portal style theme control (all in one place) as it saves time and install headaches. Also , can people please include installations notes on everything. I downloaded the blue and WhatsNew thema themes and it took forever tofigure where all te parts went as there is absolutely no isntallation information included. [/code] Quote Link to comment Share on other sites More sharing options...
fiscus Posted September 25, 2003 Share Posted September 25, 2003 Anyone want to have a go at this? Anyone want to look at getting specific themes to work with a specific customer? That would be great. Would love to see that. Thanks. Quote Link to comment Share on other sites More sharing options...
GReeToZ Posted September 29, 2003 Share Posted September 29, 2003 i installed the latest version but i dont get the Site Thema Options in the configuration screen...i did exactly as stated in the readme.txt any suggestions? Quote Link to comment Share on other sites More sharing options...
azer Posted November 16, 2003 Share Posted November 16, 2003 does anybody has a solution to be able to put al the files needed by the thema use in only one directory instead of : \catalog\includes\classes\thema\ \catalog\images\infobox\thema\ \catalog\includes\classes\thema\ i m still using it on ms1 ! Quote MS2 Link to comment Share on other sites More sharing options...
ieuflr2000 Posted November 29, 2003 Share Posted November 29, 2003 Good evening, Saddened for my Englishman me am French. I work on worm. Ms2 I made installs(settles) him(it) of thema_1_ms2 all is good but Voila below I have the footer which it sticks has right-hand side in the continuation of the straight(right) column Here is the file of her(it) thema_ garage of the version <?php /* $Id: boxes.php,v 1.28 2002/06/01 18:44:37 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ class tableBox { var $table_border = '0'; var $table_width = '100%'; var $table_cellspacing = '0'; var $table_cellpadding = '2'; var $table_parameters = ''; var $table_row_parameters = ''; var $table_data_parameters = ''; // class constructor function tableBox($contents, $direct_output = false) { $tableBox_string = '<table border="' . $this->table_border . '" width="' . $this->table_width . '" cellspacing="' . $this->table_cellspacing . '" cellpadding="' . $this->table_cellpadding . '"'; if ($this->table_parameters != '') $tableBox_string .= ' ' . $this->table_parameters; $tableBox_string .= '>' . "\n"; for ($i=0; $i<sizeof($contents); $i++) { if ($contents[$i]['form']) $tableBox_string .= $contents[$i]['form'] . "\n"; $tableBox_string .= ' <tr'; if ($this->table_row_parameters != '') $tableBox_string .= ' ' . $this->table_row_parameters; if ($contents[$i]['params']) $tableBox_string .= ' ' . $contents[$i]['params']; $tableBox_string .= '>' . "\n"; if (is_array($contents[$i][0])) { for ($x=0; $x<sizeof($contents[$i]); $x++) { if ($contents[$i][$x]['text']) { $tableBox_string .= ' <td'; if ($contents[$i][$x]['align'] != '') $tableBox_string .= ' align="' . $contents[$i][$x]['align'] . '"'; if ($contents[$i][$x]['params']) { $tableBox_string .= ' ' . $contents[$i][$x]['params']; } elseif ($this->table_data_parameters != '') { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>'; if ($contents[$i][$x]['form']) $tableBox_string .= $contents[$i][$x]['form']; $tableBox_string .= $contents[$i][$x]['text']; if ($contents[$i][$x]['form']) $tableBox_string .= '</form>'; $tableBox_string .= '</td>' . "\n"; } } } else { $tableBox_string .= ' <td'; if ($contents[$i]['align'] != '') $tableBox_string .= ' align="' . $contents[$i]['align'] . '"'; if ($contents[$i]['params']) { $tableBox_string .= ' ' . $contents[$i]['params']; } elseif ($this->table_data_parameters != '') { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>' . $contents[$i]['text'] . '</td>' . "\n"; } $tableBox_string .= ' </tr>' . "\n"; if ($contents[$i]['form']) $tableBox_string .= '</form>' . "\n"; } $tableBox_string .= '</table>' . "\n"; if ($direct_output) echo $tableBox_string; return $tableBox_string; } } class infoBox extends tableBox { function infoBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->infoBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } function infoBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0; $i<sizeof($contents); $i++) { $info_box_contents[] = array(array('align' => $contents[$i]['align'], 'form' => $contents[$i]['form'], 'params' => 'class="boxText"', 'text' => $contents[$i]['text'])); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); } } class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner) { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_left.gif'); } else { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right_left.gif'); } if ($right_arrow) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner) { $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right.gif'); } else { $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14'); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => $right_corner)); $this->tableBox($info_box_contents, true); } } class contentBox extends tableBox { function contentBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->contentBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } function contentBoxContents($contents) { $this->table_cellpadding = '4'; $this->table_parameters = 'class="infoBoxContents"'; return $this->tableBox($contents); } } class contentBoxHeading extends tableBox { function contentBoxHeading($contents) { $this->table_width = '100%'; $this->table_cellpadding = '0'; $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/thema/' . SITE_THEMA . '/corner_right_left.gif'))); $this->tableBox($info_box_contents, true); } } class errorBox extends tableBox { function errorBox($contents) { $this->table_data_parameters = 'class="errorBox"'; $this->tableBox($contents, true); } } // BOF MS2 compliancy addition added by MP-Webdesign for class productListingBox extends tableBox { function productListingBox($contents) { $this->table_parameters = 'class="productListing"'; $this->tableBox($contents, true); } } //EOF MS2 compliancy addition ?> I do not see what makes that it takes place. Thank you for your help(assistant) Pcamille Quote IEUFLR2000 Link to comment Share on other sites More sharing options...
azer Posted February 11, 2004 Share Posted February 11, 2004 is there anyway to give a variable in the url of a slice gif for a background in the stylesheet.css ? id like to change the 12 number by the variable that would give the number or the value of the thema used ... TD.infoBoxBottomSlice { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; text-align: center; color: black; background : url('../../../../images/infobox/thema/[COLOR=red][B]12[/B][/COLOR]/french/boxbottom_slice.gif'); } Quote MS2 Link to comment Share on other sites More sharing options...
TheExterminator Posted January 28, 2006 Share Posted January 28, 2006 How can i add more end 5 ??? i have try to add up to 10 ind the sql. but is not working. it take the backgrund from the last folder = 5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.