Author Archives: Francesco Abbadon1334 Danti

Sitefusion CKEditor v 3.0 – Xpi extension – new version Extended

New version with extended classes XULCKEditor : Complete editor XULDataEditorSimple : Simple editor with basic options XULDataEditorSwitch : Switch panel between editor and HTML viewer Download : CKeditor SiteFusion

Posted in Uncategorized | Leave a comment

Sitefusion CKEditor v 3.0 – Xpi extension BETA 0.1

Installation : in sitefusion server dir “components” add files : sf_ckeditor.js sf_ckeditor.php.inc in sitefusion server dir “extensions” add file : sf_ckeditor@oracoltech.com.xpi Add this two lines of code in your project file : RequireExtension( “sf_ckeditor@oracoltech.com”); LoadClass( ‘sf_ckeditor’, ‘components’ ); Theme default … Continue reading

Posted in SiteFusion | Leave a comment

XUL SVG images :: easy with SiteFusion

With a little modification that will be implemented in the next version : add this code at the end of file : class/textAndImages.php.inc class XULImageSvg extends Node { public $remoteConstructor = ‘ImageSvg’; public $width = NULL; public $height = NULL; … Continue reading

Posted in SiteFusion | Leave a comment

XULStdAppMenu :: 10 lines of code to create really deeper menu in SiteFusion

USAGE : // Istantiate and add the classto the Application window $this->window->addChild( $top = new XULStdAppMenu() ); // Only create root menu is required, after you can “overwrite” and redeclare all menu // without any problem because after the first … Continue reading

Posted in SiteFusion | Leave a comment

XULAdvancedTabBox

XULAdvancedTabBox addTabbedPanel ( $name,  $panel, [ $background = false]) $name = name of the tab $panel = The Component to added $background = will be add in background closeActiveTab ([ $e = NULL]) Close the active panel closeAll ([ $e = NULL], [ $leaveActive = … Continue reading

Posted in SiteFusion | Leave a comment

VirtueMart : get All Parent Child Categories IDs By Category Root

SELECT SQL_CACHE CONCAT_WS( ‘,’, GROUP_CONCAT(DISTINCT lev01.category_child_id), GROUP_CONCAT(DISTINCT lev02.category_child_id), GROUP_CONCAT(DISTINCT lev03.category_child_id), GROUP_CONCAT(DISTINCT lev04.category_child_id), GROUP_CONCAT(DISTINCT lev05.category_child_id) ) as deepListCatIds FROM jos_vm_category_xref lev01 LEFT OUTER JOIN jos_vm_category_xref lev02 ON lev01.category_child_id = lev02.category_parent_id LEFT OUTER JOIN jos_vm_category_xref lev03 ON lev02.category_child_id = lev03.category_parent_id LEFT OUTER … Continue reading

Posted in MySql | Leave a comment

VirtueMart : Parent Child Category

SELECT lev01.category_child_id id_01, tblname01.category_name name_01, lev02.category_child_id id_02, tblname02.category_name name_02, lev03.category_child_id id_03, tblname03.category_name name_03, lev04.category_child_id id_04, tblname04.category_name name_04 FROM jos_vm_category_xref lev01 LEFT OUTER JOIN jos_vm_category_xref lev02 ON lev01.category_child_id = lev02.category_parent_id LEFT OUTER JOIN jos_vm_category_xref lev03 ON lev02.category_child_id = lev03.category_parent_id LEFT OUTER … Continue reading

Posted in MySql | Leave a comment