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 ...
user avatar
4 votes
Accepted

Non existing content redirection

You need to use the require_entry parameter: {exp:channel:entries limit="1" require_entry="yes" [...]} {if no_results} {redirect="404"} {/if} [...] {/exp:channel:entries} This parameter ...
user avatar
  • 6,108
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 ...
user avatar
  • 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="...
user avatar
3 votes
Accepted

Can't update an entry using Channel API without including title

As per your comments, you've already figured out the rather large annoyance of needing to pass all pre-existing fields with the save_entry function or else having them wiped out. I wanted to post an ...
user avatar
  • 607
3 votes
Accepted

Constructing a single page blog with pagination

With - http://ellislab.com/expressionengine/user-guide/add-ons/channel/entry_linking.html {exp:channel:next_entry} <p>Next entry: <a href="{path='site/comments'}">{title}</a></p&...
user avatar
3 votes

Channel Entry API and Grid field

I'm pretty sure you can just pass in the fieldname the row and column like $data['field_id_X'][rows][new_row_1][col_id_1] = 'row 1'; $data['field_id_X'][rows][new_row_2][col_id_1] = 'row 2'; Just ...
user avatar
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'} ...
user avatar
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&...
user avatar
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) ...
user avatar
  • 5,900
2 votes
Accepted

Allow un-logged in user access to a specific channel based on IP address

Nothing comes to mind for a plugin specifically, but this is more of a job for the .htaccess file to handle. If you aren't familiar with all of the rules to apply, there is a great book available - ...
user avatar
2 votes
Accepted

Is it possible to install/create goup channel on theme install automatically

I'm pretty certain this isn't possible. Themes have been tried before in Expression Engine, but there's a reason they never really took hold. Quite simply, there are so many different ways to build an ...
user avatar
2 votes
Accepted

Solspace and Structure conflict?

You must use the channels and custom field groups provided by Calendar when it's installed. To create events in "Calendar: Events", you need to create a calendar in "Calendar: Calendars" first. If ...
user avatar
  • 6,139
2 votes

wrap pagination in class

The position of pagination is defined by the parameter paginate: if it is set as top, the pagination code will be removed before parsing and added back at the top of the parsing results; if it's set ...
user avatar
  • 6,108
2 votes

Grid field type with 'row_id' variables is not working properly in channel tag

If you are using php in this way, you could just not show the output if it is set to -1 {exp:channel:entries channel="xyz" entry_id=1} <?php if ($rowsId != -1) {?> {profile row_id="<?...
user avatar
2 votes

Disallowed Key Characters

ok. I'm pretty sure, that you have this problem, because your site ask for cookies with name __utmt_~1. And "~" is Disallowed Key Characters. __utmt is Google Analytics cookie. I think, that it is ...
user avatar
  • 5,781
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 ...
user avatar
  • 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 ...
user avatar
2 votes

Simple exp:channel:entries not working on specific template

Adding dynamic="no" fixed this issue.
user avatar
  • 141
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 ...
user avatar
  • 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 ...
user avatar
  • 3,572
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; ...
user avatar
  • 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 ...
user avatar
  • 3,572
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 ...
user avatar
  • 3,572
2 votes
Accepted

Show Latest Channel Entries Under Single Entrey

Add dynamic="no" to the channel entries tag.
user avatar
  • 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"}
user avatar
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 ...
user avatar
  • 3,572
1 vote

Solspace and Structure conflict?

Seems after not being able to find anything happening and following every hunch I could. It miraculously started worked after another uninstall -> reinstall. Thank you all for you help.
user avatar
  • 121
1 vote

Structure & Channel Forms not playing nicely

I've just had this issue too but managed to fix it by doing the following: Go to Addons > Modules > Structure Click Module Settings in the top right On this screen click the convert to using the 2.7 ...
user avatar
1 vote

Moving channel from one msm site to another

IMPORTANT NOTE As I quickly look through the database it seems that the site_id column is used all over the place, including within the entries, so there is a high chance this isn't going to work ...
user avatar
  • 7,176

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