View in admin panel

Hi folk!

How to correctly add a placeholder to a query?

Hello friends,

I have a search query that uses a URL param.

I would like to insert this param into the query via place holder as this would be far more secure.

The way I am trying to do it is via the following:

$query->condition('a.dbl_title', '%' . ":search_term" . '%', 'LIKE', [':search_term' => $search_term]);

But this is not working and it looks like ':search_term' is just blank.

How would I go about correctly assigning ':search_term' to my variable $search_term??

Show sidebar only when clicking children link of my parent menu link.

Hello guys,

I am trying to create function in Drupal 8 .theme file that it will show me the sidebar only when clicking on the children links of my parent menu link. I will access those links through a main navigation on the top of my theme. Right now my sidebar always shows when click on the parent menu link and I am trying to make it show only when accessing its children. Can somebody put on the right direction? Thanks in advance.

Is Drupal filtering out my embed code?

FYI: I'm currently trying to learn more about Drupal, and hopefully fix issues left for us to deal with by an abandoned developer.

I have a content type for Frequently Asked Questions that I'm having trouble displaying properly in a block view.

The fields are:

Title: Question goes here
Body: Answer goes here
Department (taxonomy term: Used for filtering faq's in order to show only the faq's we want on a specific page
FAQ Order: Basically just a numerical value for giving a weight value to sort the faq's.

OpenCRM and Simple Accounting Initiative

Hi all,

Intro

A month ago I started to design a system on Drupal that will help with the automation of some business processes in terms of:

- creating invoices and sending invoices to Clients with system in-place to check if the e-mail was delivered and read

- accounting reports for income, expenses, amount for investments (% that can be set up in the CMS)

- drag & drop dashboard with reporting custom blocks

H2 and Paragraph fields

Hi,

I'm looking for a D8 module which allows me to add a content field with:

  • a subtitle (h2 output)
  • a parapgraph (some text)

I should be able to add one or several (h2+text) into a content.

Of course and html editor allows this, but i'd like to have field in order to make some views with them.

Does a such module exist ?

Thanks for help.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x