Drupal 7 create blank page - drupal

How to create blank page with Views || Panel || Display Suite modules?
Or
How to create blank page with theme-hook, like page--contentType.tpl.php
without fields?
Blank page for landing page or custom layout different with page.tpl.php regions?
I used Empty page module, but not worked for me!
How to create it?
I want to create image gallery page.
It's type of page from views module. views-view--gallery--page.tpl.php.
I need two different layout for page in page.tpl.php

Create a view gallery, then create a page with pane, assign that view to the content pane. Then, create a custom template with the path of the created page. Copy the code from the page.tpl.php and paste it in your custom template.
page--path.tpl.php

Related

Wordpress custom template on every new page (Elementor)

I have wordpress and am using Elementor editor. I have added a page that is meant to be a template for each new pages. I added a block with breadcrumbs to this page. I want this page with breadcrumbs on evey new page that i create. Copying this page all the time creates problems, e.g. if I wanted to change something in this block so I must do this on every subpage. I do not know how to do it - all i want its one static page with that breadcrumbs that includes to every new page i create, and when im change something in this page, changes will appear on every page.
Help :( Photo below
https://i.stack.imgur.com/G1EyI.png
Use the "Template" block in Elementor
That is achievable with Elementor Pro using theme builder option.
Create that template as a single page template and then in display options choose to display it on all pages.
Creating a Single Page Template with Elementor Pro
Then you should use standard page editor or custom fields to put content that is then going to be rendered by the template.
Doing that will let you make changes on all pages at once by editing the template.

Adding CSS Class/ID to display a section in one page at a different page (Elementor / Wordpress)

im using elementor to create my website .
I have a section (Size Guide) on a single page which I would like to display at each single product page. How do i go by doing it ?
size guide
page to add the size guide
First, you create one template of the section which you want to display on each single product page.
Then go to a particular page where you want to display the section. and click on add template
then click on my template and select the section which you want to add and insert it
Have you considered
creating your size guide via templates > new > template type: section
then from templates > saved templates, copy the shortcode for your size guide
navigate to your accordion and paste in your shortcode
Everything should be good when you then preview the page

Custom Page Templates in WordPress to show Content in specific layout

I want to create a custom page template in WordPress which shows Image Slideshow and then a video below it and finally some text - till now what I am able to do is play with sidebar, footer, header.
I can either remove them or keep them in my custom page templates but what I want to do is play with the page contents.
The Admin user should be able to see these sections in the Page Editor (WYSIWYG) when they choose the Template from the drop-down, so that they can accordingly add the correct content in correct place holders
Something like the attached screen-shot is showing
Is this possible in WordPress
Yes! It's possible to implement this! you can use https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 or https://wordpress.org/plugins/siteorigin-panels/ plugin.
The first plugin allows you to create different page layout and save it. It also allows admin to choose page layout that admin has saved previously.
The second page builder plugin allows you to create template same way and allows admin to clone one page layout to another one.
Hope this will help you!

creating a page with more views and blocks in drupal

How to create a page containing more than one view and blocks without using page manager. If it is a home page, we can easily create by saying promote to front page.
If it is an inner page, how to map that page with more views and blocks.
Without using page manager,is it possible?
If it so,kindly share your thoughts.
You create a file with the node-page-id, for example node--1.tpl.php, where you make changes only for this specific page, and then you add your views and blocks using code,
print render($block['content']);
or
print views_embed_view('');

Custom Webform Page Layout in Drupal 6

I recently finished building an intranet site with Drupal 6 (client mandated the older version) using the Zen theme. The site contains several (20+) survey pages made with Webform.
Client wants to change the layout of the webform pages to have a full width content area and no sidebar. I found that I can make a custom template page named "page-node-53.tpl.php" and that will work on ONLY node/53. This would be fine if I only had one Webform page.
Is it possible to make a custom layout page and somehow assign it to only the webform nodes? This can easily be done in Wordpress... just wondering if there's an easy way to do it in Drupal? Thanks!
I figured it out...
First, I changed the name of the custom template file to "page-webform.tpl.php".
Next, I added the following code to the top of page.tpl.php before the DOCTYPE declaration:
<?php if ($node->type == 'webform') {include 'page-webform.tpl.php'; return; } ?>
It appears to have worked! Every page is unchanged except the pages that feature a Webform.

Resources