Remove hreflang from view title field link - Urgent

There is a views in my project which simple bring the list of node type (news). Now we have one problem as per this view rendering each row link with like this

<a href="#" hreflang="de">TITLE OF NODE 02</a>

<a href="#" hreflang="de">TITLE OF NODE 01</a>

<a href="#" hreflang="de">TITLE OF NODE 03</a>

in this anchor tag hreflang="de" tag is appearing which we need to remove. can some one tell me how can i remove that attribute please

Dynamic token-based links - how to achieve the same with a preprocess function?

I am currently using Display Suite to generate token-based dynamic links (token field) such as:

<a href="/node/add/review?edit[field_referenced_venue][widget][0][target_id]=[node:nid]"><?php print t('Write a Review'); ?></a>

this works with the Prepopulate module that fills in the appropriate Nid in the field "referenced_venue" on the form for adding a review, where that field is an entity reference field.

as you can see, I have to enable the PHP filter module to make the link translatable.

Composer and custom themes / modules - how to install and update

I have installed Drupal 8 using composer, all is clear regarding core and modules from the official repository, but I have questions regarding custom themes and modules:

  • how to install them so they don't interfere with composer and vice-versa?
  • how to update them in a way that doesn't interfere with composer?

is it good to create modules/custom  AND themes/custom directories and then to drop the files in there and install/activate via Drupal admin web interface?

How to create a block in php to send email

Hello, 

I am troubleshooting email issue. My site is not sending email. I would like to create a php block (structure > blocks > add block ) using the following code but there is no php filter. I also did not find php text filter under config page. 

County of Marin Health and Human Services

Early in 2020, as COVID-19 began to seize headlines, counties throughout California were on the front lines as “hotspots,” and citizens of Marin County were paying close attention.

Sectors: 
Government

Social Login

Hello,

Im looking for someone to install & configure social login with FB and Google in 2 sites running D7 and D8.

If interested drop my a message with your experience and cost of the service.

Regards, 

Francesco.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x