This forum is for assistance with theme development.

Reorder the create content page?

I'm working in an admin area of my web site. On this page of my web site: http://www.example.com/?q=node/add I see my menu items to create content on the left. Then in the body of the page I have

create content
Choose the appropriate item from the list:

How to move "Number of views" , "read more" and "add a comment" out of the generic $links call in node.tpl.php

I tried this method http://drupal.org/node/43888#comment-81687 and managed to get read more out of there, but could not get the others out so I can place them differently. Im not very good with PHP so if anyone can help me out I would greatly appreciate it.

Even suggesting a different method would be great as long as I can move those things around.

Thanks in advance.

To put output in bold, which file do I modify? is it the theme function in mynodetype.module or somewhere else?

I am writing a custom node module.

I am looking at various modules, such as moviereview module.

With movie review module, content looks like this
Starring:
Dries
Directed by:
Dries
Written by:
Sepeck
Genre:
comedy
Year:
2006

Nothing is in bold. There are no blank lines between headings. It's very difficult to read.

I want the headings to be in bold.
I want there to be a blank line between headings

I am looking at node_example.module

Need to Display the Timezone

I've got a group that's spread out across the US and so I need to display timezones with events. I have flexinode events and have a flexinode-n.tpl.php file to show the content.

This <?php print $timezone ?>

gives me the database value: Timezone: 477

How can I convert that to US-Central, etc.?

menu function, need extra css class

Hi everybody,

I have Drupal 4.7.2 and I tried to change the look of the menu.
I found out that, as far as I understand it, every link in the menu has a $mid.
The menu is sorted by these $mid
something like this:
1.
1.1
2.
2.1

I also have a function "menu_get_active_item()", which propably gives me the link, where I'm, so that it can be marked by css.

How can I modify node.tpl.php to not show titles?

I have a flexinode for a newsletter that I created where I don't want to display the node title, rather I would like the user to create a custom title. Will node.tpl.php control that? If so, can I modify node.tpl.php to not show titles for a specific flexinode?

In node.tpl.php I have this, but I must have the syntax wrong because I can still see the title.

Pages

Subscribe with RSS Subscribe to RSS - Theme development