-
Dear @LeonidS. The solution you provided here: https://unacms.com/cmts-view/sz61bm?sys=bx_forum&cmt_id=38290 on how to disable countries on modules create page works perfectly fine on the entire website except in context modules. I do believe that the raison might be because the 'Create' (Add) page in a context module is loaded in a tab or frame.
Example: If a create a content (e.g. a post) outside of a context module using the '+' (add) icon in the member toolbar, the javascript code you provided works well and only coutries I set are shown, the remaining ones are hidden.
But if e.g I create a post, articles or polls inside a group or course, the javascript code to hide the countries in the country field doesn't work.
Any solution to fix this problem?
Note: I placed the Javascript code in the head injection.
Thanks in advance.
Update: I have noticed the same issue with the Create 'Ad' page. The Javascript code to hide some countries doesn't work. Maybe because the 'Create Ad' process has a two steps. First, you select a category and click on the submit button, then in the next step (page) you create the ad.
-
Hi @LeonidS Any solution to this issue with the country field? Thanks
-