Hot answers tagged

4 votes
Accepted

Adding value to {count}

By default, EE is support calculations in conditions only. For other cases you can use MX Calc {exp:channel:entries channel='links' orderby='link_order' sort='asc' dynamic='no' category='12' parse="...
  • 5,781
4 votes

How to make ExpressionEngine tag Non-case Sensetive

The best thing to do is have Tag convert to lowercase. There is a setting for that under preferences.
  • 1,987
3 votes
Accepted

Parameter and Dynamic Variables

Layouts are a bit hard to get your brain around to begin with. There are two things you need to know, and I think you'll be on top of it. Layout templates work by letting you drop the content from ...
  • 3,587
2 votes
Accepted

Processing a specific section of a template, after it's loaded

Thanks for adding some details, but I'm still slightly confused. I'll lay out an attempt (too long for a comment anyways). You have some content that you want processed (into a file format?), but not ...
  • 5,900
2 votes

Limit entries within column(s)

You can do something like that: {exp:channel:entries channel="test" disable="categories|category_fields|member_data|pagination|trackbacks|relationships" dynamic="no" } {if count%2 == ...
2 votes

NSM Better meta EE upgrade problems

Sorry we haven't responded to your prior support request attempts. We'll try and get this sorted for you soon. I can think of two reasons that may cause this error to appear but I'll need to take a ...
2 votes

Expression Engine and Anchor tags

Your issue is nothing to do with ExpressionEngine. The template you are uses javascript to smooth-scroll within the page. It appears to be configured properly for in-page scrolling, but not for ...
  • 3,587
2 votes
Accepted

Getting second item from a tag-pair list

Typically in EE you can use the offset parameter. offset="1" would start the output on the second item in the loop and setting a limit parameter limit="1" would return only the second item. ...
  • 589
2 votes

Simple exp:channel:entries not working on specific template

Adding dynamic="no" fixed this issue.
  • 141
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
1 vote

All Tags not working after FTP my website to the server

ExpressionEngine required PHP V7+ which I used PHP 5.6. After updated the PHP version it all started to work.
1 vote

How do i get the value of a query string

If your currently running on ExpressionEngine 6 you should be able to use the Request add-on (shipped as part of the core) to grab the GET variable. Should be something along the following lines. {...
1 vote

Tagdata Fetch Params Not Accepting JSON String

Tags in params aren't going to be parsed unless you add this parameter: parse="inward" The parse order stuff is... hard to grok. Try adding that to your channel entry tag. https://docs....
  • 5,900
1 vote
Accepted

Class Method Returning Array Tagdata

I believe key should be name of variable. so instead of 0..1..2 it should be and array. Also, parse_variables use for loop. I belive you have single item and loop for sub item (images), You should ...
1 vote
Accepted

Calendar Tag Entry Fields Not Showing

The calendar tag doesn't support custom fields. Either use a channel:entries tag, or something like the Solspace Calendar module if you need more flexibility with things like recurring dates.
  • 1,577
1 vote

Make File manager files downloadable

You can use HTML download attribute in the <a> tag. <a href="{file_field}" download>Filename</a>
  • 626
1 vote

Limit entries within column(s)

Mufaddal's answer will split the results into 2 columns. From your question I'm assuming you want the first X entries to be in a column, then the rest elsewhere...? {exp:channel:entries channel="...
  • 5,353
1 vote

url_title_path tag doesn't work

Firstly - the links. Assuming that {url_title_path='pages/contact'} etc is working at rending out the URL, albeit with index.php in it, then the only issue is your index.php and removing it. Although ...
  • 5,353
1 vote

Expressiong Engine Heirarchy

EE has a steep learning curve, so don't think you are alone in being mystified as a new user. There are probably better definitive books you can get that explain things - one highly regarded recent ...
  • 3,587
1 vote

How do I manipulate the value of a tag prior to final output?

Well, of course there is a way. It depends on why you are going about it this way. First, I assume the {path} variable can go to different domains (possibly a channel you'll duplicate over many MSM ...
  • 5,900
1 vote
Accepted

Wanting to filter results in EE tags

It's a common function functionality of addons to use parameters, so there's an EE function for that: ee()->TMPL->fetch_param('param_name'); Check out the docs if you need an example and more ...
  • 506
1 vote
Accepted

Expression Engine image:url not replaced on style attr

Looks like you are using channel images syntax. Are you using that addon? or do you have a native file field? if you are using native you should be using a tag pair like this: {image} <div class="...
1 vote

retrieving first 3 content then last 3

You could use the offset parameter: https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_entries.html#offset But that wouldn't be very efficient since you'd need two repetitive ...
  • 4,885
1 vote

related tag entries not working

tag:related_entries accepts an entry_id parameter, not a tag parameter. This is because it looks for entries which have many shared tags in common to the entry you pass to it. (Hence, entries which ...
  • 17.4k
1 vote

How to escape special HTML characters in output?

If anyone is still wondering, now you can use native variable modifiers. {meta_description:attr_safe} https://docs.expressionengine.com/latest/templates/variable-modifiers.html#variable-modifiers
  • 26
1 vote

How to escape special HTML characters in output?

This did the trick for me (plugin doesn't work with later versions of EE). {exp:markdown} Text to be parsed. (for me the channel field tag {data_feedback_text}) {/exp:markdown} Without the markdown ...
  • 11
1 vote

How to escape special HTML characters in output?

aren't we overkillingt this somewhat?? How about setting PHP on Output and dropping this into the template : <?php echo addslashes("{meta_description}"); ?> Simple, no need for extra ...
  • 2,418

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