I'm working on a client's Drupal site and I'll be downloading it to my computer to debug it. I'll be importing a copy of the database with their data, and am wondering if I should do something with this. On the one hand, I could just delete all the info in the tables, but it may take quite a bit of time to add some dummy data, especially in the case of foreign keys, etc.
Is it standard practice to keep the client's data on my computer to use for debugging or is there some other process for this?
I discover Drupal from 1 year now (with the 8), and it's rock, but i need some arguments to use it in some projects.
First for the small one.
One year ago i start using it for small website, most of them was some restaurants. There is only 4 or 5pages for each of them, but i founded the content system with the views system perfect for manage the content of there menu card, and easy to deploy using the multisite way.
I'm writing some custom code and I need to translate the selected option from a webform submission on a select component to the nice value.
For example my select options are something like:
test|This is a test
demo|This is a demo
real|This is real
When I look at the webform submission the value for the component is understandably "demo" not "This is a demo". Is there any functions I can use to do this translation or do I need to do my own processing of the webform component options.
We normally create an attractive/meaningful URL for new pages on this particular site. It is a site where there are postings each year of recommended books on a Mystery list serve. To make it easy for people on the list to find the new posting a meaningful tinyurl is created and included on posts on the listserve.
I have given a user permission to edit their own posts. However when the user does edit their post, this overwrites the original post.
Is there a way I as an admin can see the original edited comment(s) and even have it so at the bottom of that post it displays; edited by (?) (so other members know that this has been edited.