Hotclutch Posted September 3, 2021 Share Posted September 3, 2021 (edited) Edited September 6, 2021 by Jan Zonjee user request bonbec 1 Quote Link to comment Share on other sites More sharing options...
bonbec Posted September 3, 2021 Share Posted September 3, 2021 Defrosted version ? Quote with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
Hotclutch Posted September 3, 2021 Author Share Posted September 3, 2021 1 minute ago, bonbec said: Defrosted version ? No. This I am building on official 2.3.4.1. it will have all the functionality and features of that version, many of which were stripped out in the CEs. https://www.w3schools.com/w3css/defaulT.asp Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 3, 2021 Author Share Posted September 3, 2021 https://www.dropbox.com/s/6yzeg9adbmee3f5/W3-osC.zip?dl=0 If anybody wants to have a look and share their thoughts, above is the download link. It's only a start for now. patrocine and Smoky Barnable 2 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 4, 2021 Author Share Posted September 4, 2021 Some more pics of the styling of W3.CSS Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 4, 2021 Author Share Posted September 4, 2021 The package will install onto a php8 environment. Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 4, 2021 Author Share Posted September 4, 2021 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 4, 2021 Author Share Posted September 4, 2021 or   Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 5, 2021 Author Share Posted September 5, 2021 I use Bootstrap 5 for the responsive grid because it is superior to the grid of W3.CSS In template_top.php you will find: <div id="bodyContent" class="col-md-<?php echo $oscTemplate->getGridContentWidth(); ?> order-first order-md-2"> In template_bottom.php you will find: <?php if ($oscTemplate->hasBlocks('boxes_column_left')) { ?> <div id="columnLeft" class="col-md-<?php echo $oscTemplate->getGridColumnWidth(); ?>"> <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?> </div> <?php } if ($oscTemplate->hasBlocks('boxes_column_right')) { ?> <div id="columnRight" class="col-md-<?php echo $oscTemplate->getGridColumnWidth(); ?> order-last"> <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?> </div> <?php } ?> Then in includes/classes/osc_template.php: var $_grid_content_width = 6; and function getGridColumnWidth() { return 3; } These settings control the project layout. No changes to the database are made. I imagine that the way it is setup now would suit most installations. In Admin, you can still turn on/off boxes, or move them left/right. By doing so you could have a 1,2 or 3 column layout without having to edit code. If anyone has installed the package from when I have made it available, i have updated it with some progress. You should be able to overwrite the files (minus the configure and htaccess files) to see the changes. Smoky Barnable 1 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 5, 2021 Author Share Posted September 5, 2021 W3.CSS is easy to learn, easier than Bootstrap. And easier to theme with. Go to: https://www.w3schools.com/w3css/w3css_color_themes.asp for a list of pre-defined colour schemes. By adding 1 line of code to template_top.php with your chosen scheme, you now have a new look to the site. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 5, 2021 Author Share Posted September 5, 2021 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 5, 2021 Author Share Posted September 5, 2021 product listing complete. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 6, 2021 Author Share Posted September 6, 2021 pagination complete. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 6, 2021 Author Share Posted September 6, 2021 Made some edits to the english language file to achieve this. Anybody using another language pack can / will have to do the same. #define('PREVNEXT_BUTTON_PREV', '[<< Prev]'); #define('PREVNEXT_BUTTON_NEXT', '[Next >>]'); define('PREVNEXT_BUTTON_PREV', '«'); define('PREVNEXT_BUTTON_NEXT', '»'); Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 7, 2021 Author Share Posted September 7, 2021 Alerts have been completed. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 7, 2021 Author Share Posted September 7, 2021 Now we put an overlaying sidebar. Put whatever you want in there. This code won't be added to the package. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 7, 2021 Author Share Posted September 7, 2021 The guidance for the Sidebar is here: https://www.w3schools.com/w3css/w3css_sidebar.asp Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 7, 2021 Author Share Posted September 7, 2021 Modal complete. The theme is now nearly complete. I think I have done enough to make this usable on php7.4; Cannot be used on php8 yet. Smoky Barnable 1 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 8, 2021 Author Share Posted September 8, 2021 Product Page Layout adjusted. Â Smoky Barnable 1 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 8, 2021 Author Share Posted September 8, 2021 Product Tabs are easy to implement. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 8, 2021 Author Share Posted September 8, 2021 On 9/7/2021 at 9:46 PM, Hotclutch said: The theme is now nearly complete. I think I have done enough to make this usable on php7.4; Cannot be used on php8 yet. Â Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 9, 2021 Author Share Posted September 9, 2021 Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 10, 2021 Author Share Posted September 10, 2021 Admin Dashboard Modules. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 11, 2021 Author Share Posted September 11, 2021 Time to add some featured products and manufacturers to the shop. Â Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted September 11, 2021 Author Share Posted September 11, 2021 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.