This forum is for assistance with theme development.

Dblog reports error: "sidebar_first_width" is an invalid render array key?

My theme is working as expected but i still get errors showing up in dblog.

The message is:

User error: "sidebar_first_width" is an invalid render array key in Drupal\Core\Render\Element::children() (line 97 of /home/{user}/public_html/core/lib/Drupal/Core/Render/Element.php).

and

Any theme is not working correctly in drupal 7.50

I have fresh install of drupal 7.50.

I have installed zen, omega and adaptive themes. But neither of these themes are working correctly.

They are showing up in single column only. All the sidebars, headers, navigation, content, footer etc are showing in single column.

You can see the screenshot of the problem in the image link given below.

https://s31.postimg.org/jkj16aomj/omega.png

Kindly help me to solve this problem.

Help on Preprocessing views field

Hi, I am preprocessing my view field (event calendar view), where I have the followings:

(1) view name= calendar,
(2) Current_display = block_2, and
(3) I have 'event_calendar_date' (event date) field that I would like to preprocess.

I have the following code:

[SOLVED] D8 - Listing view and full content view

Hi every one, there is something i don't get in drupal theming i think, if i create a content type lets say Bikes, i add 20 bikes, i create a view Bike-listing that list the 20 bikes, when i click on one of the bike (thru the content link i added in my view) it send me to the full content page of this bike but is there a way to also attach a custom view to this page ?

Thanks in advance.

Displaying data from custom tables in a theme

My application has a use case where I need to query a custom table and return the results of that query to the user on a web page. Now, I'm new to Drupal theme development, and I'm having a hard time trying to figure out how I could go about doing this in my template files.

Any leads would be highly appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Theme development