1

我已经安装了 pligg cms ,我可以看到一个侧边栏小部件为“什么是 Pligg?'。我想删除这个,怎么办?我在管理面板中看不到任何选项。提前致谢。

4

2 回答 2

2

I am kinda a newbie on Pligg CMS, but I this this one is quite easy.

Modules--->Modify Language---->Sidebar :

PLIGG_Visual_What_Is_Pligg : "You can enter your text here"

PLIGG_Visual_What_Is_Pligg_Text : "You can enter your text here"

So you can just insert your own text or simply remove it.

于 2013-10-22T10:16:13.583 回答
1

您可能在 /templates/name-of-your-template/(例如 /templates/bootstrap/)中有一个名为“about_box.tpl”的文件,类似于:

{************************************
******** About Box Template *********
*************************************}
<!-- about_box.tpl -->
{checkActionsTpl location="tpl_widget_about_start"}
<div class="headline">
    <div class="sectiontitle">{#PLIGG_Visual_What_Is_Pligg#}</div>
</div>
<div id="aboutcontent">
    {#PLIGG_Visual_What_Is_Pligg_Text#}
</div>
{checkActionsTpl location="tpl_widget_about_end"}
<!--/about_box.tpl -->

将其编辑为:

{************************************
******** About Box Template *********
*************************************}
<!-- about_box.tpl -->
{checkActionsTpl location="tpl_widget_about_start"}
<div id="aboutcontent">
    {#PLIGG_Visual_What_Is_Pligg_Text#}
</div>
{checkActionsTpl location="tpl_widget_about_end"}
<!--/about_box.tpl -->

如果您想从侧边栏中完全删除关于框的部分。转到 tmapltes/bootstrap/sidebar.tpl

您的代码可能与此类似:

{************************************
****** First Sidebar Template *******
*************************************}
<!-- sidebar.tpl -->
{if $pagename neq "submit"}
    {checkActionsTpl location="tpl_pligg_sidebar2_start"}
    <!-- START SEARCH BOX -->
        {include file=$the_template."/search_box.tpl"}
    <!-- END SEARCH BOX -->
    {checkActionsTpl location="tpl_pligg_sidebar_middle"}
    <!-- START ABOUT BOX -->
        {include file=$the_template."/about_box.tpl"}
    <!-- END ABOUT BOX -->
    {checkActionsTpl location="tpl_pligg_sidebar2_end"}
{/if}
<!--/sidebar.tpl -->

将其编辑为:

{************************************
****** First Sidebar Template *******
*************************************}
<!-- sidebar.tpl -->
{if $pagename neq "submit"}
    {checkActionsTpl location="tpl_pligg_sidebar2_start"}
    <!-- START SEARCH BOX -->
        {include file=$the_template."/search_box.tpl"}
    <!-- END SEARCH BOX -->
    {checkActionsTpl location="tpl_pligg_sidebar_middle"}
    {checkActionsTpl location="tpl_pligg_sidebar2_end"}
{/if}
<!--/sidebar.tpl -->
于 2014-03-02T02:04:25.980 回答