This is the support forum for the Restaurant mod.
This is the support forum for the Restaurant mod. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Some adjustments have been made to this mod. Re-upload all files and recompile the language for the mod. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
The following file is updated : modules/modzzz/restaurant/classes/BxRestaurantFormAdd.php Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Version 2.0.1 released. (See patches/version_2.0.1 folder in zip file) Fixed display issue with link in Account Control block on Member Account page. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Hi, | ||
@Ghislou - your site has been updated. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Version 2.0.2 released. (See patches/version_2.0.2 folder in zip file) Removed references to modzzz in the URL. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Version 2.0.3 released. (See patches/version_2.0.3 folder in zip file) Added flexibility to the posting form so that some sections can be omitted and later filled in if required. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
An update has been made to the search functionality. Address and Zip Code has been added. Download the mod again and re-upload the files. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
I installed the update which added the zip and address field. I still need the search page which is not in the mod at this moment, though showing on the demosite.
| ||
I would like to delete the field in the block where users can post their restaurant. Just the title and the button to show.
Is this possible ?
| ||
Easy... take that block of the page in page builder. or leave it but uncheck show for guest and member I would like to delete the field in the block where users can post their restaurant. Just the title and the button to show.
Is this possible ?
| ||
To change the country on the search form to Belgium only, see below : In modules\modzzz\restaurant\classes\BxRestaurantFormSearch.php Find : The same needs to be done to the getBlockCode_Search function found in modules\modzzz\restaurant\classes\BxRestaurantPageMain.php
In these two locations, you also need to define the states array : Find : $aStates = array(); Replace with : $aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE'); Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Thanks solusoft but she does not want to remove the entire block, just the textbox. She needs to modify this template file : modules\modzzz\restaurant\templates\base\create_restaurant.html Easy... take that block of the page in page builder. or leave it but uncheck show for guest and member I would like to delete the field in the block where users can post their restaurant. Just the title and the button to show.
Is this possible ?
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Indeed. I already found that file, but when I try to take the textbox out, I get an error.
Thanks solusoft but she does not want to remove the entire block, just the textbox. She needs to modify this template file : modules\modzzz\restaurant\templates\base\create_restaurant.html Easy... take that block of the page in page builder. or leave it but uncheck show for guest and member I would like to delete the field in the block where users can post their restaurant. Just the title and the button to show.
Is this possible ?
| ||
Thanks Modzzz To change the country on the search form to Belgium only, see below : In modules\modzzz\restaurant\classes\BxRestaurantFormSearch.php Find : The same needs to be done to the getBlockCode_Search function found in modules\modzzz\restaurant\classes\BxRestaurantPageMain.php
In these two locations, you also need to define the states array : Find : $aStates = array(); Replace with : $aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE');
| ||
In the page builder, restaurant view, I see a field 'coupon'. What is this meant for ? How to use it ? | ||
It is presently not used. It was put in place to accommodate integration with my Coupons module. In the page builder, restaurant view, I see a field 'coupon'. What is this meant for ? How to use it ?
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Is there a possibility to get the sub-categories on the restaurant homepage ? I know how to create a block, but I don't know the scriptline for sub-categories | ||
$aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE');
This doesn't work, the states are not being showed for selection.
Shouldn't something be changed in this piece of script as well ?
$oProfileFields = new BxDolProfileFields(0); $aDefCountries = $oProfileFields->convertValues4Input('#!Country'); asort($aDefCountries); $aChooseCountries = array(''=>_t("_Select")); $aCountries = array_merge($aChooseCountries, $aDefCountries);
| ||
I noticed that you left out the VIP area out of the pre values in the latest update of your mod. It's still in the FormAdd as a yes/no possibility. However, I want it back in the pre-values AND with a select option.
I can add it in the pre-values, but how to edit the FormAdd at line 444? | ||
Guess Modzzz is out for a holiday :-) | ||
I created an event for a restaurant.
It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page.
How to solve this ??? | ||
The VIP option was not touched. It has always been a Yes/No option which states whether the Restaurant has a VIP area or not. You can look at one of the other form fields that uses predefined lists to see how it is done (eg. look at bar_type at line 455) I noticed that you left out the VIP area out of the pre values in the latest update of your mod. It's still in the FormAdd as a yes/no possibility. However, I want it back in the pre-values AND with a select option.
I can add it in the pre-values, but how to edit the FormAdd at line 444?
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well. The event can take place on another location then the restaurant location.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
In the version I bought on December 26, there were 3 VIP area options in the pre-defined listing (select, yes and no). The newest version of the mod has no VIP area fields in the pre-defined listing anymore. So I'll just insert them again and then change the FormAdd fields on line 444 and it should be solved? The VIP option was not touched. It has always been a Yes/No option which states whether the Restaurant has a VIP area or not. You can look at one of the other form fields that uses predefined lists to see how it is done (eg. look at bar_type at line 455) I noticed that you left out the VIP area out of the pre values in the latest update of your mod. It's still in the FormAdd as a yes/no possibility. However, I want it back in the pre-values AND with a select option.
I can add it in the pre-values, but how to edit the FormAdd at line 444?
| ||
There already is a map on the restaurant page which shows the location of the restaurant. This map has nothing to do with the Dolphin script, it is in the restaurant mod. That's why I'm asking if it's possible to show the restaurant event on that map as well. And I'm not talking about the Dolphin script events. Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
OK, I think I see now why I'm confused about this map. Are you using the same map-marker for a restaurant and a restaurant event? There already is a map on the restaurant page which shows the location of the restaurant. This map has nothing to do with the Dolphin script, it is in the restaurant mod. That's why I'm asking if it's possible to show the restaurant event on that map as well. And I'm not talking about the Dolphin script events. Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
Did you notice my answer on this ? I made the changes you quoted, but it doesn't work. The states are not showing in the pre-defined list anymore. Thanks Modzzz To change the country on the search form to Belgium only, see below : In modules\modzzz\restaurant\classes\BxRestaurantFormSearch.php Find : The same needs to be done to the getBlockCode_Search function found in modules\modzzz\restaurant\classes\BxRestaurantPageMain.php
In these two locations, you also need to define the states array : Find : $aStates = array(); Replace with : $aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE');
| ||
I develop and work on all modules I sell myself. I can state categorically that VIP Area was never a part of predefined list. If you have it in your version, it is something you added and forgot. Since you are modifying code yourself, I assume that you know enough elementary PHP to get along. Look at everything involving bar_type on the page and replicate that for vip_area In the version I bought on December 26, there were 3 VIP area options in the pre-defined listing (select, yes and no). The newest version of the mod has no VIP area fields in the pre-defined listing anymore. So I'll just insert them again and then change the FormAdd fields on line 444 and it should be solved? The VIP option was not touched. It has always been a Yes/No option which states whether the Restaurant has a VIP area or not. You can look at one of the other form fields that uses predefined lists to see how it is done (eg. look at bar_type at line 455) I noticed that you left out the VIP area out of the pre values in the latest update of your mod. It's still in the FormAdd as a yes/no possibility. However, I want it back in the pre-values AND with a select option.
I can add it in the pre-values, but how to edit the FormAdd at line 444?
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
States are not part of pre-defined list, unless that is a customization you did. Send the two files you modified to my support email and I will look at the changes you made. Did you notice my answer on this ? I made the changes you quoted, but it doesn't work. The states are not showing in the pre-defined list anymore. Thanks Modzzz To change the country on the search form to Belgium only, see below : In modules\modzzz\restaurant\classes\BxRestaurantFormSearch.php Find : The same needs to be done to the getBlockCode_Search function found in modules\modzzz\restaurant\classes\BxRestaurantPageMain.php
In these two locations, you also need to define the states array : Find : $aStates = array(); Replace with : $aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE');
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
No, it's not a customization of mine, it's the states which are in the restaurant countries list (BE antwerpen, limburg, oost-vlaanderen, ...
With pre-defined list I meant the dropdown box with the states. States are not part of pre-defined list, unless that is a customization you did. Send the two files you modified to my support email and I will look at the changes you made. Did you notice my answer on this ? I made the changes you quoted, but it doesn't work. The states are not showing in the pre-defined list anymore. Thanks Modzzz To change the country on the search form to Belgium only, see below : In modules\modzzz\restaurant\classes\BxRestaurantFormSearch.php Find : The same needs to be done to the getBlockCode_Search function found in modules\modzzz\restaurant\classes\BxRestaurantPageMain.php
In these two locations, you also need to define the states array : Find : $aStates = array(); Replace with : $aStates = $GLOBALS['oBxRestaurantModule']->_oDb->getStateArray('BE');
| ||
This is a piece of script in the BxRestaurantModule.php file which refers to the map markers.
I replaced the 'group' mapmarker with another one, but nothing is changing on the site.
Can you see some error in this piece of script?
OK, I think I see now why I'm confused about this map. Are you using the same map-marker for a restaurant and a restaurant event? There already is a map on the restaurant page which shows the location of the restaurant. This map has nothing to do with the Dolphin script, it is in the restaurant mod. That's why I'm asking if it's possible to show the restaurant event on that map as well. And I'm not talking about the Dolphin script events. Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
I know that icons are referring to the Font Awesome, but I didn't install the groups module. So how can they refer to that icon than ? This is a piece of script in the BxRestaurantModule.php file which refers to the map markers.
I replaced the 'group' mapmarker with another one, but nothing is changing on the site.
Can you see some error in this piece of script?
OK, I think I see now why I'm confused about this map. Are you using the same map-marker for a restaurant and a restaurant event? There already is a map on the restaurant page which shows the location of the restaurant. This map has nothing to do with the Dolphin script, it is in the restaurant mod. That's why I'm asking if it's possible to show the restaurant event on that map as well. And I'm not talking about the Dolphin script events. Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
In the database table sys_menu_top I changed the icon and the picture in the restaurant menu root to 'cutlery'. No icon is showing up on the homepage anymore. Where else do I have to change settings in the script. It drives me crazey that all the icons in this mod are referring to 'group' icon. Restaurant and restaurant event should have different icons, that's logical, not ? I know that icons are referring to the Font Awesome, but I didn't install the groups module. So how can they refer to that icon than ? This is a piece of script in the BxRestaurantModule.php file which refers to the map markers.
I replaced the 'group' mapmarker with another one, but nothing is changing on the site.
Can you see some error in this piece of script?
OK, I think I see now why I'm confused about this map. Are you using the same map-marker for a restaurant and a restaurant event? There already is a map on the restaurant page which shows the location of the restaurant. This map has nothing to do with the Dolphin script, it is in the restaurant mod. That's why I'm asking if it's possible to show the restaurant event on that map as well. And I'm not talking about the Dolphin script events. Restaurant listings and Event listings cannot be shown on the same map. Now if you want a map on the Event view page that shows the Event then that can be done. Than why is there a map on the restaurant view which shows the restaurant ? If the restaurant can be shown, the restaurant event can be shown as well, not ?
I just want the restaurant event shown on that map as well.
Only Restaurant listings can show on that map. The World Map integration functionality that is available to modules does not facilitate the combining of the two different data-sets. I created an event for a restaurant. It is showing on the general worldmap as foodevent, but it is not showing on the map in the restaurant page. How to solve this ???
| ||
@annabel - Rename map_marker.png to something else, both in the code and in the icons folder ( modules\modzzz\restaurant\templates\base\images\icons ). What I have done in the latest copy of the mod is create two different icons (food_map_marker.png and event_map_marker.png). You also need to update the database entries and clear cache : UPDATE `bx_wmap_parts` SET `icon` = 'modules/modzzz/restaurant/|food_map_marker.png', `icon_site` = 'home' WHERE `part` = 'restaurant'; UPDATE `bx_wmap_parts` SET `icon` = 'modules/modzzz/restaurant/|event_map_marker.png', `icon_site` = 'calendar' WHERE `part` = 'restaurant_event'; Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
@annabel - To modify the menu icons, use the navigational menu builder in admin panel instead of modifying the database table. If you chose to modify the database table directly you need to clear cache after. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
This cannot be used when the icon is not in the script/mod/database @annabel - To modify the menu icons, use the navigational menu builder in admin panel instead of modifying the database table. If you chose to modify the database table directly you need to clear cache after.
| ||
Error in navigation :
I open a restaurant and after that the restaurant event. In the breadcrumb menu the event is not mentioned.
When I want to navigate back and click on restaurants in the breadcrumb menu I get a 'not found' page and the URL goes to restaurant/view without the name of the restaurant.
I need a solution for this. Thanks | ||
Also not working for 'restaurant events' and 'restaurant news'
Error in navigation :
I open a restaurant and after that the restaurant event. In the breadcrumb menu the event is not mentioned.
When I want to navigate back and click on restaurants in the breadcrumb menu I get a 'not found' page and the URL goes to restaurant/view without the name of the restaurant.
I need a solution for this. Thanks
| ||
Restaurant view and Restaurant Event view :
It might be interesting to add the address in the restaurant contact details and the restaurant event info.
| ||
For the breadcrumb issues pointed out yesterday, a patch will be released to address this. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
Question : how do you connect a package to a restaurant ? I created both free and paid packages, but I don't see an option to connect them to a restaurant.
Can you explain how to create a listing? How to claim a restaurant?
I can't find an explanation on the demo site or the screenshots. | ||
Package functionality is only seen when logged in as an ordinary member since Administrators will always be allowed to post restaurant listings for Free. Claim button is shown in the Actions Block. Ordinary members can claim Restaurant listings posted by Administrators. When a claim is made, Administrator is notified by email and that claim is also listed in a section in the Admin panel. Administrator reviews the information submitted and makes a decision whether to accept/reject the claim. If Claim is accepted the listing is assigned to the member making the claim. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
I managed to make a claim as a member, but how do I assign (as admin) a free or a paid package to that claim ?
The only option seen is to accept the claim.
And where can I see the listing of free and paid packages? | ||
After a member has been given access to a listing, they can then purchase a package if they desire, there is no feature in the mod for admin to assign a package. To see which listings are available in each package, I will see if I can add that in the soon to be released update patch. I managed to make a claim as a member, but how do I assign (as admin) a free or a paid package to that claim ? The only option seen is to accept the claim. And where can I see the listing of free and paid packages?
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz | ||
ok, thanks
| ||
There is an error in the search result page.
When I have more than 14 restaurants and I click on page 2 to see more results, I get a page 'empty'. Same when I click on the 'per page' selector to get more results on 1 page. Also a page 'empty'.
This cannot be reproduced on your demo site since you only have 3 restaurants there.
Also search on ZIP code doesn't work. I can't reproduce this on your demosite since you only have 1 ZIP code there. | ||