Sargs.lv - Military news platform

Screenshot of Sargs.lv

We transformed the print magazine Tēvijas Sargs and Sargs.lv, the official information site of the Latvian Ministry of Defence, into a news service with engaging content, better UX and impeccable security. This transformation resulted in a colossal growth in site traffic, expanding the site’s reach from a narrow military audience to everyday citizens interested in national defence in Latvia.

Sectors: 
Government

How to get EVA attached View result (rows) in twig?

Hi,

In my tempate I can get rendered View with

{{ elements.my_view_machine_name_with_some_other_postfix }}

Which basically renders result rows.

If I kint/dump this object - I see there is a ['#view'] so called "executable". But I basically can't find result rows there.

How can I access each View row from this object?

CGI perl script

After upgrading from Drupal 7 to Drupal 8.8.7 on Red Hat Linux, scripts in cgi-bin folder no longer work. 

Apache error_log shows the following message.

AH01215: Can't locate CGI.pm in @INC (@INC contains: /usr/lib64/perl5/vendor_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5

Thank you in advance for your help.

Proper preparations for NGO website

Not only am I new to Drupal but I am brand new to making websites or any coding. The NGO I volunteer for was desperate and got me, so I appreciate your patience.  We are about 80% sure we want to use Drupal 9/8 but want to make sure we can do it.

Aside from my lack of expertise, our main limitation is money and hardware.  I only have two 2GHz 4GB RAM laptops with one standard ethernet connection.  I have read what seemed to be the most similar posts but still am not clear on a few things.  My specific questions:

SSL cert error when using Composer to install modules on D9

Hello.  I have a new install of D9, installed via Composer.  I tried to install modules via Composer, but got an error message, looks like its related to SSL certs.  I did also try to install via the browser/Extend/Install and got a CURL 77 error.  But I would specifically like help about getting Composer to install modules.

Composer Log:

Twig: How to use reference content for multiple entries

Trying to build a related articles control that allows the user to pick related content (page type = article) up to 3.    I'm trying to prevent reentry of content to display title, teaser, and page image.   I assume I'm using a Reference Content field that allows multiple values.     Does anyone have a good example of how to put that in my twig template?   Not sure of the syntax.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x