Snippets are small bits of reusable template or tag parts in ExpressionEngine.

learn more… | top users | synonyms

0
votes
2answers
38 views

Snippet Syncing not working

I am building an html5 theme into expression engine. The theme came with a lot of JS that wasnt needed and it slows the pages down. When initially building the theme into expression engine i broke the ...
1
vote
0answers
23 views

Snippets (snippetsync) only parse when logged in

It seems that some newly created snippets using SnippetSync (version controlled and uploaded via GIT/Beanstalk) begin parse only after I log into the control panel. After a day or so these snippets ...
1
vote
2answers
66 views

Is there a way to change the parse order of snippets or plugins?

Is there a way to force snippets or plugins to be parsed late or at least after advanced conditionals are parsed?
0
votes
1answer
50 views

Playa with conditionals and snippets

I seem to have a problem with Playa + conditionals + snippets. I've emailed P&T since it may be an error in Playa. I'm trying to accomplish a listings page where the information displayed depends ...
5
votes
3answers
120 views

Breaking my HTML into tiny pieces - template, snippets, or globals?

In order to maximize code reuse, I'm trying to break down the mark up for each of my form fields into individual "containers" (e.g. a template, snippet, global). The project I am working on is ...
3
votes
2answers
71 views

Is there a way to define snippets in the index.php or config.php file?

I'd like to define snippets dynamically in the index.php file. Is there a way to do this?
2
votes
2answers
61 views

Why isn't this snippet + Zoo Triggers working?

I have a set of "category" pages such as: Dining (example.com/dining) Nightlife (example.com/nightlife) We are using Zoo Triggers to filter out the categories appropriately. I am using a snippet ...
2
votes
1answer
100 views

EE conditionals within javascript snippet

I am trying to use EE conditional statement within Javascript. The Javascript is called through a EE snippet. Part of the problem is I am using js conditionals right below my EE conditional. Is this ...
1
vote
2answers
149 views

Email encode tag Javascript issues

I use {encode="{webmaster_email}" title="Send E-Mail"} to hide my email address from harvester bots. When I use this code within my template all is fine. This code is also part of the footer. The ...
4
votes
5answers
164 views

What add-on/method do you use to create snippets as files? [closed]

For version control purposes, it's better to store snippets as files. What add-on or method would you recommend?
5
votes
4answers
206 views

Why is this Low Variable in a snippet not parsing?

I have a snippet that I use on nearly every page of a site. I need to give the admins some control in the fallback source of an image in that snippet. Now I know there is a parse order issue here as ...
8
votes
2answers
239 views

What is the difference between a global variable, a snippet and an embedded template?

What is the difference between a global variable, a snippet and an embedded template? When and where should I be using each of them?