Regional Investment Corporation — GovCMS

Screenshot of the Regional Investment Corporation's homepage. The homepage shows a lot of photos of people on the land...with crops and with farm animals.

Australia’s Regional Investment Corporation (RIC) contracted Salsa Digital to support its GovCMS SaaS website. After initially winning the application support contract, we then won the contract to re-develop the homepage and partially rebuild the RIC website.

Sectors: 
Government

Private files get Access Denied for any non-admin role but only on server

Very odd problem. I have a bundle where a user uploads a file to a private file field. When viewing the bundle; they see the file listed and can see it is linked to the file; but when clicking the file, they get Access Denied. This is on a CentOS 7 server.

The part which makes this odd is that the site is version controlled and the same code is running on my local Windows development machine. I just grabbed a copy of the server db and installed on my local. So, technically, the sites should be identical. On my local, the user is able to view the private file.

Drupal 8 long Iframe needed Iframe module not sufficient

Hi on drupal 7 I had the possibility to put an Long IFrame tekst in the body when plain text was selected.

In drupal 8 it seems this is not working I tried several other options:
1 the Iframe module, not working because the IFrame i Need has more fields
2 Url_embed, not working because the field where you can put the Iframe tekst is too short.

How do I get this working ? another module ??

Here the IFrame I need:

How to update commerce order total progrmatically?

I have below code

use Drupal\commerce_order\Entity\Order;

$order = Order::load(<order id>);
if ($total_price = $order->getTotalPrice()) {
  $total_price->subtract(new Price('-5.00', 'USD'));
}

$order_refresh_service = \Drupal::service('commerce_order.order_refresh');
$order_refresh_service->refresh($order);
$order->recalculateTotalPrice();
$order->save();

How to update order total price?

How do i change a project status from usupported to supported?

I recently created a drupal module project and messed up the tags and branches on my first attempt to upload. I flagged the first release I had created as unsupported in order to hide it. I then created a new release (new branch, new tag and version number upgraded) that I want to show as supported. However when I install it  and check for udpates it shows as unsupported.

Link to image

How to add a contact form link to node and view

Hello, 

I created a node type Properties. Done

I added a few nodes. Done

I created a view to display the nodes. Done

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x