This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* to fix bug in chrome rendering 1px less than Firefox */ | |
.wide_third { | |
max-width: 33.334%; | |
min-width: 33.333%; | |
/* IE conditional */ | |
=width: 33.333%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/Schepp/box-sizing-polyfill | |
Preface and Credits | |
This box-sizing polyfill is based on previous work done by Erik Arvidsson, which he published in 2002 on WebFX. | |
Since there were some edge/heavy usage cases where it broke I started pushing it further. And since the original was not aware of IE8 I also added feature-detection for box-sizing, to do nothing when detected positive. | |
During that I also borrowed dimension measuring techniques from Dean Edwards' IE7.js script. | |
Usage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://code.google.com/p/ie7-js/ | |
IE7.js is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The new xx-XX.override.ini file has been created to avoid this issue. Instead of changing the original file, one can add in a file tagged to the language chosen (en-GB.override.ini for example) any key already existing somewhere among all ini files and a specific value. | |
The file has to be placed in: | |
administrator/languages/overrides/en-GB.override.ini | |
or | |
languages/overrides/en-GB.override.ini for frontend. | |
For example, if you add the following value to the override.ini file: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SEBLOD Importer | |
======================================== | |
- create/open CSV file (use first row for column titles to make editing easier) | |
- NB! make sure the following columns exist (id, title, catid) | |
-- id (joomla core auto increment if not specified) | |
-- title (if not specified timestamp will be used) | |
-- catid (set a default category else will be save as uncategorised) | |
-- OPTIONAL - ADD ANY OTHER ARTICLE COLUMNS | |
- match existing exclusive columns (i.e. LOCKED -TABLE: cck_store_form_your_content_type - storage [standard - article - field_name]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
// add to from module code to avoid submission issues | |
if ( ( JCck::getConfig_Param( 'validation', 2 ) > 1 ) && $config['validation'] != '' ) { | |
} | |
;?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div[style] { | |
background: yellow !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SEBLOD - ADDING RELATED ARTICLE FIELDS TO SEARCH | |
================================================ | |
http://www.seblod.com/support/forum/Content-Types--Forms/29682-SOLVED-Relate-product-to-manufacturer-be-able-to-search-products-by-manufacturers-fields.html#29784 | |
- CCK (* required core field) | |
(1) Variation = Hidden | |
(2) Live = Default | Live value = yourContentType (for related article) | |
(3) Match = Exact | |
(4) Stage = 1st |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JAVASCRIPT - PRINT PAGE | |
// ======================= | |
// http://javascript.about.com/library/blprint.htm | |
// Add a link to locally hosted file | |
// <link rel=alternate media=print href="printversion.pdf"> | |
window.print();return false; | |
// HTML link | |
// <a href="#" onclick="window.print();return false;">Print This Page</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Assuming today is March 10th, 2001, 5:16:18 pm, and that we are in the | |
// Mountain Standard Time (MST) Time Zone | |
// http://nl3.php.net/manual/en/function.date.php | |
$today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm | |
$today = date("m.d.y"); // 03.10.01 | |
$today = date("j, n, Y"); // 10, 3, 2001 | |
$today = date("Ymd"); // 20010310 | |
$today = date('h-i-s, j-m-y, it is w Day'); // 05-16-18, 10-03-01, 1631 1618 6 Satpm01 |