lists in articles

kimtim1402

New Member
Hi,

I put with the content plugin (e.g.{fabrik view=list id=4}) fabrik lists in articles, otherwise I do not receive the filtering per ajax.
Everything is working fine.
Only in the list where I want to filter per date-field, ajax causes an error and comes not to end.

So my questions are:

  1. Is it better to set a menu-link directly to fabrik-list-component (but ajax-filtering it is not working).
  2. Or should I display all my fabrik in articles and put the menu-link to the corresponded item (here is ajax-filtering working).
  3. What could causes the issue with the date-filtering?

I use fabrik 3.1 and all the plugins 3.1.1 are from march 2014.


Thanks for any help
 
- Your Joomla template or some 3rd party component is doing JS compression (which may break Fabrik)
- In the filter network response there's
Code:
<script type="text/javascript">
requirejs(['element/date/filter-min'], function () {
});
</script>
injected after the JSON string
- JS console is showing
TypeError: groupHeading.getElement(...) is null

I would suggest
update from GitHub
disable JS compression
 
I updated now from GitHub.
The template has not JS compression (I tested also with the default template and issue persists).

I tried to found out, which third party ext. does JS compression ? without success.

As I am not really skilled, I appreciate any help.

Kosta
 
Hi Hugh,

It is unbelievable!!!

It is working like a charm.

Thanks so much :)

I was in doubt, if I should subscribe to your plans and just wanted to test.
But I see that you are high skilled programmers and a newbie like me, needs help with his project.
So a subscription is worth every cent.

Thank you once more.

Kosta
 
The only thing is, that if you group now the results, group-label it is shown twice.
 

Attachments

  • groupedIssue.jpg
    groupedIssue.jpg
    6.7 KB · Views: 339
I can see a potential issue I'm working on, but there's also another issue on your site, as you have ...

Code:
.groupTitle {
   display: none
}

... in your J! template's main CSS (XTC/css.php).

We should probably make that class fabrikGroupTitle instead of just groupTitle. But for now, while I test, can you comment out that definition in the main template CSS?

-- hugh
 
Did you actually update from github, or did you edit the file by hand and apply the change from the commit?

I can't replicate this, and from what I can see, it looks like the template must be different on your system to mine.

-- hugh
 
I updated yesterday the change from GitHub (from the link you sent me).

The component is embeded in an article and the article is linked on the menu.
I had problems with AJAX filtering, when I linked directly to the component.

Kosta
 
Can you fill in the J! site details on your My Sites, so I can log in to the backend and take a look at your settings. I can't replicate the doubling issue here, but I may have different settings to you.

An ftp login (or ecTplorer installed on the backend) would be useful, so I can also take a look at your template file.

-- hugh
 
Looking now.

Just FYI, you have the username/password the wrong way round in the ftp details. I was about to give up on ftp just tell you the details were wrong, when it occured to me the password looked more like an account name. :)

-- hugh
 
I don't seem to be able to login on the backend with the account details in your My Sites.
Here is your default.php for the standard bootstrap list tmpl:

PHP:
<?php echo $this->grouptemplates[$groupedby]; ?> ( <?php echo count($group)?> )
                            <span class="groupTitle">
<?php echo $this->grouptemplates[$groupedby]; ?> ( <?php echo count($group)?> )
</span>

As you can see, there's a repeated line in there, which isn't in the github version:

https://github.com/Fabrik/fabrik/bl..._fabrik/views/list/tmpl/bootstrap/default.php

... so I don't know where that file / change came form, but it wasn't github.

Oh, I think I know what you probably did. You probably somehow copied that file in the commit message I pasted:

https://github.com/Fabrik/fabrik/commit/488e02c7b01e214af1862bd8858d44019353ab60

... but that's a 'diff', showing what has been removed / added to a file in a commit. If you look, there's minus and plus signs at the start of the lines. In order to do a github update, you need to download the tarball or ZIP from:

https://github.com/Fabrik/fabrik/archive/joomla3.zip

... unzip it, and upload the entire content, overwriting your files on the server.

Anyway, I've updated that file on your server in the bootstrap template, so it should fix itself now. Although it was still displaying double when I checked, but I suspect I'm seeing a cached page. I tried to check which template you are using, but couldn't log in to the backend.

-- hugh
 
You have confound the webites:

http://www.luxbook.lu/index.php/
is my live-site (there is caching on because we do some metrics on it)

The site I deposit on ?my sites? is
http://www.luxbook.lu/lux1/index.php/

The access details are for the second one (you have already used here http://fabrikar.com/forums/index.php?threads/zip-codes-and-cities-nightmare.38367/#post-193010).
It is a copy of my main site and she is not cached.
So you can test whatever you want, without having any doubts of destroying something.

And the issue persists, although you have changed this via FTP upload.

I will now update the complete files from Github and see, what it takes.


I really appreciate your work and I am really grateful for your help.

Thank you so much
Kosta
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top