Sweet thanks Collin, will try and sort that out and report back.
-----------------------------------------
Khaled Abou Alfa

(leb) +961 70 429 469
P.O Box 863, Saida, Lebanon
[email protected]
www.brokenkode.com



On Mon, Nov 29, 2010 at 12:06 PM, Colin <[email protected]> wrote:
> Hi Khaled
>
> As you rightly pointed out, this is indeed due to the taxonomy changes.
>
> Instead of using:
>
> <?php if( in_array('Asides', $post->tags ) ): ?>
>
> ... you need to use the more intuitive ...
>
> <?php if ( $post->tags->has('Asides') ): ?>
>
> I'm in the process of walking through these changes and plan to
> document the changes once I fully understand them, assuming someone
> else doesn't beat me to it :-)
>
> Cheers,
> Colin
>
>
> On Sun, Nov 28, 2010 at 7:32 PM, Khaled Abou Alfa
> <[email protected]> wrote:
>> Another tag related question I have is on my index page, I try and filter
>> out posts with a specific tag, to style them differently. The way I do that
>> is using something like:
>> <?php if( in_array('Asides', $post->tags ) ): ?>
>> If it's tagged as an aside then it'll show up here and I style it in a way.
>> Alternatively I could have:
>> <?php elseif( in_array('Featured', $post->tags ) ): ?>
>> And style it in another way.
>> This appears to have stopped working as well (which I'm guessing is down to
>> the new changes in the taxonomy). Soooo any ideas how I can get this
>> functionality back?
>> Thanks again,
>> -----------------------------------------
>> Khaled Abou Alfa
>> www.brokenkode.com
>>
>> --
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/habari-users
>
>
>
> --
> Colin Seymour
> Blog: http://colinseymour.co.uk
> Tech Stuff: http://lildude.co.uk
> Barefoot Running: http://barefootrunner.co.uk
> IRC: lildude #habari
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/habari-users

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to