This is the H2

Guide to 404 Pages

Are you looking for more information on EE’s 404 pages? See: Guide to 404 Pages.

404 Pages

HowTo Set Textareas to be a Certain Size in SafeCracker

Question: How can I set my textareas in SafeCracker to be a certain size?

Answer: Add the following code to your SafeCracker form:

add rows="10" cols="100" 

stuff

 

HowTo Create a Top Twenty List of Popular Items

Question: How can I create a list of the most popular items on my site?

Answer: You’ll need to first set up a single entry template (such as a comments or a permalink page) with a track_views=“one” parameter added to your exp:channel:entries loop.

See: EEDocs: Entry Tracking

Then you’ll create a template or an embed with the following code:

{exp:query limit="20" 
sql="select entry_id, view_count_one as cnt, url_title, title 
from exp_channel_titles 
where view_count_one > 0 
order by view_count_one desc"
}
{cnt} 
- <a href="{path=howto/articles/{url_title}}">{title}</a><br />
{paginate}
<p>Page {current_page} of {total_pages} pages {pagination_links}</p>
{/paginate}
{
/exp:query} 

Change the path to your single entry page as needed.

Top Hits

HowTo Turn off XSS Filtering

Question: How can I turn off XSS sanitizing? My users are having trouble with certain kinds of files.

Answer: See the screen shots below. NOTE: Only do this if you trust the persons doing the file uploads.

First level

xss

Turn off XSS!

HowTo Set the Current Year in a Copyright Area

Question: It there an easy way to set the current year in a copyright area on my site?

Answer: Sure. Use the following text snippet:

{current_time format="%Y"
Setting Year