This forum is for assistance with theme development.

access denied when trying to access admin area

not sure what happened, but when i try to access the admin area i am receiving access denied. it wont even bring me to the portal
i am on drupal 7.41
mcpur2.hitekdata.com

mcpur2.hitekdata.com/admin
gives me the access denied error.

i tried clearing sessions and cache data to no avail. can someone please help me!!

Entity reference values in twig template

How do you capture an entity reference field "ex: related book" and use its values (title, image, body) in a single node twig template?

View Ignoring CSS

I've got a view that I need to add some styles to in my main css file. But nothing takes. I've cleared cache, I've cleared varnish, I've double checked it's in the css. I've checked firebug to make sure nothing's overriding it. I've checked for ways to do it in the Views set up itself, but nothing helps.

What might be causing this? Is there some setting? Some reason that it would completely ignore css in a stylesheet that's working for every other thing on the site.

Drupal 7.41 + bootstrap + HTML 5 Picture tag is not working.

Hi all,

I am using Drupal 7.41 and bootstrap. I am using HTML 5 Picture tag to show two different images one for desktop resolution and one for mobile resolution. But it is not working? Any solution for this?

Thanks in advance.

Access sub data in views.

Hi all, (new to drupal so forgive me if this is a simple question)

I cannot find how to access specific fields inside an element.
EXAMPLE:

I made an template for a node field:

{% for item in items %}
{{ item.content }}
{% endfor %}

this works and prints out the needed html < a href="link" >title< /a >

But i want more, so i need more control:

I tried: {{ item.content.title }}, {{ item.content.getTitle }} {{ item.content.get('title') }} {{ item.content.get('title').value }}

html editor with tabs/spaces?

Not sure if this is the right place for this question, but is there a way/module to keep/add tabs and spaces to the html editor in TinyMCE wysiwyg? It can be so frustrating to have to sift through code that's had all the white spaces removed.

Pages

Subscribe with RSS Subscribe to RSS - Theme development