Closed (fixed)
Project:
Tabbed Block
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
31 Aug 2007 at 16:11 UTC
Updated:
6 Nov 2010 at 08:05 UTC
Jump to comment: Most recent file
I've created a tabbed block width 2 block created with the views module but the block only return this:
* Error! click here!
Please config the tab title here.
I thing it's related to:
http://drupal.org/node/165721
and it's not fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | Telefont.png | 112.52 KB | Bedestenlioglu |
| #10 | a.jpg | 22.44 KB | joetsuihk |
| #4 | variables.sql_.txt | 94.25 KB | xpete |
Comments
Comment #1
joetsuihk commentedfrom the information you provided, I will considered as "by design"
you may click the "Error, click here" and from the tab, you can link to a page that will enable you to enter the title for the block.
after entering the title, the error disappeared.
if i miss understand this issue, please correct.
I will left this issue as bug now, for easy to notice this issue.
Comment #2
xpete commentedI've already tried that before creating the bug report.
Comment #3
joetsuihk commentedI cannot re-generate the error, can you post the steps that the error will always happen?
Comment #4
xpete commentedCreate a new tabbed block
add 2 block crated by the views module.
change the options to show the tabbed block.
What else do you want?
Note:
If I change your module to ignore the title he says that the content is empty.
Comment #5
xpete commentedI'm using the project and janode modules to create the nodes that are used by the views module to create the blocks.
Comment #6
hansrossel commentedSame problem here.
I'm displaying the event calendar and a view with Latest events in a tabbed block. Changing the title of the view block by clicking the "Please config the tab title here" does not solve the problem.
Comment #7
hansrossel commentedUsing the same workaround as in http://drupal.org/node/165721 solved the problem.
I just made a new block and put the following php code in it and gave the block a title. The LatestEvents view now displays correctly.
Comment #8
xpete commentedIt also works for me.
joetsuihk, can you create a patch?
I don't want to create extra blocks.
Comment #9
joetsuihk commentedsorry all, i am watching the issue, but my schedule is so full, sorry about that
i am working on it.
Comment #10
joetsuihk commentedi am using the "recent comments" block that comes with views installation for testing this,
but cannot regenerate this bug.(views1.6, D5.5)
i think it is because you misunderstand the helping text:"Please config the tab title here"
after you click the link, you are redirected to another page, the block setting page.
fill the block title there, in that page, and save,
you can have the fine title.
this at least works in my fresh installation.
i attached the helping image for more clear instruction.
please report if this works, if so, i change the helping text to better one.
if not, please specify details..
sorry for holding this issue so long.
Comment #11
xpete commentedI've already did what you that.
Try to create your own block view.
The only way i can work around this is using the hansrossel method.
Comment #12
xpete commentedIt works if i have a view with a page and a block and the page is already loaded, if the page aren't loaded the block didn't work.
Comment #13
xpete commented>It works if i have a view with a page and a block and the page is already loaded, if the page aren't loaded the block didn't work.
I was wrong, this works sometimes but not as i think.
i've tried to reproduce the problem in a testing enviroment but i can't and don't know why.
the only way that i can get it working in my production site is using the hansrossel method.
Comment #14
joetsuihk commentedthx.
i think there are some conflict between modules or with some build in functions.
hansrossel method hardcoded line 108, and function tabbed_block_output_content_block()
can you test line 293 ?
Comment #15
xpete commentedHow can i test this?
I've tried
SELECT title FROM blocks WHERE module = 'views' AND delta ='ultimos_projectos' and it returns the bock i need.
Iv'e also tried other things but can't get any useful information.
Comment #16
xpete commentedI don't think it's related to line 293 because sometimes it works.
should be something called before.
Comment #17
tewe commentedi've the same problem too.
the block is created by views and cached!
It has title, and if i click on the refresh button, the tab title come up. But after a page refresh the "error! click here!" text is reappear.
Comment #18
joetsuihk commentedthere is a variable named tabbed_block_settingsX, where X is the tabbed Block index
the value of the variable will shows the views name if views block are used.(example "views-sth")
please check if this is correct when happens in views.
because i still cannot reproduce the issue.
i had a production-ready site, and installed it, nth happen.....
to actually roll back the module to its init. state,
delete variable "tabbed_block_settingsX" and "tabbed_block_list"
and re-add blocks.
Comment #19
Bedestenlioglu commentedHi,
I have two tabbedblocks on my frontpage . One works fine but the other has the problem with block titles and I see nothing but "Error!click here!" message ..
- The first tabbedblock has blocks comes with view module like "Recent comments", "New Forum ",etc.
This woks fine .
- The second one has the blocks created by myself through views module .. This does not work ...
I have attached the screengrab file and marked the first tabbedblocks with red and the other with the green .
I hope this will give you some hint to regenerate the problem..
Comment #20
Bedestenlioglu commentedand the second tabbedblock has worked applying the workaround from #7 ..
Comment #21
xpete commentedDrupal creates a clone of each block for each theme and you forgot to check if the block loaded is related to the active theme.
Try to install more than one theme in one website and will see the problem.
If I remove the the versions of the blocks that are related to the themes that i didn't use the block started working.
I hope you understand my poor english.
Comment #22
joetsuihk commentedthxa lot xpete, plz try this function:
Comment #23
xpete commentedyour code works.
But in my testing enviroment the tabbed block works without problems but on my production enviroment it stop working some hours after i've done the workarround and before you sent that code ant it still not working.
your code works but there's someting else... and very strange.
Comment #24
joetsuihk commentedgot it
thx
i also hope this issue can be fixed very soon, since something had cleared!
then we can move to new feature implementation
Comment #25
xpete commentedI've just noticed that you updated the module with the analytics patch.
I've download that version, added your code and the tabs are working now.
I think you can commit your code.
Comment #26
joetsuihk commentedgreat!
thx you all!
will be committed soon
Comment #27
joetsuihk commentedcomitted in dev
Comment #28
xpete commented