View my custom entity as a normal page in drupal 8 - drupal-8

I created a custom entity with the drupal 8 console. Everything works fine. However, when I am logged in as an administrator, my entity appears in an admin page instead of a normal page like for nodes.
In this case, the title and the edit links (tabs) are displayed in the gray bar of the administration.
How to make my entity appear as a node without the gray bar of aministration?
Thanks for your help.

You have to give the permission from admin to view to entity to anonymous user then you can view without login.

Related

MS Access Web App: Link existing view to table

I have created a new view ("form") in my Access Web App using the menu buttons to create a new view. The view is bound to a table in my database. Running Access on my computer, I can select the view from the navigation panel on the left.
Now I would like to have a link to my view appear at the top of the page in the Web App. Much like the default List and Datasheet view that are created automatically for every new table.
How can I create a link to my view, so that I can select it when running my Web App in the browser?
(And in general: where's a good place to find documentation and help regarding Access Web Apps. I'm having a hard time finding anything online)
thanks for your help.
What entry point did you use to create this new view in your Access web app? If you used the Advanced button on the ribbon, that creates what we call a standalone view in your web app - a view that exists in the Navigation Pane in Access client. You can only open these types of views using macros.
In order to "associate" an existing standalone view to the View Selector at the top of the navigation, right-click the view name in the Navigation Pane and select Duplicate. a dialog box will appear that allows you to create an identical copy of the view and "associate" it with a particular table. It will then appear as a link in the View Selector. You can then delete the original view if you want.

How to install custom tabs for facebook pages?

I have created some custom tabs for facebook pages, like when the user clicks on the add custom tabs, im fetching the user pages but how can i make them to install the custom tab to the particular page on which he clicks.
li.innerHTML = "Name: <a href='http://facebook.com/"+page.id+"'>"+page.name+"</a>";
From the above code, i could get only the list of user pages, among them when the user clicks on a particular page (i.e.,page1), it should direct them to their page1 profile by adding the custom tab. How can i make them to install the custom tabs?
If you have the manage_pages permission from the user, you can add your app to their page via the API - see here:
https://developers.facebook.com/docs/reference/api/page/#tabs
There's no other way to automate it, and using static links are you're suggesting above is prone to break if the Facebook web interface ever changes.

How to access admin page - website like button

I am in the process of adding Like buttons to all of the product pages on a website. I am using all of the proper open graph tags and an app_id and everything seems to be working fine. I will be using a version of the button that does not give you the Admin or Insights links to choose from. I am wondering if there is an easy way to access those pages without the links?
Even though I am listed as an admin of the App, I am not automatically listed as an admin of each of the product pages as they are created. The only way I have been able to do it is to:
Add the default Like button code to another area of the page.
Click on the admin link then add myself as a page admin.
Delete the extra button on the page.
Access the admin area by going to facebook/pages.
This will be a pain as I add in hundreds of products! Any advice would be appreciated.
I'm facing the same issue. Sadly your way of being admin of a page via an extra button didn't work for me.
I've found this related bug in facebook developers website : http://developers.facebook.com/bugs/160664854023586?browse=search_4e946433c82379f78564182

Excluding list items created by certain users from a list's view

I have a custom list created in Sharepoint 2007 and displayed by a content query web part.
I would like to
Show all items to general admin users except those items created by two users.
The two admin users need to see all items in the list.
The first requirement is easily done by adding a filter to the view on the created by field.
The second one is where I need help, is there a way to set the view of a list based on the user logged in to acheive the second requirement?
Or is this achievable another way?
Many Thanks,
Nav
If user has SPBasePermissions.ManageLists permissions, he will have permissions to view all items in the list.
If its not about permissions, but just which view which user sees by default, then it will involve some sort of coding :
Either you create webpart which will switch to desired view for desired user. (Involves coding, building, deploying)
Use content editor web part to switch with javascript - not that nice solution. (Because page would reload when you open it).
In the end I created two pages one called restricted and the other for all users configured the views on each page for each group of users. Then I restricted access to the 'restricted' page to the relevant users.
I used audiencing to display a link to the 'restricted' page to selected users

choosing right project template

i've a proect opening with user authentication page (asking username and password). There are some extra buttons here which the app navigate to a single page when the user clicks (up to that point there is no need for table view but from those sub screens app can navigte back to that main page). In addition, if user is authenticated then the app will navigate to a page which lists some items on it (table view) and then navigate to some detail views back and forward. And i also want my app to have core data support.
Navigation based or window-based are two major possibilities, aren't they?
thanks
It sounds like you are building a navigation based app. If you look at your app without the login page, it sounds like a textbook navigation based app. Generally a login page will be handled by just using presentModalViewController on top of your existing navigation controller.