vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   CMS article settings default values (https://vborg.vbsupport.ru/showthread.php?t=290148)

UK CHI3F 11-04-2012 07:49 PM

CMS article settings default values
 
I am having troubel changing the default settings for my cms articles.

I need to have only the titel and short preview on my front page and would like theis set as default when creating an article.
When someone clicks on the article i would like the author, date etc all displayed.

I understand i need to change settings in:
vbcms_edit_publisher

which is below but i dont know what to change, when i did change bits it made no difference.

Please help with anything you can, Thanks

Code:

<label class="half">{vb:rawphrase show_publish_state}</label>
                <div class="half">
                        <ul class="multifield group floatcontainer">
                                <li><input type="radio" name="showpublishdate" id="showpublishdate0" value="0" <vb:if condition="$showpublishdate"> checked="checked" </vb:if> tabindex="1" /> <label for="showpublishdate0" class="secondary">{vb:rawphrase yes}</label>&nbsp;&nbsp;{vb:stylevar dirmark}</li>
                                <li><input type="radio" name="showpublishdate" id="showpublishdate1" value="0" <vb:if condition="!$showpublishdate"> checked="checked" </vb:if> tabindex="1" /> <label for="showpublishdate1" class="secondary">{vb:rawphrase no}</label></li>
                        </ul>
                </div>
        </div>


        <div class="blockrow" >
                <label class="half">{vb:rawphrase show_full_article}</label>
                <div class="half">
                        <ul class="multifield group floatcontainer">
                                <li><input type="radio" name="showpreviewonly" id="showpreviewonly0" value="0" <vb:if condition="!$showpreviewonly"> checked="checked"</vb:if> tabindex="1" /> <label for="showpreviewonly0" class="secondary">{vb:rawphrase yes}</label>&nbsp;&nbsp;{vb:stylevar dirmark}</li>
                                <li><input type="radio" name="showpreviewonly" id="showpreviewonly1" value="1" <vb:if condition="$showpreviewonly"> checked="checked"</vb:if> tabindex="1" /> <label for="showpreviewonly1" class="secondary">{vb:rawphrase no}</label></li>
                        </ul>
                </div>
        </div>

        <div class="blockrow" >
                <label class="half">{vb:rawphrase show_update_date}</label>
                <div class="half">
                        <ul class="multifield group floatcontainer">
                                <li><input type="radio" name="showupdated" id="showupdated0" value="1" <vb:if condition="$showupdated"> checked="checked" </vb:if> tabindex="1" /> <label for="showupdated0" class="secondary">{vb:rawphrase yes}</label>&nbsp;&nbsp;{vb:stylevar dirmark}</li>
                                <li><input type="radio" name="showupdated" id="showupdated1" value="0" <vb:if condition="!$showupdated"> checked="checked" </vb:if> tabindex="1" /> <label for="showupdated1" class="secondary">{vb:rawphrase no}</label></li>


Gamelobby 02-12-2016 08:49 PM

*bump*


All times are GMT. The time now is 06:47 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.01049 seconds
  • Memory Usage 1,720KB
  • 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