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

PHP help

Heys everyone, i installed Drupal 4.7.2 and im in the process of coding (or trying to) my theme. And after moving php code all around i came to this conclusion:

1. This print $tabs

prints this:

2.

<ul class="tabs primary">
<li><a href="/?q=user/1">view</a></li>
<li class="active"><a href="/?q=user/1/edit" class="active">edit</a></li>
<li><a href="/?q=user/1/track">track</a></li>
<li><a href="/?q=user/1/contact">contact</a></li>
</ul>
<ul
 class="tabs secondary">
<li class="active"><a href="/?q=user/1/edit" class="active">account settings</a></li>
<li><a href="/?q=user/1/edit/optional+information">optional information</a></li>
<li><a href="/?q=user/1/edit/personal+information">personal information</a></li>
<li><a href="/?q=user/1/edit/work">work</a></li>
</ul>

I need it to print this:

How display teaser node followed by title node list?

Hi, I'm trying to display the content of my web to format like this:
First Five teaser node and display the rest of content like a one list with only the date and title.
I have seen in the forum something like this, and I think that it can be OK, but ¿Where and how do I insert this code?

Front Page Nodes

There is a setting in the admin area where you set the number of nodes to appear on the front page. Where is this setting stored in the DB? I looked in the variable table, but I dont see it there.

What I am doing is using the front_page module and a php snippet to mimic my front page for anonymous users who dont have full access to the available content.

Thanks

Content Types Referencing Other Content Types

I've been scouring the forums looking for a answer for my design problem, but haven't found a suitable solution.

I'm trying to create a content type that references another content type as a field. For example, say I have a content type "Artist" that contains detailed information about a musical artist (Name, Bio, URL, whatever...). Now say I have another content type "Venue" that contains detailed information about a particular venue (Name, Address, Phone Number, URL...).

How can google adsense be posted automatically after the first post in the forums?

Hi

i m tryin to find a way to post the google ads in the forums so that everytime a thread is started the ad is posted automatically like alot of phpbb or vbulletin or mybb can do it

eg: www.newyorkdesi.net/forums check it out first post have a ad under it automatically

any advice or suggestions

how to add news to drupal by custom script without needing to log in to admin panel?

Can you provide me with script on php that can add news to drupal?

I need something like this:


$title = "there are title of an entry";
$entry = "there are entry itself";

Thanks in advance.

[moved to support]

Pages

Subscribe with RSS Subscribe to RSS - Post installation