Added our properties controller in the front, added fax in the hotel table

This commit is contained in:
vishalsingh.qlo325
2025-04-17 15:56:20 +05:30
parent 9518a916fa
commit f5bf00581d
68 changed files with 1149 additions and 688 deletions

View File

@@ -164,6 +164,20 @@ class WkCustomNavigationLink extends ObjectModel
$objCustomNavigationLink->link = 'index';
$objCustomNavigationLink->save();
$objCustomNavigationLink = new WkCustomNavigationLink();
foreach ($languages as $language) {
$objCustomNavigationLink->name[$language['id_lang']] = 'Our hotels';
}
$objCustomNavigationLink->position = $this->getHigherPosition();
$objCustomNavigationLink->id_cms = 0;
$objCustomNavigationLink->show_at_navigation = 1;
$objCustomNavigationLink->show_at_footer = 0;
$objCustomNavigationLink->active = 1;
$objCustomNavigationLink->link = Context::getContext()->link->getPageLink('properties');
$objCustomNavigationLink->is_custom_link = 1;
$objCustomNavigationLink->save();
// enter modules links
$modsElems = array();
// if module is installing or resetting