9 votes
Accepted

WYGWAM stripping classes and styles

Go to Add-ons > Modules > Wygwam > Editor Configurations and select the configuration you want to edit. Look for the Restrict allowed HTML? setting and make sure it is set to No.
user avatar
  • 7,941
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 ...
user avatar
  • 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 ...
user avatar
  • 692
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 ...
user avatar
  • 17.4k
3 votes

Assets 2.3.2 Lib file - Causes PHP error

Ugh, wasn't logged in properly.... They sent me this on email support: If you could just replace line 814 in Assets_lib.php file with if (!(count($full_folder_list) == 1 && reset($...
user avatar
  • 163
3 votes
Accepted

Get label from PT Pill field

There is only one correct syntax style: {companies_type:label}. If it's not working you might have changed your options after saving an entry. So the stored value is not matching any options anymore ...
user avatar
  • 161
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 ...
user avatar
  • 1,987
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 ...
user avatar
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'}
user avatar
  • 645
2 votes

Assets v2.4 producing error when saving an entry after upgrade from EE v2.4 to EE v2.9

I'm using SuperSearch and getting the same issue, it appears that 'entry_id' is no longer being set in the settings array. I've fixed/patched for now by simply replacing line 2214 in the ...
user avatar
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.
user avatar
  • 498
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. ...
user avatar
  • 7,556
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) ...
user avatar
  • 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/...
user avatar
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?...
user avatar
  • 5,900
2 votes
Accepted

Limit S3 Upload Size in P&T Assets?

Sorry, Kristen, Assets does not have that feature.
user avatar
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 ...
user avatar
  • 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....
user avatar
  • 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 ...
user avatar
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="[...
user avatar
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/...
user avatar
  • 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 ...
user avatar
  • 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.
user avatar
  • 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.
user avatar
  • 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 ...
user avatar
  • 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.
user avatar
1 vote

Assets orderby Title

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

Channel Form: Why is Wygwam/CKFinder disabling the file browser for security reasons?

This just in from Brad at P&T: From what I can tell, if Admin->Security & Privacy->Security & Settings's "Website Session Type" is set to anything with session in it (session only, ...
user avatar
1 vote

WYGWAM failing to initialize ... one just one entry

Have this figured out. Steven's fix he mentioned with changing the field from TEXT to LONGTEXT was part of the fix. The other part was that there was some bad HTML in the field that caused WYGWAM to ...
user avatar
1 vote
Accepted

P&T Dropdown and Checkboxes with Channel forms

Kindly got an answer from the great guys over at Pixel and Tonic. You need to add this to your expressionengine config file. $config['safecracker_option_fields'][] = 'fieldpack_checkboxes'; $config['...
user avatar

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