5 votes

With Mountee gone, what simple and efficient workflow is there to replace it?

I don't think it's left that many short to be honest. Most developers I'm aware of save their templates as files. Whilst I'd always recommend having version control in place, you don't need it, you ...
user avatar
  • 2,473
5 votes
Accepted

What is best practice for protecting templates saved as files?

It looks like you moved your templates folder to outside the system folder. Since you already did it, why not move it to above the web root? Just remember to update the related settings. (see "Server ...
4 votes

Template Routes and extra segments

Yup - make sure you set "require all segments" to "no", then just add another segment to the rule: /about/{extra:alpha_dash} :alpha_dash means that the segment can contain alpha-numeric characters, ...
user avatar
  • 17.4k
4 votes

Permission Groups, Structure, and Entry Access?

You need to create a channel field into that channel and in channel entry, you need to assign that user group type who can access the page. for eg: Suppose you have a channel (named as "XYZ") and ...
user avatar
  • 141
4 votes
Accepted

Link to CPanel from templates

Starting from version 2.8.0 you can use standard global variable for this {cp_session_id} if you want to make link to edit entry, don't forget about special tag for this which available from version ...
user avatar
  • 5,781
4 votes

Template Route Already in use

The problem is having no rule and having alpha_dash are exactly the same thing, so the error message is correct, those are duplicate routes. If you added the :pagination rule to the {pagination} ...
user avatar
  • 520
4 votes
Accepted

$_POST to EE template not working as expected

Do you have PHP Parsing Stage on "Input"? <form method='POST' action='gen_req'> <input id='input' name='uid' placeholder='uid' /> <button class='btn'>Go</button> </form&...
user avatar
  • 131
3 votes
Accepted

Permission Groups, Structure, and Entry Access?

I did this exact same thing all natively with the exception of structure a few months ago. The challenge was to provide member groups access to different information on the same template with the ...
user avatar
3 votes
Accepted

Template Embed: how to embed JSON?

Take a look at JSON by Rob Sanchez. It works very well if you need to output ExpressionEngine data in JSON format. It has a lot of useful parameters. The plugin tag can go right into your template ...
user avatar
  • 7,941
3 votes
Accepted

Live Look Template

I think the add-on Zenbu will open the live-look previews in a lightbox style modal if you wanted to use that. It's pretty good and gives you the ability to create custom views for entry lists. ...
user avatar
  • 7,176
3 votes
Accepted

SEO in URLs - dynamic template names?

Your default template group index can catch these URLs and embed the relevant template you want to display to list products. But I'd be cautious on the amount of effort it will involve for little ...
user avatar
  • 5,353
3 votes

Quick and simple way to determine which templates are used on an EE site and where

There's a similar post here But you could just look in the template debugging info. Another option would be to add something to each template that shows its name (either output to screen or as an ...
user avatar
  • 7,176
3 votes

Is it possible to lock a template in Template Manager?

I can see couple ways to do this: Create a special group as copy of SuperAdmin, but w/o rights to edit specific template group, where you will keep your original templates. You can activate option ...
user avatar
3 votes
Accepted

Adding quotes around a parameter causes error?

I believe you're running into problems with the parse order. When you add quotes, recipients becomes a valid parameter but it isn't parsed yet. When you remove the quotes, it becomes an invalid ...
user avatar
3 votes

Save As File & Low Variables

Enabling Save As Files in Low Variables does have a slight performance impact. In order to tie in to native EE functionalities, LV needs to update the native exp_global_variables table with the data ...
user avatar
  • 11.3k
3 votes
Accepted

Use config variables in templates?

If by config variables, you mean the ones on config.php, it's pretty easy to do. On your config.php add the following code: global $assign_to_config; if(!isset($assign_to_config['global_vars'])) $...
user avatar
  • 6,108
3 votes

Grid "no_results" not working?

There is no no_result variable or condition for grid. Use total_rows instead. {if store_telephone_data:total_rows >= 1} ... {if:else} <td>N/A</td> <td>N/A</td> {...
user avatar
  • 5,353
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 ...
user avatar
  • 3,572
3 votes
Accepted

Using Playa passing values

I have resolved this by adding the option parse="inward" to the {exp:playa:parents} tag. So my code looks like below {exp:playa:parents channel="article|blogs|calendar_events|contests|podcasts|...
user avatar
3 votes

MSM - Template on site 1 and I want different url on site 2 to goto that template

Per the docs: https://docs.expressionengine.com/latest/msm/code.html#embedding-templates-from-another-site Just embed the template and pass the variables. '{embed="site_short_name:template_group/...
user avatar
  • 1,610
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
3 votes

Moving "templates" folder in EE5

There are clear instructions on how to move not just the templates but the whole of the system folder above the HTML root in the EE documentation. HTH
user avatar
  • 3,572
3 votes
Accepted

Relationship Field Conditional Not Working

Although it is technically less efficient, you should try embedding it to render as a tag in the conditional like so: {if '{featured_movie:video_id}' != ''} Try that. As in the docs, if it isn't ...
user avatar
  • 5,900
2 votes

Use array values in expressionengine template

If you want your variables to be in the subscriptions:sub4 format, you should try this: foreach ($subscriptions as $key => $value) { $data['subscriptions:'.$key] = $value; } return $this->EE-&...
user avatar
  • 4,002
2 votes
Accepted

Using Stash to get data from 1 of 2 fields

There's no need for conditionals as the fields are mutually exclusive. With Stash on the inside of channel:entries tags there's also no need for parse_tags or parse_depth since the enclosed content ...
user avatar
  • 4,885
2 votes
Accepted

Parse isue with REST addon

The easiest solution would be to use Mo Variables which provides an early parsed {logged_in_member_id} which will allow you to use it as a dynamic value in your URL path. {exp:rest url="/api/get-...
user avatar
  • 5,407
2 votes
Accepted

List all channel entries in a Single Template menu?

Try adding dynamic="no" to your channel:entries loop
user avatar
2 votes
Accepted

Moblog - Entries aren't created, no error

Finally managed to fix this issue. First of all, I suspected that the default field in the moblog config could be the culprit. So it became apparent that moblog only supports textarea and textfield by ...
user avatar
2 votes
Accepted

ExpressionEngine: How do I block direct access to templates that I am using for embeds only

In versions of EE2 prior to 2.9 if you start the template name with a dot it will not be directly accessible. In the just-released EE 2.9 you can specify a different character instead of dot and ...
user avatar
  • 1,079

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