By TheGorf on
How do you remove the taxonomy term from page content? As you can see on the site:
http://www.mvmaranatha.com/home
That it displays the term that I am using as part of my taxonomy_access configuration. How do I remove that? The searching I have done on the site here said to remove some lines for $term from my node.tpl.php, but I don't have any such file in my theme.
Comments
what templating engine are
what templating engine are you using?
yup
The advice is right.
Pretty much all phptemple themes will have a node.tpl.php
What theme ARE you using?
If your theme instead has a .theme file, edit that to remove the line that may look something like:
(that example found in chameleon.theme. YMMV)
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
ummmm ok all I did was
ummmm ok all I did was create a file called page.tpl.php and placed my website theme into it. Then added an accompanying style.css. Here is the complete code:
So do I need to add a node.tpl.php file? What do I put in it?
yes. you should probabaly
yes. you should probabaly read up on themeing and templates.
=-=
start here: PHPTemplate
which is part of the Theme developer's guide
rather then hardcoding your nav menu:
you should create your menu in administer -> menus which would allow you more control.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )