Paulo Elias
  • Member for 9 years
  • Last seen more than 1 year ago
3 answers
1 votes
512 views
After removing index.php from URLs, 404s on every template except homepage
0 votes

On single entry pages that aren't throwing 404's EE is falling back to the template group's index.html page. To fix: Add this to the top of your detail page template. Adjust the segment to a number ...

View answer
3 answers
1 votes
340 views
Convert Custom Field Content to Lower Case with Dashes
2 votes

I did this with CE String: <a href="{url}" class="icon-{exp:ce_str:ing url_title}{label}{/exp:ce_str:ing}">{label}</a> You can see the docs here The reason I like this method is CE ...

View answer
2 answers
2 votes
106 views
Dynamically pull news articles by year?
2 votes

Get yourself Zoo Triggers and you will love yourself! {exp:zoo_triggers:archive channel="news" status="open" show_counter="no" type="year"} Just make sure you give the settings docs a once over to ...

View answer
1 answers
1 votes
1k views
Adding trailing slashes and redirecting to www in .htaccess
Accepted answer
2 votes

Here's a gist I've made that you can comment/uncomment out the bits you need. To date I haven't found the need to combine rules and I haven't found many examples that actually do combine rules. I'd ...

View answer
1 answers
2 votes
280 views
Parse order fun! Getting a stashed Assets image resized using CE Image inside a plugin parameter
Accepted answer
3 votes

Welp, after even more testing an hair pulling I sorted it out. I forgot to set parse_tags="yes" on the exp:stash:set... d'oh! Model {!-- SINGLE VARIBLES --} {exp:stash:set parse_tags="yes" trim="...

View answer
1 answers
2 votes
242 views
CAPTCHA not registering as on/Image not appearing
2 votes

This has bitten me a few times and it has always been a path issue. Double check your captcha preferences. Also, make sure the captcha directory/folder is writable by your webserver

View answer
1 answers
1 votes
655 views
Can I call a get_list within a exp:stash:set and use conditionals + single variables?
Accepted answer
6 votes

After some help from the wonderful Mr. Croxton I was able to sort it out. Here is how to pull this off. When grabbing the data in your model you need to stash the {entry_id} of the parent list (I ...

View answer
1 answers
1 votes
85 views
conversion to wygwam field is hanging in ExpressionEngine 1.7
1 votes

I do not have experience converting the MD fields to WYGWAM-friendly fields but here are a couple of ways to troubleshoot this: The first way involves upgrading to EE 2 by changing all of those MD ...

View answer
2 answers
1 votes
761 views
Retrieve Structure Top Level Pages
3 votes

You'll need to use the Structure Entries add-on for this. Here's the basic idea (full docs can be found at the devot-ee page): <select id="Menu" name="menu"> {exp:structure_entries depth="1"}...

View answer
4 answers
4 votes
2k views
500 error after site was hacked
1 votes

Can you log into the backend? If so you can find the information in the footer there. Also, if your login form looks like this then it is EE 2 http://d.pr/i/BvML If you can't login or load any pages ...

View answer
2 answers
1 votes
194 views
Managing database for single site across multiple servers?
Accepted answer
2 votes

You'll find a lot of great info at Migrating between Development, Staging and Production for a pre-existing ExpressionEngine site As mentioned in one of the answers, remember that content should flow ...

View answer
2 answers
3 votes
153 views
Is there a way to define snippets in the index.php or config.php file?
4 votes

No, you can't generate them dynamically but you can use Snippet Sync or Libraree to use snippets as files and port them into other projects. I use Libraree as part of my base install with a couple ...

View answer
2 answers
3 votes
3k views
How to generate a list of years dynamically starting with this year
7 votes

I wrote a simple plugin to do this and you can also use this plugin (I did not write rangee): http://devot-ee.com/add-ons/rangee

View answer
2 answers
8 votes
2k views
EE1 to EE2 Upgrade
Accepted answer
20 votes

Luckily the add-ons you are using have some upgrade paths from EE 1 => 2... The only two you need to tweak are the file fields before and after the upgrade: nGen File Field https://stackoverflow.com/...

View answer
2 answers
4 votes
2k views
500 internal server error using Master Config
4 votes

In your index.php & admin.php are you pointing your system path to the correct spot? I keep my system above root: $system_path = '../system'; On a related note, can you turn on debugging in ...

View answer
6 answers
7 votes
3k views
Removing index.php rewrite not working
Accepted answer
6 votes

Try adjusting your uri_protocol settings. When I have experienced these issues it has always been solved by specifying "PATH_INFO" or "ORIG_PATH_INFO".

View answer
8 answers
10 votes
3k views
What's the Fastest Way to Download/Upload a Site During Updating?
2 votes

When I can't use git on the prod server (new client or client doesn't use git and edits files on the seerver) I use rsync to grab things. Makes life much easier. Be very careful with the --delete ...

View answer
8 answers
20 votes
2k views
Config Bootstrap Options
3 votes

Agreed with building your own. I built my own then modified FL's EE Master Config to suit my needs. Super flexible and it is really nice having a plug-and-play EECMS install ready to be loaded on to ...

View answer
4 answers
6 votes
311 views
How do you prevent admins from being locked out of the control panel even with correct password?
1 votes

I've added these config overrides to my master config file and haven't had any issues logging in: // Cookie Settings $env_config['cookie_domain'] = $_SERVER['HTTP_HOST']; $env_config['...

View answer
5 answers
11 votes
2k views
What do you put in your .gitignore for ExpressionEngine sites?
3 votes

Your paths may vary: # Global Files !.gitignore .htaccess .sass-cache # .svn .DS_Store config.local.php config.dev.php [Tt]humbs.db # Images src/www/public_html/assets/ee_images/* # src/www/...

View answer
5 answers
4 votes
586 views
What add-on/method do you use to create snippets as files?
3 votes

I use Low Variables when the project calls for it otherwise Libraree is part of my base isntall http://devot-ee.com/add-ons/libraree

View answer
7 answers
3 votes
30k views
How do I remove index.php from my URLs?
3 votes

I have a fairly extensive .htaccess template at https://gist.github.com/3438705 This uses the official rewrite method with a few more bells and whistles too.

View answer
13 answers
14 votes
605 views
License Management Process
3 votes

Using the "Notepad" in the sidebar works as a lo-fi solution too. I also use "Quick Links" to link to training videos I record for the client. You can keep them there too.

View answer