HowTo Turn on Error Checking in EE2.x
Question: How can I turn on error checking in EE2.x?
Answer: You’ll need to edit the index.php file found in your /system directory, and change the value of
$debug = 0;
to
$debug = 1;
NOTE: Remember to change this value back when you are done troubleshooting.
Tags: error checking - ee2EE2.0 Only HowTo Note to Self
Tell-a-Friend
Location of Language Downloads for EE2
Question: Where can I find language packs for EE2?
Answer: You can find language packs for EE2 here.
EE2.0 Only Note to SelfTell-a-Friend
Simple Search Finding Content
Question: I’ve added some custom fields for my site, but when I search on words that should be searched, I get no matches. Why is that?
Answer: The default Simple Search form defaults to only searching titles, unless you specify differently.
Add the following code snippet to your Simple Search Form:
search_in="everywhere"
HowTo Note to Self
Tell-a-Friend
HowTo Set Accessories to not be used
Question: How can I get accessories to not be active if I have errors when accessing the Accessories page?
Answer: You can delete rows from the exp_accessories table. This query will remove all the rows in the table, but not delete any files on the server.
delete from exp_accessories
HowTo Note to Self
Tell-a-Friend
HowTo Replace Underscores with Dashes in url_title
Question: How can I change the url_title to use dashes (-) instead of underscores (_)
Answer: You can perform the following sql query to do this.
UPDATE `exp_weblog_titles` SET `url_title` = REPLACE(`url_title`, '_', '-');
For EE2.x:
UPDATE `exp_channel_titles` SET `url_title` = REPLACE(`url_title`, '_', '-');
NOTE: As with any direct sql manipulation, make sure you’ve backed up the table before attempting this.
HowTo Note to SelfTell-a-Friend
Link to Docs on security in PHP templates
Question: Where can I find out more information about security risks with PHP in templates?
Answer: You can find more info from the following page in the EE 1.x docs: EEDocs: PHP in Templates
Array
Tags: eedocsNote to Self
Tell-a-Friend
HowTo Modify My Password Using PHPMyAdmin
Question: I’m unable to remember my password, and I’m not getting my Forgot Password email to get a new one. How can I figure out what my password is?
Answer: Passwords are encrypted using SHA1, so you’ll need to replace your password with a known SHA1’d password.
In this case, I use the password of password, which is set to:
5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
Using a MySQL tool such as PHPMyAdmin (or something similar) replace the value of password with the text string listed above.
NOTE: Once you log into the EE backend, make sure to change your password to something else.
Tags: support - phpmyadminHowTo Note to Self
Tell-a-Friend
HowTo Add an Edit This Link in EE2
Question: How can I add an Edit This Link in EE2?
Answer: You can use the following snippet:
{if author_id == logged_in_member_id OR logged_in_group_id == "1"}•
<a href="{cp_url}?S=0&D=cp&C=content_publish&M=entry_form&channel_id={channel_id}&entry_id={entry_id}">Edit This</a>{/if}
Tell-a-Friend
HowTo Change Membership Preferences to use Default instead of Agile
Question: How can I change the Membership preferences to use Default instead of Agile?
Answer: Log into your control panel backend and browse to CP Home > Members > Membership Preferences > General Configuration
and set Default Member Profile Theme to Default.
EE2.0 Only HowTo Note to Self
Tell-a-Friend
Code to Display Wiki Entry
Question: What code do I use to display a wiki?
Answer: Use the following code in a template.
{exp:wiki base_path="wiki/index" wiki="howto" theme="default"}
Replace the value of wiki= to your actual wiki name. The default name of the wiki is default_wiki.
Tags: note to self - wikiHowTo Note to Self Wiki
Tell-a-Friend


