AJAX button - HTML in #value causes problems

Hello,

i have an Ajax button, the code looks like this:

Send private mail to other user from his own content (not user) page

I'm finishing a vintage car site, where each user has their own content pages.
I would like to allow a user(s) (after logged in and when navigating content pages of other users) to send an "private email" to the user who owns the page he likes.
But without going to the user's page, directly from the page he is visiting (maybe in a block)
Is all this possible?
I had tried an old module (I don't remember name) but I was forced to go to the user's page to be able to write him.

Many thanks for any suggestion

Change Image style based one field selection

Not sure the best way to do this.  But is it possible to change an image to display with a different image style depending on a specific field value on that node? for eaxmple if there is an image style to provide an overlay saying "out of stock", is it possible to change the output on a view or the node itself if a field is saying it is out of stock.  I hope that makes sense.  Any help appreciated.

Some data are not present in Solr Server

Hello everyone,

I have a problem in my SolrServer. Some of the data within a time-range doesn't show up when I search in SolrSever. I tried to query a seach where: *:* , and sorted it descending to show all the data in my interface. I found out that data inserted during October 2018 - November 2018 are missing. But in mysql database, those data are inserted during that month and year.

Is it possible that I should fetch those data and put it in my drupal site so I can re-index it into my SolrServer? If yes, how?

D7: White Screen of Death (WSOD) -- Ideas?

I started getting a white screen of death and for the life of me, I have no clue what is causing it and am not having much success debugging it.

What I have tried:

Is this a views problem? Image not updating when colour choice made

I am not sure if this is a views problem, but it seems to have started around the time I installed the latest version, downgrading did not solve this problem btw. But on our website when you view a product page and chose a different colour option of the product, the images should change to the correct colour. On your first try it stays as is though and therefore shows the wrong images for the chosen colour. Should you change the colour to a different option again, the images do change. Could anyone give a possible solution for this please?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x