HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Columns

Allows wrapping of HTML with a div with a column_wrapper CSS class, to have it automatically put in columns.

You need to add this code into your HEADER.tpl:

Code

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
{$CSS_INCLUDE,columns}
{$JAVASCRIPT_INCLUDE,javascript_columns}

License

Creative Commons Attribution 3.0

Additional credits/attributions

Based on the code of Adam Wulf

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


An error has occurred

Unfortunately a query has failed [INSERT INTO ocp2_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, `get`, post, milliseconds) VALUES (0, 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'http://commoncrawl.org/faq/', 'site/pages/modules/downloads.php', '54.166.216.223', -1883959302, 1495899048, '', '<param>page=downloads</param>\n<param>type=entry</param>\n<param>id=694</param>\n', '', 0)] [Duplicate entry '19560025' for key 'PRIMARY'] (version: 8-RC3, PHP version: 7.0.19, URL: /site/downloads/entry/addons/ocportal-8-0/graphical_8/columns.htm)

Here is the stack trace:

The staff have been provided a ‘stack trace’ which may help them diagnose the problem.