Hi, I have the next problem, here is my website -> http://n2panama.com/comer/ wich is under contruction. I want to show all the portofio items wich match with the categories when I clic on the sortable link. I mean now I just can see the items displayed on the home page.
Sort Portofolio on Home Page
10 posts from 3 voices-
Posted 8 months ago #
-
Hi,
I am sorry, I probably didn't understand your question but your portfolio is sorting now just fine, is the problem that the results shows are not for the correct category? So if you click 'Zona Belle VIsta' only one item is left after sorting - 'Cabanga'. This is not correct?
Thanks,
Nick
Posted 7 months ago # -
Yes they are working fine now. Sorry for my english !
When I clic con "Zona Bella Vista" I just have one item but on the portolofio we have more than 10. I want to show all the portfolios Item but I'm just getting a few items.
Posted 7 months ago # -
Hi,
You have 25 errors on the page. Lets fix them first. Since maybe these are the 25 missing restaurants.
Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-16-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-12-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-15-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-14-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-11-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-13-local-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-06-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-07-nombre-284x211.png Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-05-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-10-local-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-08-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-09-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-04-cocina-284x211.png Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-03-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-02-plato-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/restaurante-en-panama-greyscale.el-gran-rincon-venezolano-01-local-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/1-greyscale.Restaurante-Cabanga-Fachada_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/9-greyscale.Restaurante-Cabanga-Patac%C3%B3n-Maracucho_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/8-greyscale.Restaurante-Cabanga-Pabell%C3%B3n_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/3-greyscale.Restaurante-Cabanga-Interior_2_800-e1348684847913.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/7-greyscale.Restaurante-Cabanga-Men%C3%BA-con-pollo-asado_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/6-greyscale.Restaurante-Cabanga-Empanada_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/5-greyscale.Restaurante-Cabanga-Camarones-apanados-con-patacones_800-284x211.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/2-greyscale.Restaurante-Cabanga-Interior_1_800-e1348684760987.jpg Failed to load resource: the server responded with a status of 404 (Not Found) http://n2panama.com/comer/wp-content/uploads/2012/09/4-greyscale.Restaurante-Cabanga-Arepa-de-carme-mechada_800-284x211.jpgAll of these images are missing, they are the grey color overlays.
I now see two restaurants for the category I wrote about earlier, did you add a new one?
Thanks,
Nick
Posted 7 months ago # -
Hi,
Images are not the problem. I'm gonna give you an example.
If I choose on my template builder show 25 restaurants on the home page when I clic on the category Zona Bella Vista the website shows me all restaurants with category Zona Bella Vista within the 25 restaurants displayed on the home page. What I want is the website shows all restaurant with category Zona Bella Vista.
Posted 7 months ago # -
Hi,
I understood the requirements. What I am saying is that if jQuery which controls the portfolio sorting is throwing 25 errors, its best to fix them first since we are trying to find out why the same program that is throwing the errors is not functioning correctly.
I have a suspicion though, that because there is pagination, the remaining 23 restaurants are on pages 2 and 3. I will take a closer look right now.
Thanks,
Nick
Posted 7 months ago # -
Hi,
I took a look and everything is working correctly. What is happening is that you have a total of X number of restaurants, with Y number of restaurants being shown per page for a total of Z number of pages. The sorting works on a per-page basis. What that means is that whatever the Y number is (20 per page let's say) , only those 20 restaurants will be sorted , and you would need to go to page 2, 3 and the rest of the Z number, and filter on each one as was done on the initial page.
From my understanding, you are expecting the following:
1)You want to be able to have X (500) restaurants, but on the first page show a random mix of Y (20) restaurants from the 500 total.
2)The user clicks the filter and based on the filter chosen, all matching restaurants out of the X (500) total are displayed with 20 on the first page, for as many pages as there are restaurants in the selected category (with 20 shown on each page).
3) When the 'Next button' in pagination is pressed, an additional 20 results are shown from only the filtered category selected on the first page
The theme (at the moment) sorts only the portfolio items which are present on the page. A solution that may work for you, would be to increase the total number of items being shown on the first page, or to install an 'endless pagination' plugin for jQuery.
Such custom modifications are outside the scope of the support team and would require the services of a freelance developer.
Thanks,
Nick
Posted 7 months ago # -
Thanks for yous aswrer. I'm a php developer with some expierence using jQuery what I neet to know is where are those files located and if I need to modify the code or intall a plugin.
Thanks
Posted 7 months ago # -
Ahother question how can I order the portofolio items on the home page ?
Posted 7 months ago # -
Hi isaijr,
You can see the Avia AJAX sorting in js/avia.js lines 646- 771 as well is in includes>loop-portfolio.php and then the various calls to the actual framework functions within that file.
The issue, and this has been asked about quite a bit, is that the sorting function can't load in additional portfolio items dynamically. It can only sort what is shown on the page. To change that would cause a significant hit to performance and is why Kriesi has not re-written any of the themes that use this effect to do so.
Regards,
Devin
Posted 7 months ago #
Topic Closed
This topic has been closed to new replies.














