vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Putting "categories" and "published by" in the same line (https://vborg.vbsupport.ru/showthread.php?t=260290)

edyy 04-23-2011 05:27 AM

yes but that will make only the section on fixed template without the widgets parts, or the header and footer.

Lynne 04-23-2011 04:33 PM

What do you mean? That is how you would apply a different style to the CMS area. Alternately, just post the CSS to make the pages fixed via a condition in one of the templates.

edyy 04-25-2011 07:04 PM

It works , is fine now. I thought that this option will not affect the rest of the page, but you are right :). Thanks.

ashley76 04-26-2011 01:02 AM

so how can I change this

Code:

<div class="article_hdr_icon">
                <vb:if condition="!empty($categories)">
                <div class="cms_article_section_location">
                        <ol class="commalist">
                                <vb:each from="categories" key="categoryid" value="category">
                                        <li><a href="{vb:raw category.category_url}">{vb:raw category.category}</a></li>
                                </vb:each>
                        </ol>
                </div>
        </vb:if>
            </div>

To show section titles instead of categories?

Lynne 04-26-2011 03:29 AM

Quote:

Originally Posted by ashley76 (Post 2188705)

To show section titles instead of categories?

You can't just change the template - you would need to change the code also and make sure the parentnode is grabbed. This was asked about in another thread recently. I don't know if they wrote down a solution or not. Try a search.


All times are GMT. The time now is 02:39 PM.

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.01101 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete