Taxonomy (Find and compare Root)
Posted July 20th, 2008 by mxgfx$first_terms = taxonomy_get_tree(1,0,-1,1);
foreach($first_terms as $tax_arg){
foreach( $node->taxonomy as $tax_arg2){
if($tax_arg2->name==$tax_arg->name){
print $tax_arg->name;
}
}
}
Block Region Template Problems
Posted July 18th, 2008 by mxgfxCondition:
- PHPtemplate.engine functions properly. (2007 version)
- node.tpl.php can execute functions from template.php
- Block Region page refuses to display updated regions.
- mytheme_regions() syntax is correct.
Questions:
- How is this even possible?
- Has someone tampered with the core?
- Human error?
Solution:
To be determined. I will write a more lengthy article about this, once I get some sleep.
Added a few great modules
Posted July 17th, 2008 by mxgfxThis site continues to be a guinea pig for my paid projects and I'm happy to report that there are a few more modules that I'm genuinely happy with.
Storm
At first, I thought that this module was a gimmicky, corporate funded crap machine. Fortunately for everyone, it's a really nice Project/Management and Business module suite that has more pros then cons. There are a few features that I'd really like to see implemented, but this is neither the time nor the place for me to discuss. More soon.
Taxonomy Hierarchy Select
Adding PNG support
Posted July 15th, 2008 by mxgfxFortunately, if you have been using Firefox 2 (and up), you are probably unaware of any image displaying, png issues. This is entirely because Firefox complies with the web standard for displaying html and css content. This is troublesome news if you are a modern day web designer.
If you were throwing a party for three hundred people, and the majority of them were handicapped, wouldn't you want to install a ramp or something? That's why most web designers cater to Internet Explorer. We need to allow everyone access to the party, without ruining the moment.