Drupal is up and running but how do I ...?

How do I turn this into PHP so that the "%useremail" string becomes the user's email

How do I turn a bunch of HTML email form post type stuff into PHP so that the "%useremail" string becomes the user's email?

I have a form for entering some information to send to some companies email addresses, but I can't figure out how to get it to insert the user's username or email with the %strings.

The html is at: "> this link
Yours,
Simon

Associate user profile with node

Can I associate my admin profile with a default page after login ? For instance I would see the graphical control panel and set this node as my default page. Impossible or too simple ?
Thanks

how to display a list of pages based on taxonomy data?

Hi,

I am a new drupal user and I am using drupal to create a prototype product support site. I am comfortable with html but my scripting and php skills are limited. I've searched the forums a bit for help with this but haven't found all the answers I need.

My idea is to have support and engineering create content pages and classify them using the following vocabularies: product, info (faq, bulletin, etc.), and download (patch, tool, etc.). Then customers can select and view relevant pages by using a form that selects desired terms from the vocabularies.

So far I have done the following:

- created vocabularies.

- Stole an PHP snippet to display pages based on particular taxo_ids. This works fine.

- created a form and a php action script to select a particular term and display the term. This works, but the term is displayed as a plain html page with no theme or template. Here's the form:

NOTE: In order to get my post submitted without getting a "suspicious data" error (wow ... annoying!), in my code examples I have replaced most open and close angle brackets with *...+. Sorry if this makes the code hard to read.


*html+*body+
<h4>Term select form test</h4>
*form action="files/termformtest.php" method="post"+
*select name="product"+
*option+term 1*/option+
*option+term 2*/option+
*/select+
*input type="submit" /+
*/form+
*/body+*/html+

Here's the script:


*html>*body>
*?php
$product = $_POST['product'];
echo "Product = " . $product .".*br />";
?> 
*/body>*/html>

- modified the script by pasting in the php snippet mentioned above. With some help, this would display the pages in the db associated with the selected term. Right now I get: query_db() undefined. Here's the new script:

*html+*body+
<?php
$product = $_POST['product'];
echo "Product = " . $product .".

Modifying taxonomy_context module

Of all the taxonomy helper modules, taxonomy_context gives the best option for a navigation menu for a vocabulary, IMHO.

However, it has the habit of displaying the nodes titles added to a term within the block. This becomes quickly messy. Any pointers about which part of the code I would need to remove or comment out to prevent this from happening?

I tried removing the following code (lines 232-300 of v 1.36.2.1 2005/06/16 02:48:42), but it didn't seem to help. I have just added the opening and closing php tags here to make it display nicely on this page.

Photo Gallery

Which module do I need in order to install a photo gallery? I have installed "album", "folksonomy" and "image" modules and it still doesn't work. *sigh*

I'm using 4.6.3

Bizarre URL issue

I am working on my site and I've discovered a very interesting issue that I'm not quite sure how to resolve. I have a number of categories that are accessible from the front page, and each category page has a number of subpages that are accessible from another nav bar. I can go to the first sub page without a problem, but when I click on another link, it repeats the category.

Example:

mysite.com => mysite.com/arts => mysite.com/arts/drama => mysite.com/arts/arts/dance => mysite.com/arts/arts/arts/singing etc.

Pages

Subscribe with RSS Subscribe to RSS - Post installation