Alex Kendrick
Moderator
  • Member for 9 years, 2 months
  • Last seen this week
Why doesn't 404 kick in when a bad URL is entered?
Accepted answer
4 votes

Since you are hard-coding an entry_id in your channel:entries tag in your products/index template, and as long you don't need any additional url segments to trigger other behavior (such as pagination ...

View answer
Limit Channel Entry to 1?
Accepted answer
8 votes

There are two add-ons that are very useful for single-entry channels: As Jeremy mentioned, Single Entry (great add-on!) or CP Menu Master -- also a useful add-on (formerly "Hidden Channels"). Either ...

View answer
Using Mo' Variables in Module Tag Parameters
Accepted answer
2 votes

One option is to set your Mo' Variables and pass them to an embedded template where you loop through your calendar. So you could do: {embed='embeds/_calendar' start="{if get:start != ''}{get:...

View answer
Autocomplete Field Type?
1 votes

Your best bet is probably going to be to develop your own Fieldtype add-on. Using Pkg.io to generate the boilerplate will kickstart the process for you. That said, if you want to use an existing add-...

View answer
How do you do HTML tables?
16 votes

Content Elements contains an option for tables that lets the user create columns on the fly. Haven't tried it yet but it looks pretty awesome and seems to have useful template tags for the table ...

View answer
How can I check if an event is currently happening with Solspace Calendar?
2 votes

Updated my answer to reflect your expanded question. I tested these conditionals inside both the exp:calendar:cal and exp:calendar:events tags and it works as expected. I did not test it with ...

View answer
How to send email to admin if no_results?
Accepted answer
6 votes

Take a look at Email-from-Template. This plugin sends its tag contents in an email (with or without echoing that content back to the template). By placing it in a template, and inside a ...

View answer
Checkbox Fieldtype Conditionals
2 votes

I second the answer posted by @James, PT Checkboxes are more flexible, but if you want to use the native checkboxes the following will work: {checkboxes_field} {if item == "Option One"}<p>...

View answer
Can I turn a file field back into a text input field?
Accepted answer
5 votes

How can I convert a file fieldtype back to a text input field containing {filedir}filename? You can actually just edit the custom field in the Control Panel, changing it from File to Text Input, and ...

View answer
Is there a better way to direct users after adding/editing an entry?
Accepted answer
11 votes

Deviant is great for this. Deviant allows you to control, globally or on a per-channel basis, where authors land after publishing, updating or deleting entries in the EE control panel. You can ...

View answer
Return message: if no results
Accepted answer
10 votes

You just need to add require_entry="yes" as a parameter on your opening channel:entries tag and your code should work as expected. See the documentation on that here.

View answer
Is there a way to display "last edit date" when viewing entries in the admin panel?
Accepted answer
20 votes

Zenbu will let you filter entries by edit_date (similar to the Edit page in ExpressionEngine, see screenshot below). If you don't want to use an add-on you could run a MySQL query to check the ...

View answer
Email worked on dev server, not on live server
1 votes

If all of the following are true: emails come through fine when sent to addresses that do not use the same domain as your site emails are never delivered to any user@example.com (where example.com ...

View answer
Display a message on visitors first visit
Accepted answer
7 votes

There is Show Once. It does use cookies, but other than that it is probably just what you are looking for. From the add-on page: Show Once is the module for ExpressionEngine 2 that allows showing ...

View answer
Date field type - remove "Localised/Fixed"
4 votes

If you want to stick with the EE date fieldtype and not display the localized/fixed select then you could use jQuery. To hide them across the board, $('.hasDatepicker').next('select').hide(); will ...

View answer
Uploaded Image: how to get height and width? Restricting height and width?
Accepted answer
6 votes

Assuming you are using the ExpressionEngine File Fieldtype... In answer to #2, take a look at the documentation for the file field. Specifically, the variable pair usage will allow you to pull in the ...

View answer
How to link JS in template files ala CSS?
Accepted answer
15 votes

Yeah, the smart cache-busting is a useful feature of keeping your CSS in EE. But add-ons will let you do the same and keep your CSS outside of EE. To get similar behavior for your JS files you need ...

View answer
"Word Separator for URL Titles" hidden config variable
Accepted answer
13 votes

Yes, there is $config['word_separator'] = "dash"; or $config['word_separator'] = "underscore";

View answer
Members upload photos into their own subdirectory?
Accepted answer
6 votes

If a member is a channel entry (or tied to a channel entry) and you are open to using an add-on other than Assets, then Channel Images would be a good route. It automatically creates a separate upload ...

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

With Stash, inside you pagination tag pair you could do: {paginate} {exp:stash:set name="page_number"} Page {current_page} {/exp:stash:set} {!-- any other pagination stuff here --}...

View answer
Migrating/duplicating Content/Members from a Production site to Development
4 votes

If you're just looking for a convenient way to transfer the latest data from one database to another (say from the production database into your development database) then Navicat's data transfer ...

View answer
Freefom, Captcha and Ajax Submission
6 votes

When a Freeform form is submitted with AJAX Freeform can provide JSON response containing errors or success, which can be used to display errors. This has worked well for me on previous versions of ...

View answer
Previous and Next tags with conditional to display pipe character
4 votes

If you want a solution that uses entry linking (rather than pagination as Patrick suggested) then either of these add-ons will allow you to do conditionals based on whether there are next/prev entries ...

View answer
Filtering Member List from Multiple Member Groups?
Accepted answer
8 votes

There are probably multiple ways to accomplish this but the Query module has really become my go-to when there are specialized requirements for the data I want to display, or when there aren't obvious ...

View answer
Accessing a template via AJAX from a template group
Accepted answer
8 votes

What is the path to load the template in your browser, through EE (like a normal page on the EE site)? Did you try using that path, too? That would be the one I'd expect to work. You'd want to do this ...

View answer
1
3 4 5 6
7