7

Drupal reminder page without left menu

 3 years ago
source link: https://www.codesd.com/item/drupal-reminder-page-without-left-menu.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Drupal reminder page without left menu

advertisements

Im trying to make a drupal commerce module, and need to make a couple of callback pages, that will be echoed from our paymentprovider.

These pages are no problem to make, and they work just fine .. except .. i wish to hide the left side menu block (including shoppingcart and what else might show up there).. So basicly a blank, but themed page only showing the payment info. (like on the review page).

How do i do this, if possible.


Create from your page.tpl.php (it's located in your theme folder) next file: page--ECHOEDPAGENAME.tpl.php and remove from inside this file regions printing:
For drupal 6 it looks like: <?php print $sidebar_first; ?>
For drupal 7 it looks like: <?php print render($page['sidebar_first']); ?>
Of course, you also should remove surrounding div that draw sidebars and other regions (footer, right sidebar etc, if required).

Related Articles

Drupal PHP pages without having a DB query?

I'm working on a site where there will be several admin pages that have intense logic in them. Let's take an example. I want a page that lists certain nodes and allows you to add or remove them, or do other actions on them. Now, I can create a normal

In CodedUI, how do you click on menu items on any page without capturing Menu UIMap in each page?

We have 5 pages in our website with below fixed menu. HOME | MENU1 | MENU2 | SUBMENU1.1 | SUBMENU2.1 | SUBMENU2.2 I have captured UIMap of Homepage and am able to navigate to any of the page from Homepage. But how do i click on menu Items when I am n

Create a page without the Drupal 7 menu item

Is there any way in Drupal 7 to creat simple page without any menu item from a custom module? I want to create a thank-you page without any menu link. Thanks AdamHow much have you used drupal. For example do you know what templates are for? If yes, g

click on a menu item content to be displayed in the right div side in the same page without refresh?

I am having a php template where i have a leftmenu as accordin jquery menu. In this menu i had menu items .When i click the menu item, page related to this menu item to be loaded into the div in the right side of the page without refresh.I am giving

Drupal template, make sure the page is a menu item

Helló! I want to examine that the actual page is in the menu. I want to do with drupal template (page.tpl.php). For example: if ($page_is_a_menuitem): echo "This page is in the menu"; else: echo "This page not in the menu"; endif; Beca

Joomla creates html page without menu

I have a normal article page with a huge image shown as a small one. What i want to do is, when the user click on the image, a new page is rendered and the image is shown at full size of the page (no menus, header, footer, etc.. just page). If the us

jquery mobile left menu

Throughout the jQuery Mobile docs, they use a left-side menu for navigation that changes to a more mobile friendly version when the browser width is smaller. You can see an example on this page. They use this layout throughout the docs, and I can see

Do a DIV fill the rest of the page without JavaScript and an absolute positioning?

Is it possible to get this DIV to fill the remainder of the page without JavaScript and absolute positioning? <html> <head> <title>Hello World</title> <style> body { margin: 0; } #title_image { float: left; margin: 1em; } #ti

Image with parallax effect on full-screen page without scroll bar

My landing page needs to be 100vh / 100vw with no scrolling. The background is an image with a parallax effect so when the mouse moves the image moves. I'm struggling to work out how to make it work. For the parallax image, I currently have: min-heig

Sets the left menu with scrollable content and anchor

As you can see from the fiddle this is a simple page with the menu on the left that is fixed and with a scrollable content. I want menu to be on the same level as the content, but there is a blank space on the top I don't know how to remove it. So wh

how to reload the page without updating with jquery or javascript

Is it possible to get page without refresh i am using menu tab but its loading every time when i click on link but i have a parameter i need to pass too when reloading page how can i do is it possible in jquery or javascript if so how? echo '<h2 clas

Show search results on the same page without refreshing the page

While browsing a website i found an interesting feature that i like to have in my application.It is like displaying search result on same page without refreshing the page. When someone fills the last field of the form it shows the search result on th

The zend framework project presents a blank page without any error

i created a simple project with zf and it works fine, but when i copy it to other pc it just show a blank page without any page or errors ? my zf version is 1.9 and in other pc zf version 1.9 too what do you do about this problem?Do you have error re

Refresh the page without losing the value of the message

How do I maintain the $post value when a page is refreshed; In other words how do I refresh the page without losing the Post valueThis in not possible without a page submit in the first place! Unless you somehow submitted the form fields back to the

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK