Supesite 7.0 Online template editing function application

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Supesite 7.0 is a community CMS product launched by Sing (Comsenz) in March 2009 as Comsenz's community product Supesite 7.0 fully supports the aggregation of discuz!, Ucenter home. For those that have been installed using discuz! and Ucenter home webmaster, through the Supesite 7.0 can quickly build a community portal.

When applying Supesite 7.0, many webmasters need to customize the site template when they are in construction. Here to show you a convenient way to modify the template. and teach you how to add a "site template" to make references to other site templates.

This modification method is suitable for simple modification and novice users, and requires the ability of HTML design. Advanced users and a large number of templates customized users, please use the Dreamweaver and other web editing tools to upload to the server in the Supesite templates directory in the related template folder.

Online Editing Implementation methods:

Enter the background, select the System Management => template editing, see the Site Template Directory page, the following file to be edited as "index" template file, as shown in the following figure:

  

When you click the "index" template file you want to edit, an online edit box appears, as shown in the following illustration:

  

Our goal: To put the first page on the right "bulletin" in the "user login" position above. The original home placement, as shown in the following image:

  

Specific actions:

1, find the source code and cut:

Notice:

No announcements at the moment

$value [Subject]

2. Paste the cut content into

3, then click "Submit to save" and make "cache update".

After the modification, refresh the home page, you will see the modified effect, as shown in the following figure:

  

Detailed methods for adding site templates:

Then we continue to try to add a "site template" and refer to it on the first page, where we choose the first navigation bar below:

Specific steps: Click System Management => Template Edit => Add site template (right):

In the file hit input: "AD01", as shown in the following figure:

  

After you create the "ad01.html.php" site template, you can try to fill in the following in your online edits and save:

This is the ad bit AD01.

Then choose to edit the "index" file online:

Will

Insert behind the following code and Save:

You can refer to the Insert method in the following illustration:

  

After you update the cache, look at the first page, and you will find that the site template you added earlier is ready to run, as shown in the following illustration:

  

OK, so, the primary online editor for Supesite has already been demonstrated.

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.