Jérôme Coupé
  • Member for 9 years
  • Last seen more than 5 years ago
1 answers
7 votes
1k views
DB error after upgrading to Playa 444: Duplicate column name 'parent_var_id'
Accepted answer
21 votes

The guys at P&T did come back to me in less than 24 hours with a fix. I'll post it here in case someone runs into the same problem. Take a look at the columns in exp_playa_relationships table ...

View answer
8 answers
20 votes
2k views
Config Bootstrap Options
12 votes

Solutions mentioned in the thread are all nice, but I think you learn a lot by creating your own config bootstrap. To that end, I found the following resources can help a great deal: DRY applied to ...

View answer
3 answers
9 votes
3k views
How to export/import channel entries between EE sites
Accepted answer
10 votes

The way I generally go about it is to create one RSS template per channel exporting the entries I want with all their custom fields (remember to specify a hight limit parameter if you have more than ...

View answer
2 answers
2 votes
91 views
Website's Company Information Stored In A Channel - good or bad?
Accepted answer
7 votes

If the project has relatively low needs in terms of site-wide data (read, If you don't need custom fields), then I tend to store these in global variables and snippets. When I need to store more ...

View answer
2 answers
5 votes
309 views
MSM & FIle Upload Config Hook
Accepted answer
6 votes

Actually, every upload location you create is going to have a different ID, be it one site or in multiple sites using MSM. You can thus safely keep everything in config.php becuse every upload ...

View answer
3 answers
1 votes
651 views
Stash - what is the scope of variables?
Accepted answer
5 votes

The reason you do not have access to that variable outside the loop is because your stash tags (getters and setters) are not parsed at the same time. EE module tags are parsed recursively from the ...

View answer
1 answers
3 votes
100 views
in Expression engine form Admin section there is option of validating "Is this a required field?"
5 votes

If your field is a Matrix field, just checking the native "Is this a required field?" is not sufficient. You need to look further down in your Matrix columns. There is an "Is col required" setting for ...

View answer
2 answers
1 votes
324 views
How do I remove an 'index' template from a Template Group?
5 votes

There seem to be two different questions here: Where do you store "assets" like CSS or JS files in an EE install? Personally, I store them out of EE and access them using either a path relative to ...

View answer
1 answers
4 votes
56 views
Is it possible to sort related_entries?
Accepted answer
5 votes

Using P&T's Playa a lot these days for relationships but, if you don't need all that raw power, my advise would be to flip your logic a bit and use reverse_related_entries which support orderby ...

View answer
2 answers
1 votes
88 views
Is There Anyway to Select a Primary Related Item in Playa?
Accepted answer
5 votes

If you do not specify orderby and sort parameters on the playa tags, the order in which they are displayed is the one in which they are displayed in the drop panes interface in the CP. Code {exp:...

View answer
2 answers
4 votes
1k views
{filedir_X} tag not parsing in File field
Accepted answer
4 votes

Just wanted to mention that parse file paths by Rob Sanchez will parse {filedir_X} variables. Usage below: {exp:parse_file_paths} {filedir_X} {/exp:parse_file_paths} To be used with query module,...

View answer
2 answers
0 votes
282 views
How to add/display/manage private videos that only a specific member group can access?
Accepted answer
4 votes

If you have a vimeo plus account, you can set the video as private and only allow the embedding on one site (yours). Pretty sure youtube has similar options (although not tested). This has worked very ...

View answer
2 answers
4 votes
631 views
Undefined index: checkbox_fields error when submitting safecracker form
4 votes

This was patched in 2.5.4, according to the changelog.

View answer
11 answers
12 votes
7k views
How to make templates output JSON?
4 votes

Did you guys have a look at Chris Imrie's data api add-on on github. Still alpha but interesting nonetheless.

View answer
2 answers
3 votes
563 views
Multiple custom matrix field in channel form issue
Accepted answer
3 votes

So, a bright (Latvian) mind was kind enough to look into this. It seems the problem lies with ExpressionEngine code on this one. Embeds or Stash will work just fine but you can also patch EE as ...

View answer
1 answers
0 votes
425 views
Problem with Stash nested lists
Accepted answer
3 votes

You need to use the context parameter and a unique identifier in your nested list. Generally using entry_id is the easiest way to create a relationship between your two lists. Stash {entry_id} in ...

View answer
1 answers
1 votes
255 views
GWCode Categories and Stash set/get_list
Accepted answer
3 votes

I think that by caching both lists, you could reduce queries a little bit further. Easier to add Stash caching / Mustash to the mix too. Something along the lines of: {!-- set stockists list (...

View answer
1 answers
1 votes
394 views
Alternative ways to pass embed variables
3 votes

Not natively I believe. I typically use Stash to do this nowadays. It will give you persistent variables as well as template inheritance so you can do things like this. Wrapper template <!...

View answer
2 answers
2 votes
191 views
Add to homepage and reorder
3 votes

Various approaches for such things. Here are my favorites: Create a homepage channel with one entry and as many custom fields as you need. You could use a Playa or a relationship field to select and ...

View answer
3 answers
2 votes
558 views
Show the category image belonging to specific post
3 votes

{exp:channel:categories} is used to output a list of categories belonging to a category group or assigned to a channel. What you want here is a list of categories assigned to an entry so you should ...

View answer
2 answers
0 votes
124 views
Editor ability to attach "events" to a page
Accepted answer
3 votes

Another option that I have used in the past is with Playa: Create as many channels as you need modules (text, events, video, 1 big image, image gallery, etc.) and enter content Create a "page" ...

View answer
3 answers
3 votes
254 views
Allow non member comments
3 votes

Any user is automatically a member of the default "guest" member group. To allow them to comment, just edit the "guest" member group preferences Control panel, members > member groups look for ...

View answer
2 answers
2 votes
187 views
Using Stash to get related lists
Accepted answer
3 votes

I think this is indeed a parse order problem. IMHO {exp:stash:team_member_id} is not set yet when you call it. You can track it down if you read the template debugging. Looks like the problem is that ...

View answer
2 answers
1 votes
271 views
Is there a way to limit display of entries to a within a recent time period?
Accepted answer
3 votes

What Derek said. If you are not a fan of PHP in templates, you could use the date and time plugin (free). Used it in the past for what you are describing, in combination with the start_on and ...

View answer
1 answers
0 votes
386 views
Stash set_list/get_list only returning one entry
Accepted answer
3 votes

What you currently do is setting a list every time a channel entries loop runs, which is why you only get the result stored during the last loop that matched your criteria. Put the set list tags ...

View answer
1 answers
3 votes
369 views
How to search Matrix?
Accepted answer
3 votes

I take it you want this to be optimised and not use a whole bunch of conditions inside channel entries loops. In that case, MySQL queries are your best bet here, IMHO. I would take the plugin route ...

View answer
1 answers
0 votes
66 views
exp_stash rows aren't being expired / deleted
Accepted answer
2 votes

Mustash is not the only way but it is the most flexible and granular way I can think of. If you are using Stash for caching, Mustash will be your best solution in terms of establishing cache clearing ...

View answer
3 answers
3 votes
235 views
How Do You Update Expression Engine?
2 votes

Same process here, except that I update all add-ons the site uses in the process. DevDemon updater can speed up the process a little bit.

View answer
2 answers
1 votes
1k views
Relationships/Grid Fieldtype can replace Playa/Matrix?
2 votes

On top of better compatibility with third party fieldtypes, Playa and Matrix also have, IMHO, better and more polished UI. For example, if your client needs to search / filter through loads of entries,...

View answer
1 answers
3 votes
151 views
Content disappearing from footer
Accepted answer
2 votes

To isolate the problem, I would Try with a very simple "hello world" snippet or embed and see if it renders Add a single simple exp:channel:entries tag in there and see if it works Add in your exp:...

View answer