Discuz3.2 custom single page with diy

Source: Internet
Author: User
Discuz3.2self-defined PHP file with diysingle-page single-page package the PHP file on the single page and the template (.htm) file on the single page, for example: index2.php?index2.htm? Phprequire. sourceclassclass_core.php; introduce the system core file $ discuzdiscuz_core: instance (); the following code creates and initializes the object $ discu

Discuz3.2 customize the PHP file with a single page of diy single page and the template (.htm) file of the single page, such as index2.php?index2.htm? Phprequire './source/class/class_core.php'; // introduce the system core file $ discuz = discuz_core: instance (); // The following Code creates and initializes the object $ discu

Discuz3.2 custom single page with diy

A single page includes the PHP file of the single page and the template (.htm) file of the single page, for example, index2.php1_index2.htm <无>
  Cachelist = $ cachelist; $ discuz-> init (); include template ('diy: forum/index2 '); // call a single-page template file?>
{Subtemplate common/header}

$ _ G [setting] [bbname]? Navigation bread

{Subtemplate common/footer}
{Subtemplate common/header}

$ _ G [setting] [bbname]? Member Style

Classified browsing

Here is the body area code

Topic name

Sidebar menu name

Sidebar menu name

Sidebar menu name

Management Panel

Add category

Manage categories

Back to membership

Copyright information

Author: fengzi

Copyright:

Website:

{Subtemplate common/footer} // In the code of the sidebar area

Block is a sidebar menu area;

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.