Add a radio radio button to the Phpcms v9 topic, you can create different columns for content editing, and add a custom field to the topic.

Source: Internet
Author: User

1.

2.

Locate the special_add.tpl.php and special_edit.tpl.php files in Phpcms\modules\special\templates

Add in special_add.tpl.php



special_edit.tpl.php


3. Add the Type2 field in the database table ' phpcms_special '

4. Template call



Featured Templates Home

<div class= "Jigou_left" >
{Loop $types $t}
{if $t [' name '] = = "Introduction"}
{pc:special action= "content_list" specialid= "$id" typeid= "$t [typeid]" listorder= "3" num= "999"}
{Loop $data $r}

<div class= "jigou_img" ></div>
<div class= "Jigou_title" >{$r [' title ']}</div>
<div class= "Jigou_desc" >{$r [' description ']}...<a href= ' {$r [url]} ' class= ' jigou_a ' >>> more </a ></div>
{/loop}
{/PC}

{/if}
{/loop}
</div>


Add a radio radio button to the Phpcms v9 topic, you can create different columns for content editing, and add a custom field to the topic.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.