The End-All to Cross Browser CSS woes!

On October 11, 2011, in General, PHP, Plugins, Wordpress, by admin

Check out my newest little project that will serve up your standard CSS along with a CSS file (if its available) for the users browser.

For example, you have you standard style.css file that has all of your sites CSS rules. Then, you notice a CSS bug that occurs in Safari, so you would create safari.css and this little system will detect when Safari shows up and serve up the style.css file with the safari.css file appended to the end of it (Yes, it combines them into one file) and it also offers browser compression and setting of the browser cache so that newly combined/formed, specific browser tailored, with line breaks and CSS comments removed for best compression, and then browser cache set so the browser and server both get the best and most efficient single CSS file to work with.

You can configure everything:

  • You can set multiple “base” css files. i.e. reset.css and style.css or whatever.
  • You can configure if you want it do remove line breaks and/or all CSS comments
  • You can configure if you want the file to be compressed or not
  • You can set as many specific browser and browser version specific CSS files, or none at all. For Example:
    • chrome.css
    • firefox.css
    • ie-all.css
    • ie-lte6.css
    • ie-lte8.css

Click Here for Demo

(view this same page from different browsers…)

Contact me if you’re interested!

With this wordpress plugin you can edit page templates from within the page they are being used for, you will have a new textarea to edit the actual .php file that is the page template that the page you’re editing is currently using. If it is not using any custom page template, it doesn’t show the textarea.

WordPress Plugin Dir:

http://wordpress.org/extend/plugins/contextual-page-template-editor/

Download:

contextual-template-editor.zip

Screenshot:

OpenCart as a WordPress Plugin

On June 6, 2010, in OpenCart, Plugins, Wordpress, by admin

I have been developing for WordPress and OpenCart for some time, and have come to these realizations:

WordPress has some OK, sometimes decent, e-commerce plugins; probably e-shop and wp-ecommerce being the best. But they have their drawbacks, and they have been developed around wordpress for wordpress.

OpenCart is a great, solid, excellently coded, stand alone open source e-commerce system.

I ran across a thread in a forum about the possibility of integrating OpenCart into WordPress as a WordPress plugin, and I liked the idea because WordPress needs a REALLY SOLID e-commerce plugin. So I am now exploring developing that integration.

Here is what I have planned:

  • Install OpenCart directly into WordPress as a plugin
  • OpenCart would not use its own template system, but instead use WordPress’s theme
  • The OpenCart Modules would become widgets
  • OpenCart admin login will ride on WordPress admin login for seamless login to both systems.
  • OpenCart customers would tie into the WordPress Users table, and that integration would have many benefits

Future Ideas

  • Extend OpenCarts plugin-ability with a wordpress powered plugin that would plug into OpenCart
  • More?…

Drop me some comments with your thoughts…

Josh