Dylan
  • Member for 8 years, 11 months
  • Last seen more than 2 years ago
  • Melbourne, Australia
Stopping WYGWAM from assigning dimensions to images
Accepted answer
19 votes

You need to create a custom config file for CKEditor that redefines how HTML is generated for images. Create a JavaScript file called something like 'ckeditor_config.js' and then set Wygwam to use it. ...

View answer
Wygwam - automatically wrap media embed with custom html
Accepted answer
8 votes

You can do this without editing the Wygwam source. First you need to create a custom config file for CKEditor. Create a JavaScript file called something like 'ckeditor_config.js' and then set Wygwam ...

View answer
Slow display of Channel entries
Accepted answer
5 votes

First off it would be a good idea to establish how slow your template is rendering and how many database queries are being performed. I would then strip back your template and add each element back ...

View answer
Output plugin result as template tag
Accepted answer
4 votes

Yes this is possible. It took me a while to find some documentation when I first tried to do it within a plugin. You need to look at the docs for the template class instead of the plugin API. ...

View answer
Is there a way to display just 1 low-reorder channel from a order set that has multiple channels?
3 votes

Low Reorder extends the native channel entries tag so you should just be able to use the channel parameter. I tried the following and can confirm it works. {exp:low_reorder:entries set="1" channel="...

View answer
My First Plugin
Accepted answer
3 votes

You need to loop through the query result and build an array containing your variables. Using the following code after your query should work. if ($query->num_rows() == 0) { return $this->...

View answer
Getting an 1054 Error with new EE Twitter Plugin
2 votes

It looks as if there's a conflict between the Click Rain Twitter and NSM Twitter modules. I think that they are both trying to use the 'exp_twitter_settings' table for their settings. You could try ...

View answer
Hide menu item if no results for a certain channel
Accepted answer
2 votes

Expression Engine will be trying to determine the parameters for your channel entries tag dynamically from the url so you need to turn this off. You can do that with the dynamic="no" parameter. You ...

View answer
Conditional Formatting: if the value matches one of these
Accepted answer
2 votes

For a normal conditional to work you would have to write it like this: {if logged_in_member_id == "4333" || logged_in_member_id == "3871"} However that's not very flexible and isn't going to work ...

View answer
Losing Active Status of Category in Pagination
Accepted answer
2 votes

I haven't used the active variable before so I'm not sure why it's not working with pagination, however you should be able to use the segment variable in your conditional instead: {categories} {...

View answer
Stash only outputting 1 of each item rather than 15 as set by channel entries limit - help
2 votes

There's two problems with your second example that I can see. The first is the EE parse order. To quote Mark Croxton: Like the layers of an onion, EE parses module tags from the outwards > inwards ...

View answer
SSL form action issue - Zoo Visitor
2 votes

You can use the secure_action="yes" and secure_return="yes" parameters from safecracker in the Zoo Visitor login form tag. There's a Zoo Visitor support post on Devot:ee. I've also tried this on my ...

View answer
Rendering entry titles in dropdown using Stash
Accepted answer
1 votes

Your usage of the stash tags is slightly wrong. It should be {exp:stash:set_list} not {exp:stash:set_product_list}. The same applies to your usage of the {exp:stash:get_list} tag. Updating your code ...

View answer
CE Tweet Errors
Accepted answer
1 votes

It looks like CE Tweet is trying to access the cache because your OAuth credentials aren't working with Twitter. I'd double check the credentials in your config file as outlined in the CE Tweet ...

View answer
How to handle 404 with segment_2 misspelling
1 votes

Assuming that you want a general solution for redirecting misspelt and non-existant url_titles in your url, you need to use the require_entry parameter in combination with a no_results conditional as ...

View answer
Using mobile and CE cache together
Accepted answer
1 votes

You should be able to cache both versions with CE Cache. You just need to place a variable into the CE Cache id parameter that differentiates between the mobile and regular versions of the website. I ...

View answer
Expresso-Store: New Payment Plugins - Where do we find them?
1 votes

You could either develop your own custom gateway integration or contact Exp:resso to get a quote for building it for you. The payment library in Store, CI-Merchant, is open source so you can checkout ...

View answer
If Page is not home page
1 votes

Testing against a specific value seems to work more consistently in EE. So you could test if segment_1 is not empty: {if segment_1 != ""} Not the home page {if:else} The home page {/if} or ...

View answer
Building an add-on that accepts data from a custom front-end URL
1 votes

Switchee is a plugin that will let use switch/case logic in your EE templates and allow you to use your template more like a controller, responding with different chunks of code based on the variable/...

View answer
Advance form - show a field from field group of the channel
1 votes

This is a little tricky but Low Search's relationship filters may be able to do what you require. They essentially allow you to limit your search results based on the child or parent entries defined ...

View answer
Define links with a trailing slash /
0 votes

There's no way -- that I'm aware of -- to force trailing slashes within EE itself. I would hardcode the trailing slashes into your navigation where possible and failing that use a rewrite rule within ...

View answer
Matrix Fields Causing Page to Load Very Slowly
Accepted answer
0 votes

How many database queries is your template code generating? If you're not sure, turn on EE's Output Profiler. Admin > System Administration > Output and Debugging. Every time you use the {...

View answer
Using a module tag as parameter adds +1 query per loop
0 votes

This appears to be a limitation of using module tags as a parameter of any tag that produces a loop. I found two ways to avoid using the module tag as a parameter and therefore the additional queries ...

View answer
After Upgrading Matrix 2.4.3 → 2.5.3 P&T Dropdown Fields Fail in Templates
0 votes

I'd try upgrading to the latest version of P&T Field Pack on github (version 1.1). I tried it out and this version of P&T Dropdowns works on EE 2.5.5 for me. If that still doesn't work on your ...

View answer
Problems with tag pair in pt_multiselect
Accepted answer
0 votes

Try grabbing the latest version of P&T Fieldpack from github. It's now up to version 1.1. I just tried it with your values and it's working fine with the tag pair. If that doesn't work please post ...

View answer
Simplest/Most Efficient Way to create a Definition List in channel fields
0 votes

P&T List from Pixel and Tonic is also great for doing something like this if you have fixed Definition Terms but need your user to be able to add multiple Definition Descriptions. Just define a ...

View answer