I have a managed metadata field field on my site which is pointing to a term store. This looks something like the what I show below. Is it possible to allow the site owners to tag pages with everything from this term store but to restrict everyone else to tag only what comes below 'Home' (i.e. they can tag pages with 'IT', 'Our services', 'HR' etc but NOT 'home')?
Basically I am 'rolling up' whatever has been tagged with 'Home' onto the home page of my site and I don't want any old user to be able to put stuff onto the home page.
Thanks in advance
Internet
Home
HR
What we do
Opening hours
IT
Our services
etc.
Related
Hi friends,
The company I work for has a website with an Admin Dashboard. Pages that users can use according to their authorization are listed in the menu. Beautiful so far. However, there is a problem. The person can reach the pages that he cannot see in the menu at the moment, without authorization, from the address bar, by entering the link of the page. How can I prevent access to unauthorized pages from the Address Bar by redirecting them from one place? I don't want to check each page individually. This doesn't make sense. For example, a component with the message "You are not authorized to view this page" may be displayed or automatically redirected to the home page.
I'm waiting for your help. Thanks.
You will need to use a global router navigation guard/hook called beforeEach - as explained in multiple tutorials:
https://css-tricks.com/protecting-vue-routes-with-navigation-guards/
https://www.permify.co/post/implementing-role-based-access-control-in-vue-js
I just migrated my PS 1.7 from one domain to another, everything fine but I really don't how to change the SHOP email so I can get it right in my "contact us" page.
I tried changing it from BackOffice and do BO is showing the correct email
but in my contact page still the old one.
I tried downloading all the database and searching Ctrl+F with no success.
I tried downloading the site files and look which in files searching app and couldn't find it/
I even deleted all the cache manually and nothing can't get the right shop email to be shown on contact page.
You can change this e-mail in BO Configure->Shop Parameters->Contact->Stores->Shop email. By the way, it is a field PS_SHOP_EMAIL in your configuration table in DB.
You can change your phone number by going to configuration of ps_contactinfo module.
When we google for some business, it is displaying the result with all page indexed and Map. What changes we need to do in our website to display in such way.
For example:
https://www.google.com.sg/search?q=emhealth
For site links that displaying below the home page, Google will detect it automatically. Just focus on your SEO and Google will change it by itself.
For a map, you need to register on Google Business: https://www.google.com/business/
Google will index when you completely finished. when you doing local listing or local directory submission than your site map show SERPs.
I have seen some sites where you search (in Google) for a particular item category and when you click the link found in Google it automatically goes to the site clicked with the search criteria filled in displaying the categorised products.
Hypothetical Example
Go into Google type in Sony TV , click to search.
Results are displayed.
Clicking one of the links takes me to a website which shows all the Sony TV models beginning with AA.
Looking at the search options on the page some fields have been automatically filled in (in other words if you did this search manually the site would prompt you to enter some search criteria) - Not sure if this is relevant but thought to mention.
How is this done? Do i need to setup something in our Google account to get the same results?
It's fairly simple. You pass parameters in your URLs that identify the product, and then you just read the URL parameters when pre-populating the search form on the page. When building your site / sitemap / internal & external links you use those page URLs and Google will naturally pick them up.
In your example, you search for Sony TV. One of the results may be
example.com/index.php?product=sony-tv
The website has the variable sony-tv, which it gets from the URL and pre-populates on the search form.
The important part to note is that the site will have built its URL structure in this method typically and the page you're presented with just happens to look like the site dynamically searched based on your query (it hasn't).
I am developing an e-commerce application using broad-leaf commerce.
My requirement is I have to add an product from login panel and display that product to only logged in users. Here few product products will be visible to all users (guest too) and few will be visible to only logged in users.
is there any way to do this?
Thanx soulfly1983 fou your try,but I found another alternative to do this without any customization. here is the full procedure..
Add a new category from admin panel.
Add a new page from admin panel (under content tab) and note the URL should be the same of category and page.
3 In the page click on rule tab.
4 Check the yes button in "Restrict to certain customers?"
Click +rule button and the select "match all" and select customer registered is equal to false
So this page will be visible to only guest users.
In the HTML body section of the rule (in general tab) write a message "you need to log in to view this stuff"
When user will log in successfully the user will not be able to the page , because we applied a rule that only logged out users can see the page so this time user will see the category and products added to that category.
am I doing right? any regarding this suggestion?
You can either extend the Product entity and add a field that will indicate whether that product will be visible to all users, or alternatively you could simply add an attribute for each product via the admin interface. Either way you will need to modify the UI logic so that it will take this additional field (or attribute) into consideration.