Hi there, I've been able to create a taxonomy view that displays the terms of a vocabulary with an alphabetical pager (attachment) (http://drupal.org/node/1110944#comment-7226414), I've created a page and a block doing the same task, just in case, this works perfectly well. The issue I have is because I'm on an OG environment with each group having its own theme and blocks, different from the site default ones. Well, if I set the page view at my desired group (with its own theme), through a minipanel, it shows the content of the view but when clicking any of the letters it comes the problem, if I have Ajax enabled the view does not work, I mean it does nothing, and if I disable Ajax, it works but sending me to a site's default theme page were it shows the good results.
In the case of the block view, enabled for the theme of the group I need, the behaviour is more or less the same, being the difference that if disable Ajax for the block it sends me to starting page of the site in its default theme (not the OG where it is the block), I mean it does not even give me the right results, which are given if I try the block view from the preview in the view's setting.
I would appreciate any advise, or derivation to any documentation.
Thanks a lot.
Comments
Comment #1
Andrés Chandía CreditAttribution: Andrés Chandía commentedI've tested it in a panel instead of a minipanel, I mean creating a node instead of block and it happens the same......
Comment #2
bburgI take it you are trying to display a glossary view in in a panel page? I'm not in an OG environment, but I am also having some trouble with this as well. Checking "Use Panel path" in the primary display's pane settings gets me part of the way there but then my options are to:
1, Don't use ajax, then the letter filter just appends any new arguments to the current url, resulting in a page that continues to load the first picked argument since that remains in the detected position for the contextual filter.
2, Use ajax, but then only the first attempt to filter is recognized and any subsequent selections do not update the view contents.
I pulled up the old Chrome Network analyzer to watch the ajax requests as they are being made, it looks like every one is being sent with the same, original selection. So perhaps a bug in the views js? Taking a closer look at the markup of my view compared to the example pre-packaged "Glossary" view, I notice that the glossary views are being rendered with proper paths in the href attribute while the items in my view are not... fixed this in the contextual filter options by adding a "Base URL." This corrected the markup for the href's but no luck in solving the actual, original problem.
Will update here if I come across any solutions, but I'm still not entirely sure we are having the same problem here.
Comment #3
Andrés Chandía CreditAttribution: Andrés Chandía commentedThanks for the time you've taken to investigate this issue, I will centainly follow your improvements, in the meantime I've come accross with another solution, based on an external page:
I've created a subdirectory in the libraries directory called tnt/, there i put next php files:
en_indexTrans.php:
en_alphaTrans.php:
en_translators.php:
acces.php:
* The prefix en_ at every file is because I had to create a file per language.
Then I created a block that contains an iframe:
<p><iframe frameborder="0" src="/sites/all/libraries/TnT/en_indexTrans.php" width="100%"></iframe></p>
you can see this working at: http://parles.upf.edu/en/content/translators-translations
Comment #3.0
Andrés Chandía CreditAttribution: Andrés Chandía commentedgiving some more info
Comment #4
MustangGB CreditAttribution: MustangGB commentedComment #5
Andrés Chandía CreditAttribution: Andrés Chandía commented