Just tested this.  Nope, same problem.

I've added a patch to the ticket which resolves the issue, but I'm not
confident committing it until I've got my head around the way
tags/terms work.

Would you mind taking a look when you've got a mo.

Cheers,
Colin


On Wed, Nov 17, 2010 at 11:55 AM, rick c <[email protected]> wrote:
> MatthewM,
>
> If you change the vocabulary param of Posts::get() from
>
> 'vocabulary'=>array( 'tags:term'=>'featured')
>
> to
>
> 'vocabulary'=>array( 'tags:term'=>array('featured'))
>
> does it work as expected?
>
> Rick
>
> On Nov 17, 4:54 am, MatthewM <[email protected]> wrote:
>> heres the trac linkhttps://trac.habariproject.org/habari/ticket/1325
>>
>> On Nov 17, 9:51 am, MatthewM <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Ive just added the code in to recreate it
>>
>> > Parse error: syntax error, unexpected T_PUBLIC in /home/rmadvert/
>> > public_html/habari/user/themes/hmallow2/theme.php on line 98
>>
>> > found bug trac too, will post
>>
>> > On Nov 17, 9:48 am, Colin <[email protected]> wrote:
>>
>> > > Hi Matthew
>>
>> > > What is the exact error you got?
>>
>> > > On Wed, Nov 17, 2010 at 9:36 AM, MatthewM <[email protected]> wrote:
>> > > > foolishly upgraded my site to latest SVN 0.7 a few days ago.
>>
>> > > > It seems works fine (asides from a tweek Ill mention below) but the
>> > > > theme in admin says
>>
>> > > > "This theme is a legacy theme that is not compatible with Habari 0.7-
>> > > > alpha.
>> > > > Please update your theme."
>>
>> > > >http://cl.ly/3HaP
>>
>> > > > Is there mention anywhere as to how exactly I make my theme
>> > > > compatible? I had a search on wiki but couldnt find anything.
>>
>> > > > As for the tweek, I forget how I bug report for Habari but basically,
>> > > > in my theme.php Im using tags to grab specific posts and had something
>> > > > like this
>>
>> > > > if( !$this->template_engine->assigned( 'featured' ) ) {
>> > > > $this->assign( 'featured',
>> > > > Posts::get( array('vocabulary'=>array( 'tags:term'=>'featured'),
>> > > > 'status' => Post::status('published'), 'limit'=>6) ) );
>>
>> > > > Unfortunately if there were no posts with that tag habari threw up an
>> > > > error and fell over, so I removed the code which referred to non-
>> > > > existent tags
>>
>> > > > Matthew
>>
>> > > > --
>> > > > 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 
>> > > > athttp://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



-- 
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

Reply via email to