How can I get a complete webpage to render within Drupal?
How can I get a complete webpage to render within Drupal? This includes the <html, <head, <style, <javascript and <body tags. Thanks, John -- John J. Mitchell
either this would be a seperate page with just a call to another HTML/PHP page that would be handled seperatly. or if it needs to be integrated, you will need to convert your page into a page.tpl.php formatted-page, and have it be in your theme, and use the correct api related variables to access and lay the content out. normally one does NOT have a drupal page that renders <html <head w/i its content as the framework itself produces those top level tags -- leaving you / the content admin to focus on the page-by-page content. most likely you should focus on learning about custom theme development. check out the mustard seed media screen cast about converting html/css to a drupal template in 5 min. good luck, seb. John Mitchell wrote:
How can I get a complete webpage to render within Drupal?
This includes the <html, <head, <style, <javascript and <body tags.
Thanks,
John
iframe with all its accompanying risks Jim On Sat, Apr 24, 2010 at 12:52 PM, sebastian <inforazor@gmail.com> wrote:
either this would be a seperate page with just a call to another HTML/PHP page that would be handled seperatly.
or if it needs to be integrated, you will need to convert your page into a page.tpl.php formatted-page, and have it be in your theme, and use the correct api related variables to access and lay the content out.
normally one does NOT have a drupal page that renders <html <head w/i its content as the framework itself produces those top level tags -- leaving you / the content admin to focus on the page-by-page content.
most likely you should focus on learning about custom theme development.
check out the mustard seed media screen cast about converting html/css to a drupal template in 5 min.
good luck,
seb.
John Mitchell wrote:
How can I get a complete webpage to render within Drupal?
This includes the <html, <head, <style, <javascript and <body tags.
Thanks,
John
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Rev. Jim Tarvid, PCA Galax, Virginia http://ls.net http://drupal.ls.net http://crossleft.org
Am 24.04.10 17:39, schrieb John Mitchell:
How can I get a complete webpage to render within Drupal?
This includes the<html,<head,<style,<javascript and<body tags.
possibly the front-module can be tricked into this, as long as you keep it as only a single page. It allows to enter code for a whole page to be displayed. As far as I saw the generated path "front_page" can be (mis-)used freely, like "href="/front_page" Servus Franz -- http://amazonas.the-dot.de
Or if you're asking how do a programatically generate a page using drupal that isn't embeded in the drupal theme, simply have your funtion "print $output" rather than return $output. Dave -----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Franz Iberl Sent: Sunday, April 25, 2010 10:53 PM To: support@drupal.org Subject: Re: [support] How can I get a complete webpage to render withinDrupal? Am 24.04.10 17:39, schrieb John Mitchell:
How can I get a complete webpage to render within Drupal?
This includes the<html,<head,<style,<javascript and<body tags.
possibly the front-module can be tricked into this, as long as you keep it as only a single page. It allows to enter code for a whole page to be displayed. As far as I saw the generated path "front_page" can be (mis-)used freely, like "href="/front_page" Servus Franz -- http://amazonas.the-dot.de -- [ Drupal support list | http://lists.drupal.org/ ]
participants (5)
-
Franz Iberl -
Jim Tarvid -
John Mitchell -
Metzler, David -
sebastian