4 votes
Accepted

Adding value to {count}

By default, EE is support calculations in conditions only. For other cases you can use MX Calc {exp:channel:entries channel='links' orderby='link_order' sort='asc' dynamic='no' category='12' parse="...
  • 5,781
3 votes

Asterisk next to channel entry title

If an entry has auto-saved data which hasn't been saved manually yet, the entry will be marked with the asterisk you're seeing.
  • 11.3k
3 votes
Accepted

Output the value of field1 * field2 within an entries loop

You can use MX Calculator for any calculation. But possible you can use query module instead of channel:entries (if you have some simple fieldtype which keep they data regular way). In this case ...
  • 5,781
3 votes
Accepted

a less expensive way of grouping entries by category

So my experimentation here brought me to Stash. Much more succinct now and gives me everything I need in just 66 queries before caching :) {exp:channel:entries dynamic="no" channel="articles"} {...
  • 2,473
3 votes

Cleanest way to list entry titles with links to body of entry below?

The only sensible way to do this with a single channel entries loop is to use Stash and create one or more Stash lists within your loop. Then outside the entries loop use the Stash list to output the ...
  • 7,176
3 votes
Accepted

Possible to alter url_title field so it populates from the title and another field

Have a look at the Magic Fields add-on - it can do this.
  • 17.4k
3 votes
Accepted

Channel Entries API/Model: Get created Id or Entry by Field Name

Well, logically the last submitted insert query from the API is in the channel_data table. This tables Primary Key is entry_id, so you could try this CI command after you run the save_entry method: $...
  • 5,900
3 votes
Accepted

Expression engine 3 -get the url of a channel entry

there is no such thing as an url in EE. You can however grab the url title like so: {url_title} however, you'll either have to do something like <a href="(path="template_group/template"}"> (...
3 votes
Accepted

Limit number of Expression Engine Channels

No idea where you heard that tip as it's simply not true. I've worked on sites with upwards of 15 channels without issue. Granted, the more channels you have the more fields you will have which may ...
  • 3,163
3 votes

Specific word choice in URL title is causing a 404 error on a page. Can anyone help?

Finally resolved this. On a whim I decided to try the URL /en and that had the same effect too so that meant it had to be language related, with the original problem being with 'de'. In my htaccess, ...
  • 411
3 votes
Accepted

Method to add multiple fields to a channel entry

Easy, I'd create a grid field with Date | Time | Location | Price. For ease of management I'd create a separate channel for locations (manage all locations separately to stop typos and misspellings ...
  • 3,163
3 votes
Accepted

Channel Entry link to external URL

What I'd do is set up a field (eg blog_offsite_url) to store an optional offsite URL. Then in your link from the blog index page, use a conditional like this. {if blog_offsite_url} <a href="{...
  • 7,961
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 ...
3 votes

Channel entries vs embed files

I'm really confused by your question, but I'm going to make an attempt at clarifying some base concepts that I think you are wrongly assuming about a commercial grade CMS (content management system) ...
  • 5,900
3 votes
Accepted

Relationship Field Conditional Not Working

Although it is technically less efficient, you should try embedding it to render as a tag in the conditional like so: {if '{featured_movie:video_id}' != ''} Try that. As in the docs, if it isn't ...
  • 5,900
3 votes
Accepted

Channel Entry Model Not Saving Custom Fields

You may be using the incorrect field name. You can't access it via its short name, it has to be by it's field_id. Here is an example of how I do something like this: // these are usually set at the ...
  • 5,900
2 votes

Restrict Category Assignment To A Single Leaf Node

"Assign", yes. "Restrict", no. Unless you find a plugin. You can ensure that an entry is NOT assigned to categories above the node chosen by setting "Auto-Assign Category Parents" to "No".
  • 339
2 votes

Entries mysteriously closing

In my case Status Groups was never set in the Channel Administration section of EE. This meant when a member updated an entry, as they had no assignment to Status Groups it defaulted to Closed and did ...
2 votes

Add-on for inserting Google Map embed?

The short answer to your question is yes Google Maps for EE would be able to do exactly what you want to do. You would add the included fieldtype to your channel which would allow a user to enter the ...
  • 7,556
2 votes
Accepted

How do include a file path in a jQuery statement?

The url title is not specified in your script. I would recommend putting the url title in a data attribute in the html code. <a data-urltitle="{url_title}" class="fancybox project {categories}{...
2 votes

Remove inline CSS and size attributes from user-inputted iframe?

You aren't able to edit an iframe's content, true. But the iframe's itself still belongs to your page, and you can edit the attributes. I just tested and was able to do something similar to: var i = $...
  • 418
2 votes

Is it possible to have "Stickiness" expire after a certain time limit, or is there any workaround for this?

How about just using the Expiry Date? In the featured articles section of the site, use the following tag: {exp:channel:entries show_expired="no"} which will only show articles which haven't ...
2 votes

Child Page templates

ExpressionEngine relationships between pages / entries in the core are linear, there is no such thing as a child page. If you want to have nested URLs, have a look at third-party add-ons, such as ...
  • 2,846
2 votes

How to feature entries on homepage

Another option would be to use the status parameter on the channel entries tag. If you were to add a status of featured you could then do something along the lines of {exp:channen:entries channel="...
  • 7,556
2 votes
Accepted

Output x twice then y, then x twice

This builds on CreateSean's answer, since you're using Stash. You'll need a math plugin and in this example I'm using Math from Caddis. {!--set main multi-channel entry list--} {exp:stash:set_list ...
2 votes

Overriding ORDERBY and SORT on channel:entries and output entries in order given by embedded entry_id list

You can use the fixed_order="{embed:ids}" parameter. Documentation can be found here.
2 votes
Accepted

Overriding ORDERBY and SORT on channel:entries and output entries in order given by embedded entry_id list

Sounds to me that the fixed_order parameter is exactly what you are looking for. Related: Expression Engine Entries Loop in Reverse
  • 1,079
2 votes
Accepted

Channel Entries - searching relationship field?

This is easy using Low Search and its Relationships filter. You don't necessarily need a search form, as you can use the Results tag as a drop-in replacement for the channel:entries tag. Then you can ...
  • 11.3k
2 votes
Accepted

How to create a button on the Entry Edit page?

There is no API for adding anything other than fieldtypes or tabs to the entry screen. I'd suggest one of two options: Build a fieldtype which displays your button and adds the javascript you need, ...
  • 17.4k
2 votes

orderby="random" same results being displayed every time

So it looks like I have to disable "Cache Dynamic Channel Queries?" in Admin->Channel Administration->Global Channel Preferences For random ordering to function properly
  • 51

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