HowTo Turn on Error Checking in EE2.x

- | May 07, 2010 | posted by Sue Crocker | Permalink

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: -
EE2.0 Only HowTo Note to Self
Tell-a-Friend
Share |

Location of Language Downloads for EE2

May 01, 2010 | posted by Sue Crocker | Permalink

Question: Where can I find language packs for EE2?

Answer: You can find language packs for EE2 here.

EE2.0 Only Note to Self
Tell-a-Friend
Share |

Simple Search Finding Content

- | March 26, 2010 | posted by Sue Crocker | Permalink

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" 
Tags: -
HowTo Note to Self
Tell-a-Friend
Share |

HowTo Set Accessories to not be used

- | February 01, 2010 | posted by Sue Crocker | Permalink

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 
Tags: -
HowTo Note to Self
Tell-a-Friend
Share |

HowTo Replace Underscores with Dashes in url_title

January 20, 2010 | posted by Sue Crocker | Permalink

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_titlesSET `url_title` = REPLACE(`url_title`, '_''-'); 

For EE2.x:

UPDATE `exp_channel_titlesSET `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 Self
Tell-a-Friend
Share |

Link to Docs on security in PHP templates

| January 20, 2010 | posted by Sue Crocker | Permalink

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:
Note to Self
Tell-a-Friend
Share |

HowTo Modify My Password Using PHPMyAdmin

- | January 01, 2010 | posted by Sue Crocker | Permalink

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: -
HowTo Note to Self
Tell-a-Friend
Share |

HowTo Add an Edit This Link in EE2

December 31, 2009 | posted by Sue Crocker | Permalink

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} 
EE2.0 Only HowTo Note to Self
Tell-a-Friend
Share |

HowTo Change Membership Preferences to use Default instead of Agile

December 31, 2009 | posted by Sue Crocker | Permalink

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
Share |

Code to Display Wiki Entry

- | December 14, 2009 | posted by Sue Crocker | Permalink

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: -
HowTo Note to Self Wiki
Tell-a-Friend
Share |

Page 1 of 2 pages  1 2 >