[support] include external php
Philippe Jadin
philippe.jadin at gmail.com
Sun Jan 20 14:00:30 UTC 2008
What do you want to achieve? Do you want to keep drupal node
stylesheet or your external stylesheet in the php file?
In both cases, you can create a node with some php in the body and use
a filter that allows php code.
Put something like this in the body of the node :
<?php include('/path/to/your/file.php'); ?>
- If you dont want to include the css from the external php document,
you'll probably have to remove it from the php file.
- if you don't want the drupal css, you can create a custom template
for this particular node in your theme. You can theme specific nodes
(either for a node type or for a specific node id) - look at the
theming help on drupal.org handbooks. You can also put some
conditional in your theme to disable css for a particular node id
If you give more details, you might have a more precise answer
hth
Philippe
On Jan 20, 2008 1:33 PM, Lucas J. González <lucas at lucasj.es> wrote:
> Hi,
>
> Is there any way of including an external (actually in drupal's root)
> into a drupal's node of type page without overriding css stylesheets
> of the original document?
>
> Thank You
>
> --
> Lucas J. González
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
More information about the support
mailing list