Show / Hide login menu item not connected to node
I have a login menu item that links to the login page of my website. I want to have the menu item disappearing when someone is logged in and an a sign out button appearing in its place. Since the menu item is not connected to a node, i cannot alter it's visibility based on node access rights. I found Menu Item Visibility module but it is beta and i...
SVG icons do not show up when remotely connected
I have installed Drupal 8 in my linux machine for testing. Everything seems fine initially when I'm accessing D8 from my local machine. However when I tried to access it via another machine on the same network, the svg icons do not show up. After further investigation using firefox element inspect, I realized some of the request urls are from 192.1...
how theme/template connected/related to each other
for example, I have: and inside my field formatter: with function: as simple as: with that, seems like i can't see my template, which i don't have any idea why? how is theme or template name relate with the filename (or ID or anything)? - how are they connected each other? what is the rule for that? Thank you, AnD
How can I get a list of all connected/logged in users?
I would like to make a list of all logged in users accessible through the backend. The routes are created. It is only the request to retrieve the users that I would need. Is this data in the 'sessions' table? Thank you in advance for your help
On INSERT to a table INSERT data in connected tables
I have two tables that have a column named id_user in common. These two tables are created in my Drupal webpage at some point (that I don't know because I didn't created the Netbeans project). I checked on the internet and found that probably by adding REFERENCES 1sttable (id_user) to the second table, it should copy the value of the 1sttable (that...