I have an event content type. Within the event content type I have the date field. Right now it just shows the date which is fine but once the date passes I want to dynamically show a phrase like "This date has passed".
I've searched all over for the answer to no avail. I've tried many scripts but none have worked. I've made a custom node (node--events.tpl.php) and tried to add both php and javascripts into it. The result is either it will always say "This date has passed" or it never will. Below is an example of a script I've used. Please help me.
Hello, I have set a mobile phone field which needs to be completed before posting the node. I would like to ask for that field only to anonymous users or registered users who have not filled that field yet. Is there any what to do this?
I realise this isn't strictly about module development, but it doesn't really fit the other categories as I figured it was quite technical.
At present I am using SOLR with search API and facets to create some search based views. However, I'm wondering if it is a good idea to use the SOLR indexes for all my related views.
It seems faster and it would take some of the strain of the database.
Hello
I have a new client who has a Drupal 7 site.
The site must be updated.
Unfortunately I can not rebuild what it was.
What appears in / admin / reports / status is
Database updates Not updated
There are updates available for some modules related to the database schema. You should run the database update script immediately.
I tried to run /update.php but I have a series of errors