Re: [Radiant] tags extension

2009-04-07 Thread Steven Southard
I've done this twice now on two different servers.  If I use git clone  
to build my radiant project and try to start it up with the tags  
extension it has this problem.  If I use the radiant gem to build my  
project it seems to work fine.  The problem is solved for me but I  
can't help and wonder what the problem is.  Using git clone to build  
the radiant project seems like a great way to build it.  Did I over  
look something?  Did I do something wrong?  Are the files somehow  
different?


Steven






On Apr 6, 2009, at 2:58 PM, Steven Southard wrote:


Has anyone else installed Radiant 7.1 and the tags and seen:

NoMethodError in Admin/pages#edit

Showing vendor/extensions/tags/app/views/admin/pages/ 
_tag_field.html.erb where line #3 raised:


undefined method `quoted_table_name' for false:FalseClass

Extracted source (around line #3):

1: tr
2:   td class=labellabel for=page_tagsTags/label/td
3:   td class=fieldinput class=textbox id=page_tags  
name=page[meta_tags] size=160 type=text value=%=  
@page.tag_list % //td

4: /tr

Trace of template inclusion: app/views/admin/pages/ 
_fields.html.haml, app/views/admin/pages/edit.html.haml

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension

2009-02-10 Thread Steven Southard

I'm looking at radius_tags.rb

tag all_tags:each do |tag|
order = tag.attr['order'] || 'name'
limit = tag.attr['limit'] || '5'
result = []
case order
when 'name'
  all_tags = MetaTag.find(:all, :limit = limit)
else
  all_tags = MetaTag.cloud(:limit = limit)
end
all_tags.each do |t|
  tag.locals.meta_tag = t
  result  tag.expand
end
result
  end


And for my use it would be better if it had a conditional statement  
eliminating any tags not used in any of the pages. Does anyone have  
quick idea how to get at that?


Steven





On Feb 9, 2009, at 8:53 PM, Steven Southard wrote:

r:all_tags:each  seems to list tags even if they're not currently  
being used.  Is there any way to list only tags that are being  
used?  Or is there any way to manage tag or at least remove unused  
tags?


//Steven
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension

2009-02-10 Thread Enrico Teotti
Hi,
maybe I was drunk. Apparently p class=tagsr:tag_list //p works
fine inside r:children:each limit=15 order=desc
No need for tricks. It will automatically display the tags of that
children page.
Ciao,
Enrico

2009/1/28 Simon Josi j...@puzzle.ch:
 Maybe this could work:
 http://github.com/Aissac/radiant-extensions-extension

 greets
 /simon

 On Wed, 28 Jan 2009 12:14:42 +1100
 Enrico Teotti enrico.teo...@gmail.com wrote:

 Hi,
 I need to have the tag list for each page coming out of:
 r:children:each limit=15 order=desc

 I'd use a:
 r:tag_cloud scope=r:url / /

 but since that's not allowed by radius I am now clueless. How would
 you do it? Is anybody doing such a thing?
 Cheers,
 Enrico

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




-- 
Enrico Teotti
IT consultant, accessible web sites and web applications
Sydney, NSW, Australia
enrico.teo...@gmail.com
mobile (IT) +393286590765
mobile (AU) +00610416748450

http://www.teotti.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension - dropdown

2009-02-09 Thread N. Turnage

Steven Southard wrote:

Is there any way to break tags up so It can be made into a dropdown?


I imagine it would be something like this:

r:find url=/something/
select
 r:children:each
 option value=r:slug /r:title //option
 /r:children:each
/select
/r:find



// Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension - dropdown

2009-02-09 Thread Steven Southard
Really? It looks like it would make a nice dropdown of something, yet  
I don't see how that accesses tags at all.




On Feb 9, 2009, at 7:01 PM, N. Turnage wrote:


Steven Southard wrote:

Is there any way to break tags up so It can be made into a dropdown?


I imagine it would be something like this:

r:find url=/something/
select
r:children:each
option value=r:slug /r:title //option
/r:children:each
/select
/r:find



// Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension - dropdown

2009-02-09 Thread Steven Southard
While trying to express what it was I was really after, I came up with  
this and it works fine for what I wanted. Thank you for you assistance.


select
r:all_tags:eachoption value=/tags/?tag=r:name /r:name // 
option/r:all_tags:each

/select

//Steven

On Feb 9, 2009, at 7:17 PM, N. Turnage wrote:


Steven Southard wrote:
Really? It looks like it would make a nice dropdown of something,  
yet I don't see how that accesses tags at all.



r:find url=/something/

This tells radiant to look in the something tree.

select
r:children:each

This sets up a for each loop.

option value=r:slug /r:title //option
This inserts the value of the slug (think something-child-one) as  
the value of the select option with the title (think Something  
Child One) as the visible option.

/r:children:each
/select
/r:find

These of course close those tags.

What exactly are you trying to do with a dropdown list?


// Nate

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension

2009-01-28 Thread Simon Josi
Maybe this could work:
http://github.com/Aissac/radiant-extensions-extension

greets
/simon

On Wed, 28 Jan 2009 12:14:42 +1100
Enrico Teotti enrico.teo...@gmail.com wrote:

 Hi,
 I need to have the tag list for each page coming out of:
 r:children:each limit=15 order=desc
 
 I'd use a:
 r:tag_cloud scope=r:url / /
 
 but since that's not allowed by radius I am now clueless. How would
 you do it? Is anybody doing such a thing?
 Cheers,
 Enrico


signature.asc
Description: PGP signature
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] tags extension

2009-01-27 Thread Enrico Teotti
Hi,
I need to have the tag list for each page coming out of:
r:children:each limit=15 order=desc

I'd use a:
r:tag_cloud scope=r:url / /

but since that's not allowed by radius I am now clueless. How would
you do it? Is anybody doing such a thing?
Cheers,
Enrico
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension

2009-01-19 Thread Jeroen Janssen
Hi,

I think the extension needs to be installed in the
vendor/extensions/tags directory if I understand correctly.

Best regards,

Jeroen Janssen

On Mon, Jan 19, 2009 at 11:03 PM, Steven Southard
ste...@stevensouthard.com wrote:
 I tried installing Jomz's tags extension using:

 git clone git://github.com/jomz/radiant-tags-extension.git
 vendor/extensions/tag
 rake production radiant:extensions:tags:install

 and it seemed to install fine except I get:

 `tag_field' default partial not found!  on any page

 I was wondering if I should change the tag_field.html.erb file name, maybe?

 Am I missing something else?



 Steven

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] tags extension

2009-01-19 Thread Steven Southard
Yeah, actually i think my copy and past left the s off but it's  
actually located there with the s.  Don't think that is the  
problem.  Any other ideas?




On Jan 19, 2009, at 5:04 PM, Jeroen Janssen wrote:


Hi,

I think the extension needs to be installed in the
vendor/extensions/tags directory if I understand correctly.

Best regards,

Jeroen Janssen

On Mon, Jan 19, 2009 at 11:03 PM, Steven Southard
ste...@stevensouthard.com wrote:

I tried installing Jomz's tags extension using:

git clone git://github.com/jomz/radiant-tags-extension.git
vendor/extensions/tag
rake production radiant:extensions:tags:install

and it seemed to install fine except I get:

`tag_field' default partial not found!  on any page

I was wondering if I should change the tag_field.html.erb file  
name, maybe?


Am I missing something else?



Steven

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Tags extension: move to latest edge breaks db migration

2008-11-13 Thread Benny Degezelle
 The task rake db:migration breaks on a file of the Tags extensions if I
 move to latest edge. http://pastie.org/312887


 /simon


Hi Simon,

Quite sure that this is caused by a change in rails; rails 2.1.1 moved
module Dependencies to ActiveSupport::Dependencies
I'm swamped as ever at the moment, and not working with edge anytime soon..
Could you try this and let me know if it worked? Or even better fork and
send a pull request on github;

The patch would be to update
vendor/extensions/tags/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/dependencies.rb
so that the first line

module Dependencies

reads

module ActiveSupport::Dependencies

Not sure how to make this backwards-compatible though..

Regards,
Benny Degezelle

Gorilla webdesign
www.gorilla-webdesign.be
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: radiant-tags-extension with PostgreSQL?

2008-10-26 Thread Benny Degezelle
 5. I also think I sent a pull request to everyone else.  Hope that's the
 right thing to do.


Pull request received and handled.
I cherry-picked your commits instead of merging though, because i think the
tag_list_technorati stuff by ehaselwanter should go in a seperate branch.

6. If all the power goes out somewhere, let me know.  It could possibly be
 my fault, but I'm pretty sure I canceled that in time.


I noticed the lights flickering, but the generators seem to have coped
succesfully ;)
Thanks for your contributions!

Re your Weekly wacky suggestion; we coùld rename the extension (I'd prefer
radiant-metatags-extension), but that is not going to stop people from
referring to it as the tags extension, so I'm not too sure if that would
make googling for it easier?..


Regards,
Benny
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: radiant-tags-extension with PostgreSQL?

2008-10-26 Thread Jay Levitt

Benny Degezelle wrote:

5. I also think I sent a pull request to everyone else.  Hope that's the
right thing to do.



Pull request received and handled.
I cherry-picked your commits instead of merging though, because i think the
tag_list_technorati stuff by ehaselwanter should go in a seperate branch.


Oops, you're right.. I was blindly merging everything.


Re your Weekly wacky suggestion; we coùld rename the extension (I'd prefer
radiant-metatags-extension), but that is not going to stop people from
referring to it as the tags extension, so I'm not too sure if that would
make googling for it easier?..


yeah, probably not, unless you also changed the [radius] tags themselves - 
e.g. r:metatags:each, r:metatags:cloud, etc.


I'm not sure if it's actually worth it; I was kinda thinking out loud.  I 
figured either someone would love the idea, or they'd hate it.  Or they'd 
think it's okay.


Jay
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant