Answers for "rebuild joomla menu"

PHP
0

rebuild joomla menu

{source}<?php

$table= JTable::getInstance('Menu', 'JTable', array());
// Rebuild the tree path.
if (!$table->rebuildPath($table->id) || !$table->rebuild($table->id)) {

$this->setError($table->getError());
return false;
}else{
echo 'path updated';
}

?>{/source}
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language