Questions tagged [channels]

The tag has no usage guidance.

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

Set a default Channel page if no slug is provided in the URL

I was wondering if there was a way to set a channels page as the default page to load if there is no slug address i.e. I want the below web address to default to a skills page myWebsite.com/skills ...
1
vote
1answer
33 views

Create a channel programmatically

I am diving into Craft plugin development and there is one thing that I want to achieve, but I didn't find any documentation. I managed to save specific new entries into a channel using saveElement(), ...
1
vote
1answer
87 views

GraphQL: get prev / next entry from current entry (channel)

Is there a way to get the prev and next entry from the current entry, when this entry is inside a channel and not a structure? query ($id: [QueryArgument], $rel: Int) { entry: entry(id: $id) { ...
1
vote
1answer
19 views

Dates for entries are in different language

When the user wants to edit the Post Date or Expiry Date of an entry (channel/structure), the calendar is in Welsh language. I have no clue how this happened. How can I change this? Thank you
0
votes
0answers
67 views

Create a New Entry with Fields Populated from an Existing Entry Table

I am still learning how to work with craft on the back end but so far I can see it is a very powerful platform! I was wondering if there is a way that within an existing entry channel say "foo&...
1
vote
1answer
25 views

Channgel entry to disabled

Is it possible that when my user adds a new entry in a channel on the English site, it gets copied to the channel of my Belgian site, but this entry is set automatically to disabled? So my English ...
1
vote
1answer
21 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
249 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
49 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
48 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
127 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
93 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. ...
1
vote
1answer
229 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
102 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
36 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
374 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
48 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
393 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
375 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
276 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
88 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
41 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
566 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
236 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
322 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
245 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
2k 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
156 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
300 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
834 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
452 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
436 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
131 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
210 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
250 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
60 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
99 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
565 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
1k 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
442 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
207 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
362 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 ...
6
votes
1answer
3k 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
1k 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
3k 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
966 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
122 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
97 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
995 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 ...