12

Sounds like the field's settings have gotten mixed up at some point. I'd try switching the field to "XHTML" formatting, and select the option to "Update all existing channel entries with your new formatting choice?". Once that's done, then switch back to "None" formatting and update all existing again. Hopefully that will resolve for you.


7

Looks like you were missing the relationship tag pair for your person field. Try this: <Videos> {exp:channel:entries channel="videos"} {person} <Video> <Subject>{person:title}</Subject> <Facts> {person:facts} <Fact>{person:facts:fact}</Fact> {/person:facts} ...


6

It looks like you found a bug, Sean, sorry you got bitten by it. I've reported it and posted a fix here: https://support.ellislab.com/bugs/detail/19871


6

Conditionals based on URL Segments is how I would handle this. For your example, I would have in my books/chapters a conditional like {if segment_2 == "summary"} {embed="embeds/summary_code"} {/if} I'd use an embed just to keep the template cleaner — instances where I do this do tend to be on more complex site where I like keeping things as clean as ...


5

Are you looking for something as straightforward as this? <html id="template-{segment_1}-{if segment_2 != ''}{segment_2}{if:else}index{/if}"> Ah, I see you are wanting embeds as well. Here is a very simple plugin that will output some metadata for the template that is currently being processed. <?php if ( ! defined('BASEPATH')) exit('No direct ...


5

I would suggest checking your config.php file and see if any of those global template preferences are explicitly set in your configs. If you are using FocusLab master config, I would check config.master.php and your individual environment configs.


5

I think it's fair to say that themes should be looked at as examples and nothing more. I also think most people start off EE sites without installing a theme and also most people I know delete Agile Records from their installs from the get go. ExpressionEngine really makes no assumption about what you want to build for the most part. With that said, there ...


5

It sounds to me like you need the Pages Module. Essentially you'll create a single template, more if you need to, and then each entry you create using a channel assigned to the pages module, in your case "static", can have a unique url. So you'll easily be able to assign domain.com/foo or domain.com/bar I use pages regularly for this. IMO it's really great ...


5

This is as a result of the Strict URLs feature being enabled by default in EE2.6+ (previously it was opt-in, now it's opt-out). If you want the old behaviour back you can change it in Global Template Preferences


5

The reason you do not have access to that variable outside the loop is because your stash tags (getters and setters) are not parsed at the same time. EE module tags are parsed recursively from the outwards inwards, peeling them one after another like a oignon. In your code above, your stash set tags are inside an entry loop (level 2), while your get tag is ...


5

Documentation is a good place to start: http://ellislab.com/expressionengine/user-guide/templates/globals/single_variables.html http://ellislab.com/expressionengine/user-guide/modules/member/index.html#custom-profile-data-tag {member_group} or {group_id} {member_id} also (if in channel:entries tag pair and don't want conflict): {logged_in_member_id} {...


5

To extend Robson's answer, I've just been implementing this myself in the past few hours!: MX Mobile Detect and on Devotee I could simply detect which device it is (e.g. ipad, iPhone, blackberry, etc), but that's too specific for my needs. I just want to detect the different sizes of device so I can drop smaller images... So, in addition to my JS ...


5

From what I saw in a comment from Mark Croxton here: http://devot-ee.com/add-ons/support/stash/viewthread/8717 EE tries to cache tags that are used multiple times within the same template. To get around this, there's a "random" keyword that EE looks for that will cause it to use a separate marker for this tag (causing the tag to parse twice) The problem ...


5

I'm guessing it's just the way your templates are set up. Is your template group called feed.group? And the template itself called feed.xml? If that's the case it will need to be accessed at http://example.com/feed/feed. Or you can change your RSS template to be feed.group/index.xml so you can access it at http://example.com/feed as desired. If this misses ...


5

Under Members -> Preferences in the control panel, you can set the Profile Triggering Word (see docs) to % which will make them completely inaccessible from the frontend. Another technique is to configure it randomly in the config.php like this: $config['profile_trigger'] = rand(0,time());


5

For times where the Channel module is overkill, or the random bits of editable content don't really fit the Channel mould, Low Variables is really great. It has a lot of added features beyond just making global variables easily (and safely) editable by end users. Some of the big benefits are text formatting options, custom content types for the global ...


5

Can you get the templates to render if you leave index.php in your URL? eg localhost:8040/index.php/cursos If so then it is your .htaccess. Max is right about the order of your .htaccess file. Also, you could try adding a '?' in your RewriteRule directly after index.php eg RewriteRule ^(.*)$ /index.php?/$1 [L] A fairly reliable method of removing ...


5

You can't delete index templates, so you'll have to include {redirect='404'} on those templates to force them to 404.


5

Or set a $env_global['myjs'] in the config.prod.php with the analytics code ID number and leave that var blank in the config.dev.php then just {myjs} in the template and it only outputs the ID in production.


5

You can not use Template Routes to remove index.php from your URLs. To remove index.php from you URLs you need to set up a redirect in an htaccess file, there are instructions here. Getting rid of the group name is where Template Routes comes in. Navigate to the Template Route Manager under Design ‣ Templates ‣ Template Route Manager. Locate the Route field ...


5

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 path to site’s templates" at the bottom of the page) To keep all system files above the web root is good practice. Alternatively... If for some reason you ...


5

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 can still save templates as files without Git. As for tutorials, the Ellislab docs are pretty explicit about how it's done. The learning curve for Git isn't ...


4

A few embeds never hurt anyone, despite the hype! Yes they can have a performance hit on busy or content heavy/intensive sites but for smaller sites you'd probably barely even notice, save for a few extra queries on page load. You can always use Snippets instead of embeds if you want to segmentate your code into smaller chunks. Saying that, as you're only ...


4

Yes this is possible. It took me a while to find some documentation when I first tried to do it within a plugin. You need to look at the docs for the template class instead of the plugin API. Specifically the section for variable pairs. You need to create a multidimensional array that contains the different rows for your variable pair. Here's some relevant ...


4

The Low Replace plugin is ideal for this. If your title field contains My Title &reg; then in your template you can do... {exp:low_replace find="&reg;" replace="<sup>&reg;</sup>"}{title}{/exp:low_replace} ...which will output My Title <sup>&reg;</sup> as you wanted.


4

Sean, you may need to add a status parameter to your playa tag like so: {exp:playa:parents channel="zoo_visitor" status="not closed"}. Zoo Visitor uses a custom status per member group and the playa tag will only pull in those with an Open status by default.


4

It sounds like maybe ExpressionEngine is parsing the hyperlink for you. So you are in effect trying to add an anchor element into your href attribute of an exsiting anchor element. Either output {full_article_url} without surrounding it in an tag or turn off this setting for the channel. http://ellislab.com/expressionengine/user-guide/cp/admin/channels/...


4

Just attach a filter on the image column to check it isn't empty: Total Images: {the_matrix:total_rows search:image="not IS_EMPTY"}


4

Something is way off about your approach. You should not need the ob_start() methods if you were to build this properly. If you need a callback method, what you really want to look into is a using a module for a "controller". (For more info on a controller, refer to CodeIgniter's MVC pattern.) So could create an ACT url (http://yourdomain.com/ACT=X) and ...


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