eZ Community » Forums » Developer » Fetch the data dynamically
expandshrink

Fetch the data dynamically

Fetch the data dynamically

Wednesday 10 October 2012 7:46:45 pm - 4 replies

Hi,

is it possible to change the data dynamically...

I mean..

I have a page with about hundred files, the visitors can sort the order of the files by date , content and the months.

I don't have a problem to use the sort by order, I cannot find how I can change them!

Wednesday 10 October 2012 8:05:47 pm

Hello,

 your problem is not in ezpublish  try to use an array and then use javascript to sort or filter the line ...

 

 use this : http://tympanus.net/jPaginate/

hope it's help you.

 

Alexandre

Wednesday 10 October 2012 8:05:50 pm

I'm not sure exactly what you're asking, but you may be interested to read about sorting content list fetches:

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/list#eztoc87605_0_0_1

I don't know if you're listing files in a table or not, but if you are datatables might also interest you:

http://www.datatables.net/

Wednesday 17 October 2012 3:42:28 pm

Hi , 

thank you very much , 

I have done the page with javascript , but i wanted to know if there is a way like Tags in BlogPost in Javascript, where you click on a tag and you find all the blog posts with this keyword!?

concat( $node.url_alias, "/(tag)/", $keyword.keyword....

Thanks again 

Wednesday 17 October 2012 6:57:43 pm

Forgive me, I'm still not sure I understand. I think you want a client-side way to do the filtering on a list of objects that the view parameter (tag) does server-side. In that case, I would put your objects in a table where the tags you want to filter are in a column and use datatables to filter using the "search" feature (which you can leave up to your users or trigger programmatically).

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from