Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 关于去掉门户文章列表右侧“相关分类”

[复制链接]
酷米站长网 发表于 2013-3-25 17:24:59 | 显示全部楼层
不行,删除了 错误
回复

使用道具 举报

拾拾伍 发表于 2013-3-28 16:54:38 | 显示全部楼层
第一步:打开门户模板中的list文件,此文件默认位置在template/default/portal目录下

有点笨呢 这一步做不到 是右键查看源文件吗
回复

使用道具 举报

拾拾伍 发表于 2013-3-28 20:06:24 | 显示全部楼层
发表于 2012-8-9 13:22:07 |只看该作者 还请问一下,去掉后右面就是空出来的。左边文章栏的宽度还是没变,在哪里可以设置这个宽呢?谢谢
同问
回复

使用道具 举报

demonelf 发表于 2013-4-13 18:48:18 | 显示全部楼层
删除门户文章中的“相关分类”
http://www.madhex.com/forum.php?mod=viewthread&tid=698&fromuid=1

并且自动调整文章宽度

回复

使用道具 举报

一夜情人 发表于 2013-9-29 20:05:01 | 显示全部楼层
为什么删除了文章里,那个还存在! ?
回复

使用道具 举报

 楼主| teway 发表于 2013-10-4 10:51:26 | 显示全部楼层
拾拾伍 发表于 2013-3-28 20:06
发表于 2012-8-9 13:22:07 |只看该作者 还请问一下,去掉后右面就是空出来的。左边文章栏的宽度还是没变, ...

这个设置是删除了,但宽度还在,你可以调整宽度。https://discuz.dismall.com/thread-3184862-1-1.html按这个方法把文章一侧宽度调整全屏就可以了
回复

使用道具 举报

 楼主| teway 发表于 2013-10-4 10:52:08 | 显示全部楼层
一夜情人 发表于 2013-9-29 20:05
为什么删除了文章里,那个还存在! ?

文章和文章列表是不同的文件,如果还有说明是删除的是列表处的,再把文章处删除就可以了
回复

使用道具 举报

钱哥 发表于 2014-2-8 13:14:55 | 显示全部楼层
第一步:打开门户模板中的list文件,此文件默认位置在template/default/portal目录下

<!--{if $cat[others]}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang category_related}</h2>
</div>
<div class="bm_c">
<ul class="xl xl2 cl">
<!--{loop $cat[others] $value}-->
<li>&#8226; <a href="{echo getportalcategoryurl($value[catid]);}">$value[catname]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->


.....

<div id="ct" class="ct2 wp cl">
        <div class="mn">
                <!--{ad/articlelist/mbm hm/1}--><!--{ad/articlelist/mbm hm/2}-->
                <!--[diy=listcontenttop]--><div id="listcontenttop" class="area"></div><!--[/diy]-->
                <div class="bm">
                        <div class="bm_h cl">

找到上面的红色代码删除,更新下缓存即可删除文章列表右侧“相关分类”

第二步:打开门户模板中的view.htm文件,此文件默认位置在template/default/portal目录下
<!--{if $cat[others]}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang category_related}</h2>
</div>
<div class="bm_c">
<ul class="xl xl2 cl">
<!--{loop $cat[others] $value}-->
<li>&#8226; <a href="{echo getportalcategoryurl($value[catid]);}">$value[catname]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->



......


<div id="ct" class="ct2 wp cl">
        <div class="mn">
                <div class="bm vw">
                        <div class="h hm">
                                <h1 class="ph">$article[title] <!--{if $article['status'] == 1}-->({lang moderate_need})<!--{elseif $article['status'] == 2}-->({lang ignored})<!--{/if}--></h1>
                                <p class="xg1">

找到上面的红色代码删除,更新下缓存即可删除文章页面右侧“相关分类”
回复

使用道具 举报

ohalu 发表于 2014-2-8 17:31:47 | 显示全部楼层
謝謝,希望以後多些
回复

使用道具 举报

李笨疯 发表于 2014-3-17 15:34:18 | 显示全部楼层
钱哥 发表于 2014-2-8 13:14
第一步:打开门户模板中的list文件,此文件默认位置在template/default/portal目录下

感谢!修改成功!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-28 11:25 , Processed in 0.309026 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表