We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [channels]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
15 views

How to handle search results that point to a page of aggregated entries?

I have a few pages in my site that aggregate information, for example, a single awards page that gets all the entries in an awards channel. Single awards entries don't have their own URLs. How do I ...
1
vote
2answers
125 views

Using Conditionals in Title Format

I've got a new channel for Authors where there are 3 fields: firstName middleName lastName and I'm using these fields to generate the Title of the channel entry. However I would like to add a ...
1
vote
1answer
20 views

How to show nothing when you leave an input field empty in the entries instead of showing an error?

I made a content page (Channel) where the client can add a bunch of content. There will be multiple pages (1 page for every case) with the same layout. Sometimes they don't want to fill in every input ...
1
vote
1answer
39 views

Relationship between channels/entries

I need some help. Really struggle understanding how to build relationships between channels/entries. Context/Want: I have two separate channels: 1. "Plant catalogue" 2. "Plant care" I want to re-use ...
3
votes
1answer
70 views

Channel not showing all items?

We have a channel on the following page that shows 'Issues' of our magazine: http://ambitmagazine.co.uk/issues We have issues going all the way back to issue 1, but the channel page currently only ...
1
vote
1answer
35 views

Same content on different slugs

I hope someone can help me to understand this. I have a Channel called eg. "My channel". In that channel i have two entries: Post 1 and Post 2. Those two entries have different titles and content. ...
0
votes
0answers
32 views

Breadcrumb for channel pages: Set page?

In a site that combines a structure with some channels, I encountered the issue that the breadcrumb doesn't work when on the channel's detail page. Of course, because it doesn't know the ancestors of ...
1
vote
1answer
89 views

Setting a default entry for the entry field

I have an entry field that is a selector tool for the page call to action at the bottom. I have a channel of four or five entries and I'd like one of them to be the default selection so it's one less ...
1
vote
1answer
76 views

Can two sites use the same channel, but have unique entries?

I have a multi-site application where my primary site is my company's main website, and the additional sites are small "microsites" for some of our projects. I want to share channels between my ...
1
vote
1answer
28 views

Channel content in structure

I'm posting a lot of newbie questions today, hope that's ok. It will get better! I would like to add a channel (list/detail) to a structure page. Home > Pages > List Page I'm sure I'm looking ...
1
vote
1answer
210 views

Entry URI format with postDate not working

I have a News channel that's looped on an 'News Index' template. Each news entry is linked to its respective link via {{ entry.url }}. In my News channel settings, I have the entry URI format to be ...
1
vote
1answer
37 views

How should I organize/structure my channel sections?

To me, I have a large dataset of 2,000 - 2,400 entries. It's a static dataset. I only need to update a few fields annually. I plan to use channels. But, how should I organize the channels? ...
1
vote
1answer
283 views

Channel Section with individual entry template and index templates?

I am looking for suggestion on how to setup a resource section on a site I'm building. Here is the structure. Resources - Index Entry type of resources Webinars -Webinar Entry (template for a ...
1
vote
2answers
237 views

Querying channel entries hits memory limit

We have a channel that has about 700 entries but is paginated with a limit of 30 entries. Our client is looking to add a button so users can print out all entries. One of our proposed solutions was to ...
0
votes
1answer
85 views

Display X number of characters from an entry

I want to display just a short blurb from each blog entry. I dont know how to display my { entry.blogentry } without having all of the text show up. Is there a way to just show the first 100 ...
0
votes
2answers
65 views

Calling Sub Channel Entries

How would you go about pulling a selected entry from one channel into another entry using Craft variables? For example, I have a page with an author channel field that allows a user to select the ...
2
votes
2answers
33 views

Any ID I could reference in sections

I created a section for appointment record (channel type). Each appointment record has different fields, i.e. customer name, phone#, address, etc... I would like to set a unique appointment_record_id (...
2
votes
1answer
403 views

How to output first segment title/channel name of entry?

For example, I have channel entry https://site.dev/news/2017/test and I would like to output "News" section name on entry page.
2
votes
1answer
169 views

List entries without specific tag

I am trying to output a list of entries from a channel section that DO NOT have a certain tag. I am able to output the entries that have the tag assigned by setting the tag as a variable and using ...
1
vote
1answer
207 views

dynamic urls for channel/structure that's linked to the main structure

I'm trying to create dynamic urls for a channel or structure section that depend upon the url structure of a different structure (or the first entry in that structure). For example, if the main ...
1
vote
1answer
173 views

How to use the same category group as a filter on multiple channel sections?

I have two channel sections, each with only their own entry types. I've added the same category group field to both. I'd like to filter each channel's list of entries by the same category group. So ...
4
votes
1answer
1k views

Best practice for channels and structures

I am wondering if there is a best practice around using channels and structures. When you have a single section you can link to that section by selecting the entry for it. For channels and structures ...
2
votes
2answers
133 views

Restricting relationship field by author

First site using Craft and impressed thus far. I'm going to be allowing CP access for all users, and these users will have access to multiple channels. I want them to be able to relate their entries ...
2
votes
1answer
264 views

How to get data from Matrix field type?

I have a channel which is basically a list of articles. Each article is associated with one or more companies. When I click on companies I want to show all the articles related to the company. I got ...
2
votes
2answers
648 views

Linking to channel page

I'm just getting started with Craft. My problem is that I'd like the user to be able to change the location of call to action buttons on the site. Instead of allowing them to enter any URL, it would ...
1
vote
1answer
351 views

How can I loop through a Channel entries asset folder?

Basically, for every entry that I add to my 'Portfolio' channel, it creates a sub-folder inside assets/portfolio. For example I have: assets/portfolio/entry-one assets/portfolio/entry-two On my ...
2
votes
1answer
387 views

Multiple sections, limiting the structure by depth

I'm trying to pull entries from multiple sections for a list on a page, which works fine: {% if section is not defined %} {% set section = 'events,checklists,opinionPieces,whitepapers' %} {% ...
0
votes
1answer
113 views

Channel with URLs based on entry type

Example: I have content which could be separated into Big News and Small News. The Big News has much text (which would need a link to its own entry). The Small News has only one text block (so it ...
0
votes
2answers
182 views

How do you create pagination links related to entries within a Matrix Field in a single entry?

I have combed through similar questions, although my pagination links are not performing properly. I would like to add pagination links to entries within a channel. And I would like for the ...
3
votes
1answer
210 views

Element API: Entry field inside a Channel entry being passed into JSON file

Hopefully my titles makes some sense but I will try to elaborate. I have a Channel entry called Movies that I am using the Element API to turn into JSON. There is a field inside that called Movie ...
1
vote
1answer
56 views

Updating Craft removed a channel from the CMS?

Anyone experienced this problem? I have a dev site set up which we updated to 2.4.2702. After updating one of my section channels has disappeared from the CMS. The entries for the channel are still ...
1
vote
1answer
91 views

How do I add meta title/description and intro text to a Channel index page?

I've created a Channel with templates blog/index and blog/_entry. Template blog/index will list the blog articles and blog/_entry will display individual blog articles. I want to have meta title/...
1
vote
1answer
415 views

New entries not appearing on template page

My client has been adding some new entries in a channel called Products. These are using different templates that are selected when creating the entry. The entries on a few different template types ...
2
votes
1answer
1k views

Set navigation menu item to active for child pages

Currently we're highlighting the active page in our navigation by having a structure of menu items with a "menuLink" field and comparing that to the current entry uri. Something like this: {% nav ...
2
votes
1answer
902 views

How to move entries from one channel to another

I have a channel that has three different entry types. The client has decided that two of those post types should be in a separate channel. This is an existing site with a few dozen entries currently ...
2
votes
2answers
289 views

Case sensitive Channel urls problem

So I have a few different channels for different types of content. One called pages which is just for regular web pages. All of those entries work uppercase or lowercase so example.com/About and ...
1
vote
2answers
166 views

Organizing repeating content on a single page

I have a page with a slider on it, which includes three rotating slides. In Craft, I am currently setting up each slide as an entry under a "Home Page Content" channel, and then creating an entry ...
1
vote
0answers
331 views

changing from title to title format [closed]

We built a small conference site last year that had a Speakers channel. At the time, we used the title field to store the last name of a speaker. That was fine but for editors, where there are ...
4
votes
1answer
2k views

Showing categories in Channel Entry URLs

I have a site which has two blog-like sections, which I'll call Blog and News. Each has a few categories. The categories are different in each section. An article always has (only) 1 category assigned ...
2
votes
2answers
996 views

Exclude category from channel entries (with pagination)

I'm trying to paginate a channel of entries but I also need to exclude any entries that relate to a specific category. This is what I have so far... {% set insightCategory = craft.categories({"slug":...
4
votes
2answers
2k views

Show entry in channel based on URL segment

Short Question: I'm coming from ExpressionEngine where 'dynamic' would do the trick. However I can't seem to figure out how to do this in Craft. I want to be able to use one Channel to show content ...
2
votes
2answers
882 views

How to display a list of next entries

Is there a technique for displaying a list of “Next Entries”, which come from the current Channel. The solution I am using at the moment isn’t cutting it… I’m using an Entry Offset of 1 to display ...
2
votes
1answer
120 views

Is it possible to use a lightswitch (or something similar) for different post types?

My question is closely related to this question: How do I display entries from multiple entry types? I would like to have two blog post types: Regular blog posts (Title, Body, etc) External links ...
2
votes
1answer
87 views

Find all empty fields in admin

I'm working with a fairly large data set in one of my channels and I was hoping there was a way maybe in admin to show me all the live entries where certain fields are empty. I want to be able to ...
4
votes
2answers
904 views

Building a website containing restaurant menus from multiple vendors — need some advice on Section hierarchy of data

Figure I'd query with the geniuses over on StackExchange as I think I've hit a roadblock in my project. I'm building a website containing menus from multiple restaurants with the vision that it could ...
3
votes
1answer
795 views

What's best practice for creating an index page for Channels?

If I have a section called "news" with section type "channel" with entries having their own URLs, what is best practice for creating an index for when people site.com/news? Do I just create an index ...
1
vote
2answers
106 views

Dedicated channel for news? or a channel for blog with a news category?

A clean installation of Craft includes a 'News' channel which has confused me slightly. Would it not be better to have a 'Blog' channel with a 'News' category? What is the advantage to having a ...
2
votes
2answers
2k views

Channel index page linked in a structure

I come from expression engine and what I want to do is the following: I have a channel filled with entries. All I want to do is to list all these entries on a page. However, I don't want to link ...
1
vote
1answer
1k views

Request the url of a channel index

How can I request the url for a channel index page from another page. I got this message asked on twitter towards craft, but they misunderstood my question. The came back to me using craft.request....
3
votes
1answer
464 views

Help with understanding how to structurally build a sermon catalogue

I'm currently working on a website for a church and I thought that Craft would be perfect for the project and a great way to learn it. However, I'm having a hard time wrapping my head around how to ...