Home > playa > Filtering Playa entries in the drop panes loads site index template

Filtering Playa entries in the drop panes loads site index template

February 17Hits:3
Advertisement

When I start typing to filter entries in the Playa drop pane my list of entries is being replaced by my homepage template. There are no javascript errors. What could cause this?

I'm using Playa 4.3.3 on EE 2.5.5.

Edit: As suggested by Jérôme below, removing this from my .htaccess fixes the issue:

RewriteCond $1 !\.(gif|jpe?g|png|pdf|js|css)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] 

How can I deal with this?

Answers

Removing the index.php shouldn't be an issue, but you can try adding to /system/expressionengine/config/config.php:

$config['assets_site_url'] = "/index.php";

It may also be worth trying:

$config['assets_cp_path'] = "./";

those should get you moving forward with your .htaccess in place. Please let me know how it goes.

Another somewhat ridiculous way to cause this problem, is to do some HTML prototyping in a file called index.html and keep that in your EE set up, therein confusing the Playa because things aren’t being properly routed through index.php

Yes, I am ashamed to admit that’s what caused this for me.

Tags:playa

Related Articles

  • Filtering Playa entries in the drop panes loads site index templateFebruary 17

    When I start typing to filter entries in the Playa drop pane my list of entries is being replaced by my homepage template. There are no javascript errors. What could cause this? I'm using Playa 4.3.3 on EE 2.5.5. Edit: As suggested by Jérôme below, r

  • EE Always Loading Site Default TemplateNovember 4

    I just did a DB upgrade from 2.4 to 2.10.1. And I switched my templates to save as files. And I am having issues where EE will always load the site default template index. I've removed Pages and Better Workflow to see if that would help. If I try to

  • Front-end filtering of entries combining multiple selectionsDecember 4

    I'm wondering how best to handle providing the user the ability to filter channel entries via the front end with the selection of multiple criteria simultaneously - kind of like some real estate sites do, only in my case, I'm looking to filter entrie

  • How to remove entries in linux mint boot loaderJuly 2

    How do I remove unwanted entries in linux mint boot loader? --------------Solutions------------- The proper way is to modify the /etc/default/grub configuration. The cheap way is to modify grub.cfg but it will be overwritten at some arbitrary future

  • Playa Entries and Unique IdentifiersApril 26

    I'm displaying a list of Packages and within those Packages are Products. The Packages channel entry has a Playa field populated by Product channel entries. So to display them I have something like this: {packages} {!-- Playa field --} {exp:playa:chi

  • When parsing {exp:channel:entries} are all channel fields loaded, or only the ones used in the templateJanuary 7

    Scenario: I have a collection of projects (the channel) in a portfolio page (the template), with the title and feature image showing on each. When I click on a project, I want to have a modal box with all information about it - description, gallery o

  • Playa Upgrade 2.9 - playa not installed and now unable to load site preferences errorAugust 6

    I upgraded a site from EE 1.7.3 to EE 2.9.1 - the last piece was upgrading Playa. The site was working fine until that point. When I went to upgrade Playa, I received the following error: Error Number: 1060 Duplicate column name 'parent_element_id' A

  • Load specific page template based on URIAugust 25

    I have a page template that I want to load, when ever my $_SERVER['REQUEST_URI'] is like this, www.site.com/link/147 where the number 147 will be variable. i.e. I would like a call a page template, whenever my $_SERVER['REQUEST_URI'] contains /link/

  • Is it possible to stop selected plugins from loading on certain template pages?August 2

    I have a template page that has form on that is only used once in my site. The form uses form validation using jquery validate plugin (such a great plugin). Once the cart66 Plugin is loaded, the form validation stops working. Rather spending ages loo

  • How to load/include category templates based on conditionals?August 6

    I have this lines to get different template, I can get the desired template but also i'm getting the default template at the end of theme. I tried to skip the code with goto but this fuction is unavailable :D (old resourse) and breaking the code show

  • apt-get error: Unable to find expected entry contrib/binary-i386/Packages in Meta-index file (malformed Release file?)January 8

    I am getting below error when I try to update. I had gone through the previous articles related to this question but none of them were helpless. Could you please help me to rectify this? W: Failed to fetch http://archive.cloudera.com/cdh4/ubuntu/luci

  • Unable to Load Site PreferencesApril 24

    I'm trying to duplicate a site onto a different server and am running into the old "Site Error: Unable to Load Site Preferences; No Preferences Found" error. Through searchign the forums some fixes I've tried are to re-export / import the databa

  • Site Error: Unable to Load Site Preferences in MSM siteMay 9

    I recently installed a version of EE on my local machine(Mamp Pro), v2.5.5 - Build Date: 20121220. I set this site up as per usual and started building my initial site templates etc ready for the master site which would encompass all the other child

  • "Unable to Load Site Preferences; No Preferences Found" error with HTTPSNovember 7

    I set "Force HTTPS connection for checkout and order tags" to "yes" in the Exp:resso Store settings and was met with this error when viewing my store pages using https: Unable to Load Site Preferences; No Preferences Found All http pag

  • Force WordPress to load a specific templateApril 16

    How would I force WordPress by code to load a template file on my home page? I know how to do it via the backend but I would like to create a plugin and have the option to set the front page from inside the plugin. Basically, I am looking for the cod

  • Get markup for post without loading into the templateJune 13

    I am writing a shortcode plugin that displays posts according to some parameters passed into the shortcode. I have the wp_query to get the posts and now I am trying to get the markup for the posts according to the theme's template files. In essence,

  • how could I load a different template part by pageMay 20

    I would like to use get_template_part(); to load a different template parts on different pages. so on the home page it loads get_template_part( 'content', 'home' ); and on the blog page it would load get_template_part( 'content', 'blog' );. I'm new t

  • Page and Posts loading as index page? Not loading the contentJune 18

    I've been developing a website on wordpress for some time now and came across some issues but until now I could figure it out, not today... Yesterday I've worked some more on the website and today when I came back to do some more work the pages on my

  • Posts of custom post type load the page templateOctober 30

    I make a custom post type named "event". The weird thing is when I visit a post in this type, it shows the archive-event template. If there's no archieve-event.php file, it loads the page template. I put the single-event.php file in the root dir

  • Drop/Create MongoDB TTL index vs. collMod in productionDecember 15

    I'm working with a MongoDB collection containing over 250 million documents that has an existing TTL index and is written to with a pretty high frequency. I'd like to reduce the TTL value for the index from 60 days to 30 days, while minimizing produc

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.900 s.