Hot answers tagged

5 votes

Calculation {member_field} * {channel_field}

There is no direct way. I suggest you to install this module Edit If incase you have values to pass with comma separated (i.e., 5,00,000.05), You need to edit pi.math.php file to add this code on ...
4 votes
Accepted

What is Form Layouts?

Form layouts is where you can setup the input form and fields for entering data via the Create or Edit entry pages. You can save a layout for specific users per channel so that a given user will see ...
  • 589
4 votes
Accepted

Displaying the number of entries in a category

Yes, this is possible. You can do this by making simple template and embed. Create one template template_name.html in your template group and insert below code. {exp:channel:categories channel="...
3 votes
Accepted

How to load different stylesheets depending on the template

The simplest and and most flexible way is to use Template Layouts. In your main HTML Layout wrapper (simplified) which we will say is named "_html-layout" in the "layouts" template group: <html&...
3 votes
Accepted

Display Content Based on Time of Day

Thanks to @Nevsie-Modeten, I reworked the query to the following: {if {current_time format='%w'} == 0 && {current_time format='%G%i'} >= 930 && {current_time format='%G%i'} ...
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
2 votes

Expression Engine Menu-Menu items

I would recommend you try to stop thinking in terms of 'pages', as you'll only end up frustrated by EE. For your purposes, what you are creating are categorised events, not pages. So set up a single ...
  • 4,885
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

Display fields upon dropdown selection in PUBLISH layout

The way I've done this in the past is to add some custom js to the footer of the Control panel. You shouldn't edit the core files directly but what you can do is make a Theme and then copy the core ...
  • 101
2 votes

How to create a views of channel

Expression Engine is a powerful CMS that has gives you great flexibility when it comes to displaying content on a web page. However one consequence of this flexibility is that you need to define how ...
  • 3,587
2 votes

Simple exp:channel:entries not working on specific template

Adding dynamic="no" fixed this issue.
  • 141
2 votes

Channel form css overrides my css?

Simply apply greater significant specificity in your CSS rules that you want to lay on your form. This is a simple part of CSS. Here is an example: // The forms theme .form .button { color: red; ...
  • 5,900
2 votes
Accepted

Split Channel Entries via {exp:channel:entries}

Given that your code duplicates the same HTML for each column, there is also a way to do this simply using Bootstrap to generate the columns (it looks like you are using Bootstrap from your code ...
  • 3,587
2 votes
Accepted

(A Different) Channel Entry Data Not Showing in Entry Detail Pages

It is not so clear from what you say what actually you are trying to do, but at the simplest level, it seems that while example.com/product generates output when applied to the template fragment you ...
  • 3,587
2 votes
Accepted

Show Latest Channel Entries Under Single Entrey

Add dynamic="no" to the channel entries tag.
  • 4,885
2 votes

List entries which have no category assigned

Something like this maybe? {exp:channel:entries category_group="not 1|2|3|4"}
2 votes

Channel entries search by custom field

The channel entries call you are using to retrieve the custom field would need some more parameters to work - you need to give it some sort of channel or entry information for EE to work out what ...
  • 3,587
1 vote

How is the ExpressionEngine user guide documentation managed? By categories or channels with relationship fields to the child pages?

Last I heard (some years ago), it was all handled via Sphinx: http://www.sphinx-doc.org/ No idea if that's still true though.
  • 4,885
1 vote
Accepted

Channel Form File Upload Question

They should be the field name you gave your file field which you said was {sermon_file}. Or you could always just replace all that with {field:sermon_file} <div class="form-group"> <...
1 vote
Accepted

What might prevent a channel from retaining submitted content?

Figured it out. The problem arose from the fact that when I created the channel (channel B) I opted to duplicate the preferences of a channel (channel A) that had its 'Title' and 'URL Title' fields ...
  • 603
1 vote

Loop a new section (outside loop) after every 2 entries

If I follow your question correctly, the output you want is for each pair of entries to be in their own sections, with the sections alternating between white and light grey backgrounds. I'm not sure ...
  • 3,587
1 vote
Accepted

URL title prefix - use slashes in prefix?

You can't include forward slashes in the URL Title because EE breaks up every URL using pathinfo, and always treats the first two segments of the URL as template group/template. (See docs on URL ...
  • 17.4k
1 vote

Cannot make stash:get to show up inside exp:channel tag

In your embed code you have pasted it looks like you have an extra pipe character in your author_id parameter author_id="{stash:get name="MedlemLetterAuthor"}|"parse="inward" makes it a little hard ...
  • 464
1 vote

require_entry problems with more than 2 segment

Based on my understanding of the issue... Try this: {exp:channel:entries channel="recipes" url_title="{if segment_2 != 'dessert'}{segment_2}{if:else}{segment_3}{/if}" limit="1" require_entry="yes"...
1 vote

require_entry problems with more than 2 segment

https://ellislab.com/expressionengine/user-guide/urls/template_routes.html Template routes! These things are your friend. On your template, you want to set a template route that looks like this: /...
  • 5,900
1 vote

No results not working

Late to the party here but my guess is because you have dynamic="no" so it will always return a result.
  • 7,176
1 vote

Expressionengine: How to display single category information

exp:channel:category_heading always use the URL to fetch data. There isn't a category_id parameter, despite it could be useful. So, if you're not using the category word indicator and the parameter ...
  • 6,108
1 vote

How to wrap 3 channel entries with a specific div

You can use the modulus operator, introduced on version 2.9, which returns the remainder of a division. {if count = 1} <div class="row"> {/if} <div class="col-xs-12 col-sm-4 ...
  • 6,108
1 vote

Adding class to a field within a channel form

Via the Channel Entries form, you'll have to go by the docs, I thought you could add attributes however I was thinking of a freeform field({freeform:field:my field attr:class="testClass"}, not a SAEF/...
  • 2,418
1 vote

Channel Entry sorting refuses to sort in the right order?

It looks like you have some "sticky" entries, as per the Docs please try adding sticky="no" to you channel entries tag and see if that corrects things... Otherwise please also supply details of if ...
  • 2,418

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