9 votes
Accepted

Assets errors with MySQL 5.7.X

The problem is that many developers don't know how to write compliant SQL statements - they're software developers who find themselves also filling the role of database developers. This problem crops ...
  • 692
5 votes
Accepted

Playa broken in MySQL > 5.7.4

So far I've discovered and fixed one case and will add more here if discovered. File: mod.playa.php Line: 550 FROM $sql = 'SELECT DISTINCT(rel.child_entry_id) AS entry_id TO $sql = 'SELECT ...
  • 692
3 votes

How can I add an ampersand (or similar) following all but the final entry in a Matrix loop?

I think the best way achieve this is to do by adding CSS. For that you just need to create one class pipe containing the + sign (either with an image or with color). Then put that pipe class on ...
3 votes

Wygwam / ckeditor errors on upgrade

Did you just upload the folders and have them over write the existing ones? If so, this doesn't always work well, especially with a large addon like WYGWAM. Try, deleting the folders on the server and ...
  • 1,987
3 votes
Accepted

Assets: Cannot upload file using "simple file input" method

This is due to a change in how EE validates Channel Form fields (not sure when this was implemented). When you upload a file via a file field, that field name isn't actually populated in the $_POST ...
  • 17.4k
2 votes
Accepted

Working with staging server and production server - can they share the same Assets locations?

I have a client that has a similar setup with Assets and S3 and it works without issues, content created on local, dev, staging has no issues being added to the live site or any combination of that. ...
  • 7,556
2 votes

How do I link 2 css files in 1 wygwam entry? is that possible?

Not sure about Wygwam, but you can always use the @import option in CSS to internally link another CSS file within the other.
  • 498
2 votes

How to see if a checkbox is selected?

I had the same problem post upgrade from EE 2.8 to 2.10 and found that I needed to change the conditionals as follows to make them work again: {if '{my_checkboxes:selected option="value"}' == '1'}
  • 645
2 votes

Missing thumbnails in Assets

It turns out my database.php file had an extra blank line at the beginning. (see that extra line?) And this was corrupting output in EE. Any php file that is included (called by the main php file) ...
  • 382
2 votes

Assets in Grid In Low Variables - multiple files

I reported this bug to Pixel & Tonic, and they right away got working on a "duct-tape" type fix. It seems, to get this working, in Assets 2.6, you can change line 1810 of system/expressionengine/...
2 votes
Accepted

Limit S3 Upload Size in P&T Assets?

Sorry, Kristen, Assets does not have that feature.
2 votes

Display only unique values from a Matrix column

Well, the query module gives you direct access to SQL querying your database tables, so this seem quite possible. It depends on the complexity: Are you looking to isolate rows based on a unique column?...
  • 5,900
1 vote

Playa broken in MySQL > 5.7.4

I've encountered errors trying to open Playa fields due to the stricter group by rules (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by) In ft.playa.php I changed ...
1 vote
Accepted

WYGWAM 4 is throwing PHP and Fatal errors on 2.10.3

The minimum required EE version for Wygwam 4 is EE 3.1.0, which is why you're getting the errors. If you need to download an EE 2.x compatible version of Wygwam, you can via Devot:ee like so: https://...
  • 491
1 vote

Assets in Grid In Low Variables - multiple files

When using the Parse or Pair tag to output a Grid field, the tag will act the same as a regular Channel Grid field would. That means you can use the same template tags and parameters. That means the ...
  • 11.3k
1 vote
Accepted

Wygwam / ckeditor errors on upgrade

I finally solved it by completely uninstalling the Wygwam module! Follow the following steps to do it safely: Make a dump of your database, so you can restore data if needed. You also need this, to ...
1 vote
Accepted

Wygwam not loading

Have you updated Channel Images addon as well? Have you checked your developer console to see your JavaScript errors? It is almost certainly a 404 (like @balloonatic said), a JavaScript conflict, or ...
  • 5,900
1 vote
Accepted

Using Low Variables & P&T Pill in a Conditional

Make sure Early Parsing is enabled for that Pill variable, then use this syntax: {if lv_metasocial_meta_title_display == "title_site_name"} ...which is EllisLab's recommended syntax for conditionals....
  • 11.3k
1 vote

ExpressionEngine Matrix :total_rows doesn't work when no rows

{matrix:total_rows} can't work if there are no rows in the field simply because EE doesn't parse any field tags that don't have any actual data. Matrix never even gets called and the tag gets replaced ...
1 vote
Accepted

ExpressionEngine Matrix :total_rows doesn't work when no rows

I believe when there are zero rows the matrix variable just returns false, so you can just use it in the conditional like this. {exp:channel:entries dynamic="no" channel="regions" url_title="[...
1 vote

Content Elements and P&T Fieldpack List Problem

In case any others might be struggling with this annoying problem: it's a compatibility issue, get the latest Field Pack (2.2) and everything works as it should :) The Field Pack Changelog lists the ...
  • 245
1 vote

Are the following addons compitable with EE 2.8.1

I am using following add-ons with EE2.8.1 from your list. 1. Assets 2. Cartthrob 3. Cartthrob Order Manager 4. Channel Images 5. Wygwam 6. Playa 7. Matrix 8. Profile:Edit
1 vote

How to make Assets ignore html files

There was a change in Assets 2.2.3, "config settings no longer require slashes in the array values". If you want Asset to ignore PHP, HTML and JavaScript files, you can try this: $config['...
1 vote

Working with staging server and production server - can they share the same Assets locations?

Not a bad approach; I'm using it on a large project now and we haven't had too many issues. In our setup, development/staging share the same database but have their own file system for templates/...
  • 1,785
1 vote
Accepted

Matrix & EE 2.9.2 SQL Error

You're missing a database column that was added in Matrix version 2.5 for compatibility with Better Workflow. It sounds like you may have updated the files for that add-on but not triggered the update ...
  • 2,255
1 vote

Matrix and Solspace Importer issue with saving properly

I would query the matrix table for an entry that doesn't work and one that does and compare the 2 to see if there is any difference.
  • 1,987
1 vote

Assets and Low Variables not compatible?

Appears the problem was a conflict with another custom add-on that was installed. I've disabled it for the time being and I'll review the source code to fix at a later date.
  • 1,986
1 vote

Pixelandtonic Assets: Set Content-disposition?

There's no hook for this in Assets, so you'd have to hack the add-on to add it. Look at line 821 of sources/s3/source.s3.php ... right after this line: $headers = array(); You can add something ...
  • 17.4k
1 vote
Accepted

{filedir_X} variable for Assets S3?

No there's not, but there's nothing stopping you from using a global variable for this purpose.
1 vote

Assets orderby Title

Nope. According to the docs you can only order by file_id, name, folder, date, and size.
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible