I am using views 6.x-2.11, and the lastest version of drupal 6 as of today.
I added and activate the module, then when to my view (it was already created), deleted the taxonomy terms argument and re added it, I did not see the override term check box, so i clicked update thinking it would should up on one of the following screens, i select list, them display with count then it throws this error at me.
As I write this I just noticed that I am trying to use this on a block, not a page, so guessing I can't use this on a block . and is the below error coming from your module?
Q1. being fairly new to drupal, am I getting this error from the module?
Q2. can i should i be able to use this on a block? (if not i guess this is a feature request)
* warning: array_keys() [function.array-keys]: The first argument should be an array in .../sites/all/modules/views_tpo/includes/views_tpo_handler_taxonomy_term_name.inc on line 130.
* warning: array_fill() [function.array-fill]: Number of elements must be positive in .../sites/all/modules/views_tpo/includes/views_tpo_handler_taxonomy_term_name.inc on line 131.
* warning: array_combine() expects parameter 1 to be array, null given in.../sites/all/modules/views_tpo/includes/views_tpo_handler_taxonomy_term_name.inc on line 131.
* warning: Invalid argument supplied for foreach() in .../sites/all/modules/views_tpo/includes/views_tpo_handler_taxonomy_term_name.inc on line 102.
Comments
Comment #1
plach@theGoose:
Yes, the error comes indeed from Views TPO, I'll try to investigate.
No, you can't use this on a block and I can't imagine why you would need that: Views TPO has the purpose of creating views pages replacing taxonomy pages. If you need a block listing some taxonomy terms pointing to their listing pages you just don't need this, you can do it with Views alone.
Comment #2
ron_sparks commentedThanks plach,
The reason I wanted this in a block is because I have a 'block view' that have taxonomy terms argument, which list all the terms used by a content type. I want to override the link output, I may be missing something but I can;t override the output links.
I have a page view for tagged items with a url of 'photos/tagged/[%term_arg]' , this shows all the photos for a taxonomy term (ie office, funny... ect), I want to have a list of taxonomy terms that link to my view build taxonomy/tag pages using 'photos/tagged/[%taxonomy_term_name] ' as the link output. (basically a tag cloud in a block that links to views pages for terms.)
Unless i miss understood the module, I thought that is what this does for the list of terms, allows you to over ride the default link output.... I'll re-read the module description and keep hunting for a solution.
Thanks for the help.
Comment #3
ron_sparks commentedafter re-reading the module overview.
would I use your module to do the same thing I talked about in my last post but doing it from the other way around.
I would use the module to replace the current taxonomy pages with a view then link to it with the normal taxonomy terms that are output in a block? or any other page?
and if i am trying to use the module for the wrong thing just let me know, i am just hope that this term path rewrite stuff is what i needed.
Thanks again.
Comment #4
plachOk, it seems you need this but you are on the wrong way :)
As I was telling you, to build the tag cloud block (btw give a look to http://drupal.org/project/tagadelic) you just need plain Views. You need to enable Views TPO on the argument belonging to the view page display whose path is 'photos/tagged'.
Comment #5
ron_sparks commentedThanks it just clicked that i need to make a terms view...
Thanks for your response plach, and nice work.
Comment #6
plachRetitling as the issue is still open.
Comment #7
plachRelated error: #832320-9: Views TPO does not respect the string argument path settings.