Tyssen
  • Member for 9 years, 2 months
  • Last seen more than a month ago
Responsive Images solution with native EE and/or Addons
Accepted answer
16 votes

I use an add-on I developed which sets a screen width variable which you can use in conditionals and then I use an image sizing plugin to serve up different sized images based on that. A bit more ...

View answer
Stash vs. Embeds
13 votes

You'll probably need to show more of your template code but where Stash could benefit you is that you could use a single channel entries tag to output both the single entry view data and the recent ...

View answer
How do I remove an 'index' template from a Template Group?
7 votes

You can't have a template group without an index template, but you don't have to use it. You could either set the preferences for the template in the CP to have it inaccessible to guests or simply ...

View answer
How can I remove ICQ, Yahoo, MSN, Birthday fields from member profile admin in the Controlpanel?
Accepted answer
6 votes

I've just knocked up a quick accessory that does a similar thing to what Matt suggested.

View answer
Best practices for using Stash partials with one layout but slightly different content output
Accepted answer
5 votes

Personally, I tend to use separate templates and then do: {embed="_layouts/.two-column"} {snippet_common_page_elements} {!-- Unique page code goes here --}

View answer
How to filter relationship field options?
Accepted answer
5 votes

Not with the native relationship field but you can with Playa.

View answer
Take user straight to checkout (without adding items to a cart) using CartThrob
Accepted answer
4 votes

You can control what template a person gets sent to when they click on a button in the add_to_cart_form and you can also control what's on that template. The default templates that Cartthrob comes ...

View answer
What do you put in your .gitignore for ExpressionEngine sites?
4 votes

*.DS_Store .gitignore .htaccess .ftpquota /expressionengine/cache/* /assets/cache/* /uploads/avatars/* /uploads/member_photos/* /uploads/pm_attachments/* /uploads/signature_attachments/* The path to ...

View answer
Add a randomised body class
3 votes

Low Random looks like it'd do the job.

View answer
EE - move channel entries from one channel to another ( they share the same channel fields )
3 votes

You have to update the exp_channel_titles table too.

View answer
Any ideas on how to link members to entries?
3 votes

Maybe LikEE, Like, Favorites or Shortlist would fit the bill?

View answer
Possible to "package" a Channel/Template/etc into a module?
3 votes

You could create a base install with a database that includes all the channels, fields and templates that you like to use. Simply export the db from your base install and import it into your new ...

View answer
Can jquery-based sorting or loading, like isotope or infinite scroll have a negative effect on for SEO?
3 votes

In most cases you wouldn't want your category, tag or archive pages being indexed anyway as it's much more important that the single-entry pages are the ones that are ranking, and also because you can ...

View answer
How can I load different CSS files, depending on the channel?
3 votes

It depends how your templates are put together, but in my case, I have a single embedded template which contains the overall layout so I would pass an embed variable e.g. {embed="layout" css_file="...

View answer
How to get pagination page number outside of its tags?
Accepted answer
3 votes

I wrote a plugin a while back to do this. It was the first one I wrote so apologies in advance if it's not up to scratch. Example is included in the plugin usage, but basically, place {exp:...

View answer
How to create a complex stockist list using Structure and/or categories
3 votes

It's possible that just using pages in Structure will be easier, but a couple of things to consider if using categories: Low Seg2Cat and NSM Categories.

View answer
EE 2.9.0 || Template Routing
Accepted answer
2 votes

I wouldn't say the documentation stinks, there's an example near the top of the page under Usage close to what you want. In your case, it looks like you probably want: /tournaments/public-schedule/...

View answer
Multiple groups of FieldTypes / Blocks of content
Accepted answer
2 votes

You could do it with Matrix and create a column for every possible piece of content, although it could get unwieldy. Or maybe Entry Widgets will do what you need.

View answer
ACT ids are getting indexed by search engines. How can I prevent that?
2 votes

You could probably write a .htaccess rule which 301s any URL with a certain ACT ID to a corresponding URL without. Here's an example.

View answer
Using Stash to get related lists
2 votes

You don't appear to have any {exp:stash:set} or {exp:stash:get} tags in your template. You can only do {stash:variable_name} inside a {exp:stash:set} or {exp:stash:set_list}.

View answer
Saving Checked radio buttons in safecracker
2 votes

This should be a comment rather than an answer but I can post better code examples here. So the example for using custom fields looks like: {if radio} {options} <...

View answer
After upgrading an EE1 site to EE2, should you delete any unused database tables?
2 votes

I would've thought that any exp_weblog_ tables should automatically get converted to exp_channel_ so if they're still there, that would raise a red-flag with me. Same with exp_trackbacks; if you've ...

View answer
SafeCracker - display radio and checkbox? set class in <form>? wrap hidden fields in <fieldset>?
Accepted answer
2 votes

Q1: what's not clear about the example? Q2: Form elements can be children of divs, that's fine. They just can't be directly children of the <form> element (although I have a feeling that HTML5 ...

View answer
Cart Throb - live rates and disable shipping
Accepted answer
2 votes

You might need to wrap your code for the live rates in a cart_info tag and then check the value of shipping first, e.g. {exp:cartthrob:cart_info} {if cart_shipping>0} live rates code ...

View answer
Specifying currency on a per-product basis in CartThrob
Accepted answer
2 votes

You should be able to use the set config tag if you have two different price fields, e.g. {exp:cartthrob:set_config} {if euro_price_field} {set_price_field channel="products" field="euro_price_field"}...

View answer
Is there a plugin that will strip a bit of text out of a string?
2 votes

Surgeree also does regex replace.

View answer
Adding forms to individual entries where only one or two questions change
Accepted answer
2 votes

For anyone else following along, it looks like you can do exactly what I want with http://devot-ee.com/add-ons/proform-catchall

View answer
Restricting content based on visitor’s location - EE3
1 votes

You'll need to use an IP plugin but it doesn't look like any of them have been updated to v3 yet. You could try contacting the authors of, for example, https://devot-ee.com/add-ons/ipgeobase https://...

View answer
Only show categories if entries exist in that category AND in another separate category
1 votes

This is what I ended up doing: {exp:query sql="SELECT COUNT(entry_id) num_cat_entries FROM ( SELECT entry_id FROM exp_category_posts WHERE cat_id IN (...

View answer
Atom/RSS feed outputting all versions of entries
1 votes

I think it's to do with the {DATE_ATOM} variable including the seconds which I think gets updated when editing an entry thereby triggering it to be displayed again. If you use {gmt_date format="%Y-%m-%...

View answer