Can we add two more regions in the content section?

Comments

selladurai created an issue. See original summary.

Madhu_M E’s picture

StatusFileSize
new35.28 KB

step1:Edit the theme.info file
step2:Edit the page.tpl.php file (sites/all/themes/theme_name/page.tpl.php)
step3:Place the following div with id content-bottom which contains the 2 new regions , Content1,content2 just under the end of div with id sidebar.
apply below code in page.tpl.php

{% if content %}

{% if content.top %}
{{ content.top }}

{% endif %}

Clear all cached data
{% if content.block1 %}

{{ content.block1 }}

{% endif %}

{% if content.block2 %}

{{ content.block2 }}

{% endif %}

{% endif %}

step4: Clear all cache

lauriii’s picture

Status: Active » Postponed (maintainer needs more info)

What is this needed for? FYI, Claro is not designed out of the box to be extended by subthemes. Maybe this is something your subtheme could support?

Madhu_M E’s picture

Status: Postponed (maintainer needs more info) » Fixed
Sella Durai’s picture

Sella Durai’s picture

gisle’s picture

Status: Fixed » Postponed (maintainer needs more info)

Madhu_M E and selladurai,
thank you for engaging in the issue queues.

However, neither of you have so far not committed anything to this theme - https://www.drupal.org/node/3020054/committers , so nothing is comitted or "Fixed" here (for the record: it is one of the projects maintainers that decide whether to accept your contribution or not - this is nothing you will be able to do unless you are accepted as a co-maintainer).

One of maintainers (lauriii) as asked you to provide more information. You're supposed to answer.

And unless you are a maintainer, you should never ever set the status of an issue "Fixed" if you are not the maintainer. I've pushed it back to the status set by the maintainer: "Postponed (maintainer needs more info)",

If you've realized that you made an mistake by opening up this issue, chose the alternative "Closed (works as designed)".

At this point, I think it might be productive if both of you read this guide: Issue Queue Etiquette.

avpaderno’s picture

Issue summary: View changes
Issue tags: -#region
huzooka’s picture

Project: Claro » Drupal core
Version: 8.x-1.x-dev » 8.9.x-dev
Component: Code » Claro theme
lauriii’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Since the original reporter hasn't replied to the questions asked in #3, I'm closing this one for now.