[themes] targeting variables in my node-blog.tpl.php file

brendan, fresh-off.com hello at fresh-off.com
Fri Apr 10 07:53:06 UTC 2009


Hello, 

I can't seem to figure out how to effectively target two different values in
my node-blog.tpl.php file:

 

$submitted

$links

 

For the $submitted value, I'd like to insert some xhtml tags in there so
that I can target them with CSS.  

 

Currently it writes the data to the page like this:

 

---

Submitted by super_user on April 9, 2009 - 2:49pm

---

 

But I'd like to get some xhtml tags around the User and the Month.  It would
also be nice if I could delete the hour - but that's not as important.

 

For the $links value, I'd like to figure out how to remove the Author.
Currently, the $links value writes:"Author's Blog", "Read More...", and "Add
comments" to the teaser.  How do I remove just the "Authors blog" info from
the $links value?   

 

Unfortunately, I know enough PHP to get myself confused a lot, and I've been
googling and searching Drupal.org all day with no luck.  

Hopefully the nice folks on this list can help!!

 

 

brendan, fresh-off.com

Creative Direction & Consultation: Web | Print | Brand

 

http://fresh-off.com

hello at fresh-off.com

206.328.1067

seattle.usa

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/themes/attachments/20090410/35bbabef/attachment.htm>


More information about the themes mailing list