Have Views block work with Taxonomy in a custom template

I have this working in the preview for Views, but I'm trying to put the code into a template.

I have a taxonomy called "Section" and I've tried the following

$viewName = 'test slides';
print views_embed_view($viewName, 'News');

and it will not work, even though when I put News in the preview to test it, it works. But even if this did work, how would I write the code for it to pull the taxonomy dynamically (without the , 'News')?

download a selection of PDF files

Hi,
I am new to Drupal - I am not a developer, but relied on a developer to maintain my non-drupal site. Looking at Drupal, I find I can do quite a few things without the help of a developer. But I am stuck on this. In my original site (HTML and VBScript) my developer had developed a page where I would be able to place any number of PDF files (suffix by _File2011), and his routine below would strip off the _File2011 suffix, count the number of files in the directory, create a nice grid, and make that available for my users to download. Nice and simple - no programming to do for me, just upload the files to that I want my users to download. I would have upto about a 100 PDF files.

How do I ahcieve the same thing in Drupal 7? This is almost the last thing remaining, before I can completely move my site over to Drupal. Below is the piece of code I have extracted:-

<%


Download Page (2011)



Pick a file from the table below, click to view and save the file on your local PC.


upgrading 6 to 7.4 : upgrade.php blank page and error 'undefined property stdClass::$timestamp'

Hello,

as I upgrade 6 to 7.4 running upgrade.php end in blank page.
Looking in log file I found following error (in /var/log/message under Linux):

completely new to web programing or any programing really.

So a friend and my self want to start a website that will ultimately include a forum, a wiki, news articles, links, archived info, and a blog.

Comparing Nodes

Hey,

I have started using Drupal 7 today and so far like it very much. I am almost finished converting my html pages to Drupal pages, acctually its only 1 page left. I have a page that is supposed to compare products .. more specifically compare the fields of the content type the products are from (they are all the same content type), however, I don't know how to do this. Can you help me ?

Thanks in advance,

Germinator

Solution for splitting body field by paragraph to insert view

Hi, i have been trying to figure this out with no luck. Basically I would like to insert a view list after the third paragraph in the body field of any given node.
Like this:

text
text
text
--MY VIEW--
text
text

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x