Insert View Or Node Into Page.tpl.php

I know it's possible to insert a single node which displays within the theme with some php code. I'm not sure if it's possible to insert a view however.

Can anyone post the code required to display a single node or a view via page.tpl.php?

Thanks

Why do collapsible menus not work on "Add Page" form?

On one installation of drupal, The 'Add Page' form as just one example works properly. On another it does not and the collapsible menu fails to work. Both installations use version 4.7.6. (Intneded to use 4.7.7 for teh later version, but changed back to 4.7.6 when I encountered the same problem. Now the problem still seems ot manifest itself in version 4.7.6)

Wish to embed Youtube in Filterd-HTML nodes

Anybody know which tags I need to add to the "Allowed HTML tags" to make this happen? I tried myself but got nowhere.

Here's a random YouTube video just incase your too lazy to go look it up to see which tags are required;

No Documentation for Simplenews

What is the location for the documentation for Simplenews? I am trying to use this module, and has no documentation published here or elsewhere.
It is already installed and functional, but no user documentation is forthcoming.
Links or locations much appreciated.

Landscaping Ideas

Hi!

The site on landscaping ideas http://www.e-landscaping-ideas.com/ uses Drupal 4.7.0 as a blog platform for their gardening tips blog here: http://e-landscaping-ideas.com/gardening-tips/

nice look and feel as there's the same logo is used in blog just like on the main static site.

Mike

is this a script injection and what do I do about it?

OK.

My site is on 4.7.0. LAMP. (love how that covers everything). Shared hosting. Just started using the Bluebreeze theme.

Yesterday afternoon, the admin on my site emailed me and said, she couldn't access the site, she was getting this error:

Parse error: parse error, unexpected '<' in /animecards.org/index.php on line 36

And naturally, I thought, what the hell, it was working this morning, random brackets do NOT usually suddenly appear.

But googling this error didn't bring up anything relevant, so I actually LOOKED in the index.php file to find:
<script>eval(unescape("%77%69%6e%64%6f%77%2e%73%7BUNCHMOREGIBBERISH")); </script>

Yeaaaaaaaaaaaah, not very drupally. In my head, scary words like "Script injection" popped in...

I deleted it, restored the original file. But now what? Am I done?

My users are now reporting log in problems (white pages, login doesn't take). But the site just came off a long maintenance break where I changed the theme and disabled the loggintobaggin module. I don't know what to blame. What should I check? For now I put the site in maintenance mode. I want to make sure it's safe for users to login before opening it back up.

Things I did try:

  • Downloading all the drupal files and searching for similar script injections, no real luck(?).
  • I optimized my mysql database.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x