Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can I make it possible?
For example, when I load a page with ajax blocks on it, I see their headers only.
I want ajaxed blocks loaded by AJAX in full, not just the contents.
Comments
Comment #1
maximpodorov CreditAttribution: maximpodorov commentedCould you show the problem on your site?
Comment #2
mpa3b CreditAttribution: mpa3b commentedThere's no actually problem.
The module works as it should. I just want it to work a little different.
Now, when I refresh a page containing AJAX modules, blocks' titles appear first, then blocks' content gets loaded.
I'd like blocks be cached full, not their contents only.
Is there a way to change the module functionality this way? A patch maybe?
I'm no coder, that's a too complicated task for me.
Maybe such functionality could be optional?
PS: По-моему мы оба говорим по-русски?
Comment #3
mpa3b CreditAttribution: mpa3b commentedI meant to say "first, i see blocks' titles only, then content gets loaded".
Comment #4
maximpodorov CreditAttribution: maximpodorov commentedYes, this functionality is possible to implement. But what is the reason? Do you want to hide block titles until blocks are loaded, or you want to support non-constant block titles?
Говорим, говорим. :)
Comment #5
mpa3b CreditAttribution: mpa3b commentedI'd rather want blocks to be fully AJAX-loaded, titles included.
Seems that would more natural.
Мне просто кажется, что блоки должны загружаться полностью при помощи AJAX, вместе с заголовками.
Так естественнее, кажется.
Comment #6
gladiator84 CreditAttribution: gladiator84 commentedI am also having problems with my titles not appearing. Within my ajax blocks, however, CSS hovers do not function as expected (at all) either. Is anyone else having this type of problem? take a look at the Best Sellers block on the right of the landing page: www.collegediplomashop.com. I also don't see the loading image for the ajax block. Not necessary but would be cool.
Comment #7
mpa3b CreditAttribution: mpa3b commentedBlock title appears well. I don't see any problem with that on your site.
Hover worked fine for me.
Loading image is to be set up thru block settings.
All ajax_blocks features worked well on my test sites.
Comment #8
gladiator84 CreditAttribution: gladiator84 commentedi actually figured out the problem last night. it was very stupid, when i enabled ajax blocks the title for some reason was cleared and i saved the updated block configuration without the title. i was messing with it for a few an hour before i figured to even check...doh!
Comment #9
mpa3b CreditAttribution: mpa3b commentedHi there maintainer! 8) Will you fix the title suggestion?
Comment #10
maximpodorov CreditAttribution: maximpodorov commented@mpa3b
If you just want to hide block titles until block content is loaded, I can add such functionality:
when block is loaded, additional class is added to the block wrapper div.
It will enable you to hide block titles by default and show them upon loading.
Comment #11
maximpodorov CreditAttribution: maximpodorov commentedCommitted.
http://drupalcode.org/project/ajaxblocks.git/commit/c22e49c
Comment #12
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedThis looks fixed