This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Hiding a site page from solr search results

Trying to find a simple way to add via hook possibly within mymodulename_search_api_solr_search_results_alter to hide a specific site page from internal search results. I'm finding suggestions for modules but is there a simpler way to hide a page?

Save a blob file in database.

How to save a text file in database by taking input through form?

Using taxonomy exposed view filters ends in MySQL can only use 61 tables in a join

Scenario

Site building:

  • Taxonomy: Vocabulary 'Countries' (around 300 terms, one for each country).
  • Content type Office: with a taxonomy reference field to Countries, so you can tag an office with a country.
  • View: showing Offices with an exposed filter on Countries taxonomy.

Front:

  • In the view's page, you filter by 100 countries to get the Offices in that countries.

Result:

Programmatically write contents in a file and download the file as pdf.

Hi,

I have to merge contents from few nodes and write them in a file. I have to then download the file as pdf. Everything needs to be done programmatically. 

I have searched for examples to help me with it, but have not found any helpful ones.

Could you please let me know how to write the contents in a file and then let a user to download the file as pdf?

Thanks,

Programmatically write contents in a file and download the file as pdf.

Hi,

I have to merge contents from few nodes and write them in a file. I have to then download the file as pdf. Everything needs to be done programmatically. 

I have searched for examples to help me with it, but have not found any helpful ones.

Could you please let me know how to write the contents in a file and then let a user to download the file as pdf?

Thanks,

Migrate MD5 password to drupal hashed password using custom migration module

I have a website in core php with 'users' table that contains simple md5 encrypted password. I want to migrate those password and convert them into drupal hash password.
For e.g. md5 pass: 89fc9bf09b4025ce28c67cb33146d61a
and after migration password will be stored like this: $S$EIMxgxYxwUxrj.uWOr9c4WSQiCvOzASdJUBhVfg8Fsa8zHitUUtq

I tried below code in .yml but thats not convert the encrypted password to drupal hash

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions