Jump to content
Latest News: (loading..)

GLWalker

♥Ambassador
  • Content count

    842
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by GLWalker

  1. This is the support thread for Dynamic Frame Controller. - http://addons.oscommerce.com/info/8963 Please post any questions or feedback.
  2. GLWalker

    Need to find specific item in $order

    Ultra Race Fuel Concentrate will always return false, you have to use the product ID, if more than 1 product you'll need to comma seperate the id's and explode them. Read this thread for help, a lot of the code you need is written, just needs slight modification: http://forums.oscommerce.com/topic/395429-restricting-certain-products-from-paypal-payments/
  3. GLWalker

    Dynamic Frame Controller

    This has been on my list since I read this - Ive got big update coming to this - but for the time being this snippet can be used as a fallback - <?php if (class_exists(ht_dynamic_frame)) { echo '<body id="' . $frameController->getCssId() . '" class="' . $frameController->getCssClass() . '">'; } else { echo '<body class="three-column">'; } ?>
  4. It has been a while since I used feed machine, but I was able to create several new feed specs it would follow. I dont know what Amazon requires, but I am fairly sure that a new configuration for the feed machine could handle it. Ive had to do some pretty in depth set ups and was always able to by writing a new configuration set for the feed machine. Once you get the new configs worked out, its pretty much fully automatted. If your excluding certian products from the feed, it may mean writing an exclude array of product_id's or categorie_id's. Its not always easy writing the options for the feed, but its the best solution I know of- unless you can modify another simular feed existing in the contribution section. Have you compared the output of any of the existing feed contributions to that of what Amazon requires? You may find one easier to modify for your needs.
  5. Have you took a look at the feed machine? I have not used it in a couple of years, but it is very expandable able to meet the needs of many reqiored formats - with some work of course.
  6. GLWalker

    Dynamic Frame Controller

    That was a typo, should have read inludes/languages/*english/modules/header_tags/ht_dynamic_frame.php - no language file for the other as it is just a class file needed to output the css and id elements. I tried to keep it simple as possible so only the very minimal files needed editing. If the module is not enabled, then the page will die as soon as it hits the body tag becuase the class file mentioned above is loaded VIA the module. The quickest way around that is to change body back, - <body> -Or- <body class="*desired style"> I never thought about Gtmetrix, but its got to be from the stylesheet, I removed any legacy classes and did a lot of cleanup. The fonts can be changed in the stylesheet - ext/frame.css, I contemplated not adding the fonts, but we all know the default fonts are very small, and I included a nice font set that I found some time ago that is cross browser/system compatible and renders well on many devices. A bit of css, or maybe a wrapper div around the images should fix them up. It should work well the mentioned modules, I'm running something simular on some of the sites I posted in the live shops area. I use a controller for the front page as well and a template loading setup - not really a lot of difference. The css id really, really, aids in design, while most the site will share the same look - having it can make certian pages take on their own life, good for landing pages or new product promotions. So far as I know, the only 960 classes are called in the header and footer - but there could be other places. I'm working on wrapping bootstrap3 around it now and thinking of throwing the files in for a starter kit later. If you view the source code of the install file - it is actually using the same cs framework class, the one column class, and bootstrap2, so you could study that, but it is missning the side clumns, wich would normally wrap under the content in responsive mode. The install file is responsive as is now, and even microformatted. Thanks for the feedback. I hope it can be useful and maybe get some designers a head start.
  7. I need a tshirt that says "I tab indent" - - I really must stop, but its addicting

    1. burt

      burt

      Tabs. <shudder>. Double space is where it's at ;)

    2. MrPhil

      MrPhil

      To go along with my collection of "I <heart> COBOL", "I <heart> FORTRAN", " <heart> RPG", and "I <heart> Assembly Language" tees!

  8. GLWalker

    Dynamic Frame Controller

    Now have added 1 more page type, the nested category. I have an example using the 1 Column Sidebars Bottom layout here: http://mulium.wsfive.com/index.php?cPath=1 I have also changed the code top use 2 spaces rather than a tab for indent. I will be uploading soon. Thanks to @@burt and @@Gyakutsuki for testing and input.
  9. This thread is a discussion area for a header tag module that will dynamically control a shops layout by page type. The module divides the shops various pages into 6 types: Home Page Product Listing Pages Product Info Pages User/Account Pages Static Pages Checkout pages The administrator has the ability to assign a layout to each of these page types, including a default fallback. Each page type can have an individual layout or they may all have the same layout. No one would really want to change the layout from page to page that much, but there are certain situations where mixing layouts could work out well. For instance, one may want the checkout pages to be full page with no side columns in order to avoid distracting a customer during the order process. Another instance could be that you want to limit distractions during account sign up. And yet another, maybe a shop would do well to have the home page formatted differently than the rest of the site so as to have room to really work that canvas into something appealing. As Ive read here recently, sometimes the product listing areas just need to show a lot of information across the board. So while viewing a page full of products, one may see a lot of information, but once they click to view the actual product info page, then they may be greeted by a much simpler page that presents the product fully with no ongoing clutter or other distractions. There are 7 different layout styles available: 2 Column 1 Sidebar Left 2 Column 1 Sidebar Right 3 Column Sidebars Both 3 Column 2 Sidebars Left 3 Column 2 Sidebars Right 1 Column Sidebars Bottom Full Page (No Sidebars) So how does it work? The header tag module assigns a class to the body tag in order to use the relevant css style to load the desired layout. There are changes to template top and template bottom in order to get things going. An additional div is placed and the grid_* are removed from the left and right columns. With these changes the complete structure becomes very flexible. There is one dilemma, and that is the 960gs. It is not bad to have the 960 grid in place, it makes a perfectly fine wrapper, but really, thats about it. Of course thats not a big deal, as there are only a few spots that really call upon it, and 2 have already been removed. I do not want to write a contribution that tells people to remove the 960 grid in order to use it, so I will not touch much further on that, but will leave this in mind: If removed, and the #bodyWrapper div is assigned a max-width of XXXpx and width of 100% - then the complete framework becomes responsive. Since this module is basically a tool to aid in layout and design, it also goes a step further to lend towards the designer. Maybe theres a hot new product and it just needs to pop out from the other listings - maybe a store has need for landing pages that have their own overall look and feel. It would be nice to do these things and still hook into the primary functions of the cart software, without practically building a whole new set of pages and assets chained thereof. So -- the answer, and I have tested this here and there through the years, add a unique css ID to the body tag as well. Now every thing on a page can be manipulated through the stylesheet alone. Design wise that is! Move things out of the way, hide things, recolor things, take something from the description, move it elsewhere - - The module pulls the category name, manufacturer name, product name, HEADING_TITLE || NAVBAR || NAVBAR_2, and outputs that as a css friendly id. It may not sound like much, but it goes a long way. Its not something useful to all, but those that could make use of it would find it indispensable. Installation is very simple: Upload 2 files into header tags directory Upload 1 file to header tags language directory Upload 1 new stylesheet Make slight changes to template_top Make slight changes to template_bottom Here are some examples using a standard osCommerce 2.3.4 setup. Besides the Dynamic Frame Controller installation, the only other change has been to remove the store logo to allow room to print the CSS ID and Class to screen. HomePage => 2 Column 1 Sidebar Left => http://mulium.wsfive.com/ Product Info Pages => 2 Column 1 Sidebar Right => http://mulium.wsfive.com/product_info.php?cPath=3_10&products_id=11 Product Listing Pages => 3 Column Sidebars Both => http://mulium.wsfive.com/index.php?cPath=3_10 User/Account Pages => 3 Column 2 Sidebars Left => http://mulium.wsfive.com/login.php Static Pages => 3 Column 2 Sidebars Right => http://mulium.wsfive.com/conditions.php Checkout pages => Full Page (No Sidebars) => http://mulium.wsfive.com/shopping_cart.php 1 Column Sidebars Bottom <!-- no more pages groups available to show this one, but it is probably the least to ever be used. --> If you resize your browser while looking at the examples, you'll find that it wants to take on a responsive form, but the grid has it trapped. I dont have an install file written yet, but will be getting that together and would like to know if anyone would like to beta test. All input on this idea would be greatly appreciated. It can be expanded even further, but I wish to make the most with less, and not create something that just goes too far.
  10. GLWalker

    Dynamic Frame Controller

    @@Gyakutsuki The contribution you mentioned does not do what this sytem does, it appears to control box placement. The one I am developing controls column placement, right, left, and center, as well as add a strating point for design. It could be used in combination with the dynamic template system if need be. I had never seen that contribution untill today, it appears to take a lot of modifications, while the one I have built will take about 5 minutes to install with only modifications to 2 files.
  11. GLWalker

    osCommerce Online Merchant v2.3.3.4

    https://github.com/osCommerce/oscommerce2/tree/24
  12. Using Social Share buttons? Are they bogging your site down? Check this out:http://sharrre.com/

  13. GLWalker

    ULTIMATE Seo Urls 5 - by FWR Media

    I dont know. I have just transferred an osc installation to a new set up, but had already written a ton of redirects into the htaccess file, so I'll have to wait for one I missed to see.
  14. GLWalker

    ULTIMATE Seo Urls 5 - by FWR Media

    I use ULTIMATE Seo Urls 5 PRO as well as Custom HTTP Error Page I like the http error page as it logs the http errors so I can correct/manage them, but SEO Urls has it own 404 page so I made a simple change in includes/modules/ultimate_seo_urls5/includes/notfound_404.php If you use the same set up, just copy the code below and paste over your existing file. <?php /** * * ULTIMATE Seo Urls 5 PRO ( version 1.1 ) * * * @package USU5_PRO * @[member='licensed2kill'] http://www.opensource.org/licenses/gpl-2.0.php GNU Public License * @[member='Link'] http://www.fwrmedia.co.uk * @[member='copyright'] Copyright 2008-2009 FWR Media * @[member='copyright'] Portions Copyright 2005 ( rewrite uri concept ) Bobby Easland * @[member='author'] Robert Fisher, FWR Media, http://www.fwrmedia.co.uk * @lastdev $Author:: Rob $: Author of last commit * @lastmod $Date:: 2010-12-21 22:45:02 +0000 (Tue, 21 Dec 2010) $: Date of last commit * @version $Rev:: 196 $: Revision of last commit * @Id $Id:: notfound_404.php 196 2010-12-21 22:45:02Z Rob $: Full Details */ /** * Page not found html with 404 header * @package USU5_PRO * * @var array $text - array of text strings to be used in the html */ header( "HTTP/1.0 404 Not Found" ); header('Location: http_error.php?error_id=404&FWR-URL='. $_SERVER['REQUEST_URI']); ?> It will still log the proper 404 header as well as inform you the requested url in your log/txt file. Also, I found a hidden gem, though I have not tried it yet: includes/modules/ultimate_seo_urls5/includes/uri_redirects_array.php
  15. GLWalker

    contact page upgrade

    It started with the addition of the action recorder in 2.3, only 1 I.P. Address allowed per set time limit. You can still get a spam message, but there will not be multiple occurences, or multitudes of spam sent out from your installation. Of course there are always ways around it, but hardly worth the effort, easier just to move on to someone elses contact form.
  16. GLWalker

    [Contribution] .htaccess Optimisation V1.0

    From my understanding of .htaccess, your admin should inherit functionality of the sites root .htaccess file. However, I cannot confirm that this is true under a .htacess password protected directory.
  17. GLWalker

    contact page upgrade

    Really no point in any of those addons, all are outdated and just add more overhead. The most recent versions of osc already have code in place to deal with spammers and mail abuse. Adding custom content to the page can easily be done through the language file or even with the banner manager. If your going to build a fork, think it through very thouroughly. There are already a handful of loaded osCommerce builds available, everyone and his brother, mother, sister and talented dog has been there, done that. Theres a reason the core osCommerce is not "Loaded". Good Luck
  18. Really loving bootstrap these days, so many features, such easy implementation

  19. Proposal: Redefine TEXT_GREETING_GUEST from "Welcome Guest!" to "Hello My Friend!"

    1. burt

      burt

      Not "Whassup Dude?!?" ?

    2. sembrouille

      sembrouille

      Try "WAZAAAAAAAAAAA. HEY GUYS!"

    3. mattjt83

      mattjt83

      wait, wait, wait... have we met before??

  20. Im moving this here, as I made a blunder and posted in the wrong thread... I guess there is one module missing from the package, I just have ran out of time right now, but an order summary for the current order_id. My thoughts are that it should have: The order quantity and price with totals, taxes, etc; and a button link that creates a popup modal for printing purposes. I think it would give it a nice polish. @burt I really like the previous orders module write review function. This is actually something that comes up quite a bit with some shops I work with. They want fresh content, and what better way to get it than presenting a returning customer with a chance to write a review while already being logged in; and apparantly happy with the store as they are making a return purchase. Briliant.
  21. Ive noticed that sometimes facebook is slower to load than the other share links. One things Ive thought of... unrelated but a small issue, ...if your already loading a facebook button in other parts of the catalog, there could be a redundancy in scripts. In that case ot would probably be ok to comment out the $head variable for the facebook script in the cs_social_share module You'd have to view the source and see if it is comming up twice.
  22. Forgot to mention in the read_me file, if you want a bit of spacing between modules in the layout, everything has a css id so you can add this to your css file: #cs-thank-you, #cs-prod-downloads, #cs-prev-orders, #cs-prod-notice { margin:1% auto; } Sharing modules are already spaced, but as many of you know, you may also use jQuery to add round corners or any other existing modifications you may have. Thanks everyone, this was a great and much needed idea.
  23. Package has been uploaded: http://addons.oscommerce.com/info/8793 The contribution remains open so anyone may add modules/modifications.
  24. Down to the documentation and I'll be uploading a package deal.
×