[SOLVED] use Navigation Ajaxify+div problem

Status
Not open for further replies.

samani

Member
hi
When i enable the Ajaxify in edit list>Details>Navigation>Ajaxify
and
set Front-end template in the edit list>Details>Layout>Front-end template to div
then destroy my page in Front of the site. You can see in this screencast:
http://screencast.com/t/MJyQLnfhhw
 
Confirmed.
Seems the ajax update doesn't keep the row classes.

So on page load you have something like
<div class="fabrik_row well row-striped fabrik_row oddRow1 span4" id="list_14_com_fabrik_14_row_18">

after the update
<div class="fabrik_row oddRow1" id="list_14_com_fabrik_14_row_18">
 
Yes. Your reply is correct.
How can i solve that?
If you see in the end of the above film, i refreshed the page and it is correctly load for 1 second and destroy again.
 
I've applied a fix for this with this commit:

https://github.com/Fabrik/fabrik/commit/551d630e123cb6e8c09c6634df9c6bd1cdda11c6

... but it's kind of a bandaid. It'll handle the standard classes for the div and bootstrap templates, but for example won't handle things like element row classes.

Basically the problem is that the div template adds some extra classes in the templates default_row.php, but that isn't used when doing an AJAX update on the list. I need to do some refactoring of the code so those extra classes are generated some other way.

I'll do some more work on this and commit a proper fix soon, but for now this should get you going.

-- hugh
 
tnx.
I test that and change to your code.
but problem is not solve.
Can you check it again?
 
It's ok for me.
Did you clear Joomla and browser cache so it's loading the new JS files?

gesendet mit Tapatalk
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top