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

maximpodorov’s picture

Could you show the problem on your site?

mpa3b’s picture

There'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: По-моему мы оба говорим по-русски?

mpa3b’s picture

I meant to say "first, i see blocks' titles only, then content gets loaded".

maximpodorov’s picture

Yes, 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?

Говорим, говорим. :)

mpa3b’s picture

I'd rather want blocks to be fully AJAX-loaded, titles included.
Seems that would more natural.

Мне просто кажется, что блоки должны загружаться полностью при помощи AJAX, вместе с заголовками.
Так естественнее, кажется.

gladiator84’s picture

I 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.

mpa3b’s picture

Block 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.

gladiator84’s picture

i 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!

mpa3b’s picture

Hi there maintainer! 8) Will you fix the title suggestion?

maximpodorov’s picture

@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.

maximpodorov’s picture

helmo’s picture

Issue summary: View changes
Status: Active » Fixed

This looks fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.