简体   繁体   English

JUpdate之后,我的内容位置从列表中消失了-joomla

[英]After JUpdate my content position is gone from list - joomla

I used JUpdate to update a joomla 1.5.23 site to 2.5 我使用JUpdate将joomla 1.5.23网站更新为2.5

when i tried to re-link the content area to the article i cant find the position from my main content area in the menu anymore. 当我尝试将内容区域重新链接到文章时,我不再从菜单的主要内容区域中找到位置。

the left sidebar is still there and also the right one. 左侧边栏仍然在那里,右侧边栏也仍然存在。

Can anyone shine some light on this? 谁能对此有所启发? i already tried all the positions from the template twice but i cant seem to find it? 我已经尝试过两次模板中的所有位置,但是我似乎找不到它?

--- template details --- -模板详细信息-

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.6//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="2.5" type="template" client="site" >
    <name></name>
    <version>1.0.0</version>
    <creationDate>07/2009</creationDate>
    <author>SiteGround</author>
    <authorEmail></authorEmail>
    <authorUrl></authorUrl>
    <copyright></copyright>
    <license>GNU/GPL</license>
    <description>TEMPLATE_DESCRIPTION</description>
    <files>
        <filename>index.php</filename>
        <filename>templateDetails.xml</filename>
        <filename>template_thumbnail.png</filename>
        <filename>templates.php</filename>
        <filename>template_preview.png</filename>
        <filename>error.php</filename>

        <folder>css</folder>
        <folder>images</folder>

    </files>
    <positions>
        <position>user4</position>            
        <position>user3</position>            
        <position>breadcrumb</position>            
        <position>user2</position>            
        <position>left</position>                  
        <position>right</position>            
        <position>debug</position>       
    </positions>
    <languages>
        <language tag="en-GB">en-GB.tpl_siteground-j15-80.ini</language>
    </languages>
    <administration>
        <languages folder="admin">
            <language tag="en-GB">en-GB.tpl_siteground-j15-80.ini</language>
        </languages>
    </administration>
</extension>

I'm not too sure why you used JUpdate to update to 2.5. 我不太确定为什么要使用JUpdate更新到2.5。 I personally don't always trust 3rd party extensions to update the CMS as it sometimes causes problems. 我个人并不总是信任第三方扩展来更新CMS,因为它有时会引起问题。 What you should do is (providing you have a backup of your old 1.6 site): 您应该做的是(假设您有旧1.6站点的备份):

\n
  1. Upgrade to 1.6.6 by downloading the patch and extracting it via FTP on to the root of your site 通过下载补丁并通过FTP将其解压缩到站点的根目录来升级到1.6.6
  2. IN the Joomla Backend, go to Extensions >> Extension Manager >> Find Updates 在Joomla后端中,转到扩展 >> 扩展管理器 >> 查找更新
  3. If you can't find any updates, then go to Options and select the Long Term Release. 如果找不到任何更新,请转到“ 选项”并选择“长期发行”。 Once saved, Purge Cache and try to find updates again. 保存后,清除缓存并尝试再次查找更新。

Update: 更新:

change this: 改变这个:

<?php if($this->params->get('showComponent')) : ?> 
    <jdoc:include type="component" /> 
<?php endif; ?>

to this: 对此:

<jdoc:include type="component" /> 

So basically remove the PHP that is wrapped around 所以基本上删除包装的PHP

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM