vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   adding column on CMS (https://vborg.vbsupport.ru/showthread.php?t=274052)

chikuru 11-15-2011 11:55 AM

adding column on CMS
 
i want to edit the function of the "3Column" function in the CMS area, I want to display 4 columns instead of 3.. Here is the code of the vbcms_content_section_type3:

Code:

<vb:if condition="$result_count > 0">
        <vb:each from="contents" key="id" value="content">
                <vb:if condition="($id % 3) == 1">
                        <div class="fullwidth">
                                <div class="leftcol1<vb:if condition="$id > 3"> cms_separator</vb:if>">
                                        {vb:raw content}
                                </div>
                <vb:else />
                        <vb:if condition="($id % 3) == 2">
                                <div class="centercol1<vb:if condition="$id > 3"> cms_separator</vb:if>">
                                        {vb:raw content}
                                </div>
                        </vb:if>
                        <vb:if condition="($id % 3) == 0">
                                <div class="rightcol1<vb:if condition="$id > 3"> cms_separator</vb:if>">
                                                {vb:raw content}
                                </div>
                        </div>
                        </vb:if>
                </vb:if>
        </vb:each>
        <vb:if condition="($result_count % 3) != 0">
                </div>
        </vb:if>
</vb:if>


chikuru 11-16-2011 07:37 AM

anyone who could help?


All times are GMT. The time now is 10:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00903 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete