Hi Team,
I'm trying to hide Language web link set from Portal home page but I do not find this web link from Primary web link set. Could you please tell me how to hide this.
Thanks,
Leo
Hi Team,
I'm trying to hide Language web link set from Portal home page but I do not find this web link from Primary web link set. Could you please tell me how to hide this.
Thanks,
Leo
The code responsible for rendering the language dropdown is in Liquid, so my guess is that your commenting tag is being ignored
can you try removing the code between lines 105 and 115 completely? or using the liquid comment tags:
{% comment %}
{% endcomment %}
sorry about the delay, I am not very active in this forum, please refer to powerusers.microsoft.com/.../PowerAppsPortals for Power Apps Portals questions
Hi I’m having same issue and I’m not able to see this code
did you clear the cache?
{% assign homeurl = website.adx_partialurl %}{% substitution %} {% assign current_page = page.id %} {% assign sr_page = sitemarkers["Search"].id %} {% assign forum_page = sitemarkers["Forums"].id %} {% if current_page == sr_page or current_page == forum_page %} {% assign section_class = "section-landing-search" %} {% if current_page == forum_page %} {% assign section_class = "section-landing-forums" %} {% endif %}{% endif %} {% endsubstitution %} {% if current_page == sr_page %}{% editable snippets 'Search/Title' default: resx["Discover_Contoso"] %}
{% include 'Search' %} {% endif %}
Thanks for letting me know this. I've commented out the whole block where language is included but i'm still able to see language dropdown.
Regards,
Leo
it's not Home Web Template.. it's the Header Web Template
Hi Oliver,
Thank you! I'm able to see only the below code in Home web template and couldn't see the line of code you have highlighted in below code. Could you please tell me where I can deactivate web language.
{% assign forums_sm = sitemarkers["Forums"] %} {% editable snippets "Home/MostPopularHeading" default: resx["Most_Popular"] %}
Thank you,
Leo
You should only see that if you enable multiple languages for your Portals
you can either remove the additional "Website Language" record or change the "Header" Web Template removing or changing the condition highlighted:
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
We highly recommend users to migrate to PowerUsers community for new Portal questions:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156