Questions tagged [channel-entries]
Channel Entries are the primary tag used to show the content you create and edit via ExpressionEngine’s Publish section. It’s the most powerful tag in ExpressionEngine, and the most commonly used since its main function is to retrieve and display your site’s content.
740
questions
2
votes
1
answer
394
views
Channel Entries - Skip a particular channel entry
Okay, I've got a page with a url that has the channel entry title in the URL. At the beginning of the page, I show the single article for that entry, but then underneath the article, I need to show ...
2
votes
3
answers
188
views
Group Entry Listing By Channel
I feel like there's an obvious answer to this, but is it possible to have one channel entries tag with multiple channels and group the output by channel? For example:
{exp:channel:entries
channel=...
2
votes
3
answers
1k
views
Passing ID’s from a query to Channel Entries
I'm using quite a complex query using exp:query to generate the member ID's of members who have certain data in a custom field.
I'm struggling on how to pass the generated ID's onto a channel entries ...
2
votes
1
answer
178
views
Limit the amount of entries a user can post?
Is it possible to limit the amount of entries that a user can post. For example, if users are posting entries to a channel via a safecracker form, can I limit them to a single entry?
2
votes
2
answers
379
views
Channel Entries - Is it possible to search title field with starts with?
Based on the documentation, I can do "exact" and "contains" matching.
Is it possible to do a "starts with" search? For example, lets say I have this entries in the database
Web design
Web ...
2
votes
1
answer
97
views
Show all entries except most recent
I have a new page that I am pulling the most recent entry to feature on the page. I need to list out the rest of the entries except for the most recent entry.
How can I use the channel entries tag to ...
2
votes
3
answers
408
views
How to encode emails contained within channel entries automatically?
I'm working on a site that will have various email addresses entered within paragraphs of text in channel entries by the client.
These email address are automatically turned into links by EE which is ...
2
votes
1
answer
336
views
How to Tell Difference Between status="closed" and {if no_results}?
I have a safecracker form I just converted to channel:form and I just changed it so when an entry is created it's automatically set to status="closed"
What I'm trying to do is display a message if ...
2
votes
1
answer
455
views
How to get group_id of a Channel entry's author?
I need to implement some business rules based on the following:
The current user's {group_id}
The group id of the author of a particular Channel entry
I need to implement this rule within the {exp:...
2
votes
2
answers
193
views
Add to homepage and reorder
I am trying to find the most common way to add entries to the home page and then reorder them.
In the past I have set a custom status and used Low Reorder to sort the entries.
Are there other ...
2
votes
3
answers
858
views
Conditional based on the age of an entry
I want to embed a template if the entry_date of an entry is less than a certain age, and display something else otherwise. Is there a good way to do this natively? With addons? I tried the timespan ...
2
votes
1
answer
518
views
Channel entry details - what's the template group/template?
I have a template the loops over the Channel entries and displays some basic information about each entry. I'd like to have each item link to more details about that particular entry. It seems that I ...
2
votes
1
answer
190
views
Adding value to {count}
How do I add a value to the {count} variable?
I'm trying to do this:
{exp:channel:entries channel='links' orderby='link_order' sort='asc' dynamic='no' category='12'}
<div class="item" id="pane-{...
2
votes
1
answer
145
views
Apparently I don't know how exp:channel:entries status and limit work together
I want to grab the 1 most recent entry and display it big. Then I want to grab the next most 6 recent entries and display them small.
So:
{exp:channel:entries channel="blog" limit="1"} and {exp:...
2
votes
1
answer
394
views
Expression Engine channel content not showing
I am new to expression engine.
I have a channel name "news" and I have published some pages. In my template, I have used code as
{exp:channel:entries channel="news"}
<h2>{title}<h2>
{...
2
votes
1
answer
68
views
Change default select statuses?
Is there any way to change the default statuses displayed by the channel:entries tag to "not closed"?
2
votes
1
answer
126
views
channel entries tag seems to run before my module function
The {exp:bmi_favorite:list_ids entry_type="recipe" site_id="1"} outputs 18|19 to be passed to the entry_id parameter. It does not work, unless I manually add the 18|19 into the entry_id, like entry_id=...
2
votes
3
answers
855
views
How do I choose a different design template?
This might be really basic, but using a standard Expression Engine install, how do I choose a different design template for a specific channel? I'm not using Structure or anything like that.
I ...
2
votes
2
answers
592
views
Parsing Channel Entry inside of Low Variable inside of Stash Set
Hrm, me again. Looks like I am having problems with Stash and Parse Order, after all, but on a different variable.
Here's my variable:
<p class="heading"><b>Our Featured Members</b>...
2
votes
1
answer
368
views
Channel entries category tag only showing last category
Within my exp:channel:entries tag, I am using the categories tag pair to show the categories that the entry is in. However, it is only showing the last category that the entry is in:
{exp:channel:...
2
votes
2
answers
319
views
How can I use exp:query in entries?
I'm looking for a way to use exp:query in entries. So far I haven't been able to find this. I know it's not recommended but for what I'm trying to build it's most feasible to do so. That way I'll be ...
2
votes
2
answers
2k
views
Creating Links To Uploaded Files (non-Image) Within Entries
I know this may be a silly question, but since I'm new to EE, my client has a requirement of creating links within their entries to files uploaded to the file library. Since we are using the URL ...
2
votes
1
answer
157
views
Preventing a double entries loop
This is something that I'm wondering how you solve it:
When building a site, the index template is served with segment 1 empty. If I start an entries loop in a embed, I'll need a conditional to show ...
2
votes
1
answer
245
views
Building a set of list items using Stash. Not working as expected
A while back I built a simple image slider that used "featured" entries from an EE channel. This all works great but did mean that I had to run 2 {exp:entries} tag pairs - the first to get the big ...
2
votes
1
answer
51
views
Anyone know how to limit the number of entries displayed between a set of tag pairs embedded in other tag pairs?
I'm embedding a set of tag pairs with another set of tag pairs, but because there are two entries that meet the criteria of the outer tag pairs, EE's displaying the embedded tag pairs twice.
My code ...
2
votes
1
answer
110
views
Channel Entry Model Not Saving Custom Fields
EE 5.2.4
I am using the ee model class to save channel entries via AJAX.
Everything is working well except for custom fields, which don't save.
Here is the code:
$entry = ee('Model')->...
2
votes
2
answers
532
views
Model Service ChannelEntry relationship fields
I can't figure out how to save (or retrieve) relationship field data using the Model Service. I can save flat fields with out an issue (and retrieve them).
So when retrieving an entry like this:
$...
2
votes
3
answers
118
views
Limiting entry display after a conditional
I want to display 10 entries, only if they pass a conditional.
Right now the channel tag will count all entries first, so I end up with less than 10 entries displaying (as some of those 10 don't meet ...
2
votes
1
answer
126
views
Add-on Dev: Extending channel->entries and tagdata
I have a search module that grabs locations based on coordinates and estimates distances. I've decided to extend then channel class so I can take advantage of the entries method to display search ...
2
votes
1
answer
362
views
Group by within a Channel Entries loop
I have banner ads stored in a channel and these are associated using a single entry Playa field with clients stored in another. I need to display random banners on a page but without ever showing more ...
2
votes
2
answers
264
views
Grid field type with 'row_id' variables is not working properly in channel tag
I am using grid type field for express engine channel and i want to show result based to row_id and it was working when i have entered row_ids but it is not working when row_id are not there.
for ...
2
votes
1
answer
391
views
MSM & channel entries
First time user of MSM here. I'm building 3 sites that all have the same channels. In some cases, I want only the default site to make channel entries, but want all 3 sites to have access to those ...
2
votes
1
answer
104
views
Display a list of allowed entries in a different channel's field for a selected author
I get stucked.
I've to do this:
I've a channel "Projects" where a Super Author write a list of projects.
I've another channel "Articles" where Authors can write articles and make a unique relationship ...
2
votes
1
answer
94
views
How to sort field from multiple Channels?
I'm looping through multiple Channels:
{exp:channel:entries channel="channel_a|channel_b"}
Say that channel_a has a_field and channel_b has b_field. I want to sort such that the values of a_field ...
2
votes
3
answers
663
views
Entries with multiple categories, limit categories to just one parent and it's selected children?
Not sure if this can be done natively or if an add-on is out there.
I'm trying to figure out a way to limit entries with multiple parent categories to just one parent and it's children. The reason, I ...
2
votes
2
answers
424
views
Safecracker Registration: how to edit Channel entry after registration?
After a member is registered via Safecracker Registration, how do I allow the member to update his/her Channel entry?
Safecracker Registration has the option edit_member="yes", so I created a ...
2
votes
1
answer
73
views
has anyone used the Hop Inject plug-in?
Looking for a way to "inject" images into channel entries without having the content administrator trying to mess with html. I found hop inject on devot-ee, and I'm wondering if anyone has used it or ...
2
votes
1
answer
102
views
Any ideas on how to link members to entries?
I'm planning a new site that will have a list of entries and a database of members (nothing unusual there I hear you say).
What I'm trying to work out is how to allow a member to express interest in ...
2
votes
1
answer
121
views
Addon to handle data too complex for Channels/Playa/Matrix
I need to be able to add/edit/delete records whose data structure is somewhat complex and involves a lot of business rules for each database operation. For example:
Some inserts are simple INSERTs, ...
2
votes
2
answers
104
views
How to trace channel fields when there is a relationship?
I need to write a custom query against the exp_channel_data table. However, one of the channel's field is a relationship field. How do I track that back to the appropriate column in the ...
2
votes
2
answers
72
views
Split Channel Entries via {exp:channel:entries}
I have only recently started working with ExpressionEngine and am currently trying to port my HTML page and work with channels. I just came across a problem that I can't solve. I want to split the ...
2
votes
2
answers
120
views
best setup for a 1M entries EE site?
I have a EE site that has 62k entries. It's a directory site using open data sets. We are expanding to more countries and we expect at least 500k entries to be added in the next year and 400k plus on ...
2
votes
1
answer
210
views
How to create a button on the Entry Edit page?
Basically, what i'm attempting to do is create a [button] right next to the entry save/submit button that will grab the current entries entry_id and pass it to a page we control.
I'm staring at the ...
2
votes
2
answers
242
views
Categories not filtering with Low Seg2Cat
I am having some problem with the Low Seg2Cat extension. I am trying to load all entries for a particular category using the third URI segment. For instance: '/specials/category/europe'. This is the ...
2
votes
1
answer
59
views
Exporting Channel Entries on EEv1
I'm currently trying to export channel entry data from a version 1 ExpressionEngine site, v1.6.9 to be exact.
Can anybody tell me what the best way of doing this would be, Looking around a lot of ...
2
votes
2
answers
169
views
How to manage existing entries of channel with structure without select template from each entry?
I have install structure on existing web site. I have lots of entries. the problem is entries does not working after installing of structure. Because of entries has selected default template group. I ...
2
votes
1
answer
27
views
Limiting channel entry results per channel
Assuming I have this:
{exp:channel:entries
channel="news|tweets"
disable="member_data|pagination|trackbacks|categories|category_fields"
status="open"
}
<h2>{title}</h2&...
2
votes
1
answer
322
views
Show categories of entries based on year
I'm trying to get an archive to work on a web page, based on entries per year. This, in combination with an isotope-like filtering of categories. I want to output entries based on year, and then ...
2
votes
1
answer
72
views
Template that iterates through channel entries and outputs categories that are selected for each entry
I've found it perfectly possible to output a list of all of the categories for a channel, or a list of all of the categories that are not empty for a channel. But when I am iterating through the ...
2
votes
1
answer
139
views
Converting spaces in file_url with CE String
Using the Grid we've have a project where a large number of files have been uploaded with spaces in the file names. We want to encode the URLs so the files can be downloaded.
To try to solve this we ...