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
| Loader::model('attribute/key'); | |
| Loader::model('attribute/categories/collection'); | |
| $list = AttributeKey::getList('collection',array('atID'=>$atID)); |
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 | |
| $formhelper = Loader::helper('form/page_selector'); | |
| echo $formhelper->selectPage($fieldName,$cID = false, $javascriptFunc = 'ccm_selectSitemapNode'); | |
| ?> |
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
| $bv = new BlockView(); | |
| $bv->setBlockObject($this->getBlockObject()); | |
| //Now $bv should be the same as $this was in the view, so you could do this: | |
| $areaname = $bv->block->getAreaHandle(); |
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
| if (!empty($imageid)) { | |
| $img = File::getByID($imageid); | |
| $ih = Loader::helper('image'); | |
| $img = $ih->getThumbnail($img,35,35,false); | |
| $imgsrc = $img->src; | |
| } |
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
| //mixen de fazer fontfaces | |
| @fontpath: "../fonts/"; | |
| //mixen para geração de fontes | |
| #fontutilits{ | |
| .fontface(@filename,@nome,@wight:normal){ | |
| font-family: @nome ; | |
| src: url('@{fontpath}@{filename}.eot'); |
NewerOlder