"Add Content" tab not finding the add content options.

Hi there, I am a newbie at this so have limited understanding. Sorry if this has been covered before, I have had a look through previous postings.

My site was going all well, yet the "Add Content" tab now states I get, "You have not created any content types yet. Go to the content type creation page to add a new content type."

I have been able to create blogs, forums, basic pages etc previously but am now unable to create new pages. As this option seems to have dropped off.

I have recreated them but for the life of me can't seem to undo whatever I have done!

OK there has to be a simple way for the RDFa to work

I have and enjoy working out some issues.
I found a way to make the FB code(FBXML) work on D7 as and example.

The RDFa is perhaps another problem. Maybe tomorrow I will see it?

How do I pay some one to lead me in the right direction?

I don't want some one to do it for me. I want some clues and then if you get tired of helping me, then you can do it to finish the project.

New to development

Hi I'm new to drupal and was making a module and had one question.
How do you add a custom field to a content type. This may seem like a vague question but what type of hook would I use to find my custom content type and then add a custom field to it?

How to print taxonomy terms


if (arg(0) == 'node' && is_numeric(arg(1))) {
	$node = node_load(arg(1));

	// field_keywords is the name of the term reference field
	foreach($node->field_keywords['und'] as $index => $term) {
		$t = taxonomy_term_load($node->field_keywords['und'][$index]['tid']);
		print $t->name;
	}
}

newbie coding...

Dear All,
I just switch to drupal few days ago... and everything is great till I need to pull some data from database but I dunno how...

I tried to create testing page, and enable php filter already. I put this code:

$res=db_query("select * from field_data_body where bundle='forum'");
while($row = db_fetch_array($res)){
echo "<li>".$row['body_value']."</li>";
}

But i got error:

how do you link up the stated regions in the info file with an arbitrary template file?

I am an experienced web developer, but i've managed to make it 10 years until today without developing for or looking into drupal. A few hours into it and I am not finding the documentation for what seem like the most basic of theming questions.

I'm sure this has been asked and answered 100 times, but I have read the theming guide many times and read through the forums....

1. specify your theme's options/settings in your theme's .info file.... ok, fine!
regions[dash] = Top dashbar section
regions[header] = Header
regions[content] = Main content area
regions[search] = Search sidebar
regions[sidebar] = Right sidebar
regions[footer] = Footer

2. copy into my theme directory html.tpl.php (highest level template to override) and page.tpl.php, and customize them.... ok done, awesome.

referencing a different theme's page.tpl.php, i add " print render($page['content']); " to my main content area of my layout.

I add my custom css file.

i can already preview my drupal site and it looks more or less like the static html theme i was starting with, with dynamic drupal entries being loaded into the area i defined as "content", so thats promising.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x