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

Ng Chin Kiong ckng at fordrupal.com
Fri Apr 10 09:08:50 UTC 2009


brendan,

You can use template preprocessor. See my latest reply on "Re: how to stop a
'view' from showing a field?"


Cheers,
CK Ng

forDrupal Premium Themes (http://fordrupal.com)
- we make drupal beautiful


On Fri, Apr 10, 2009 at 3:53 PM, brendan, fresh-off.com <hello at fresh-off.com
> wrote:

>  *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
>
>
>
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/themes/attachments/20090410/9d6d384a/attachment.htm>


More information about the themes mailing list