Firstly, great project, almost exactly what i was looking for, A basic bootstrap laravel cms which i can extend, I hope it continues to progress.
I would suggest better documentation, I've been over the documentation and it is very brief and only outlines the basics of how to get the system working.
Not much in the way of troubleshooting or in-depth explanation of how routing is setup.
Never mind my original issue i have solved it so i'm updating this issue with another question, while i realize this is not the best channel for support related questions there isn't really any website or forums.
I'm trying to create a bootstrap megamenu in the triangle theme.
What i've come up with so far is i need to extend the menuHtml class
As seen below (modified)
protected function getMenu($type, $relatedId)
{
$menuHtml = $this->cacheService
->setCacheKey(__FUNCTION__, func_get_args())
->retrieveFromCache(function () use ($type, $relatedId) {
return webed_render_menu(get_setting('main_menu', 'main-menu'), [
'id' => '',
'class' => 'nav navbar-nav navbar-right',
'container_class' => 'collapse navbar-collapse',
'has_sub_class' => 'dropdown megamenu-dropdown',
'container_tag' => 'nav',
'container_id' => '',
'group_tag' => 'ul',
'child_tag' => 'li',
'submenu_class' => 'dropdown-menu mega-dropdown-menu row',
'item_class' => '',
'active_class' => 'item active',
'menu_active' => [
'type' => $type,
'related_id' => $relatedId,
]
]);
});
view()->share([
'cmsMenuHtml' => $menuHtml
]);
return $menuHtml;
}
}
From what i can tell, i need another css class level
one for main title
one for dropdown-header (Blank link which separates the sections of the megamenu)
one for item
Either i'm reading it wrong or the above block of code doesn't give enough css levels to make this work.
Could someone here provide some insight on how extend this function.