GVKun编程网logo

php – 为什么我的Joomla! 2.5扩展将管理目录中的内容安装到joomla而不是从站点目录? (可下载代码)

9

最近很多小伙伴都在问php–为什么我的Joomla!2.5扩展将管理目录中的内容安装到joomla而不是从站点目录?(可下载代码)这两个问题,那么本篇文章就来给大家详细解答一下,同时本文还将给你拓展5

最近很多小伙伴都在问php – 为什么我的Joomla! 2.5扩展将管理目录中的内容安装到joomla而不是从站点目录? (可下载代码)这两个问题,那么本篇文章就来给大家详细解答一下,同时本文还将给你拓展5个在Joomla中创建事件日历的最佳Joomla日历扩展、Joomla - akeeba backup(joomla网站备份、迁移扩展)、Joomla 3.0 发布,PHP 内容管理系统、Joomla 3.0.2 发布,PHP内容管理系统等相关知识,下面开始了哦!

本文目录一览:

php – 为什么我的Joomla! 2.5扩展将管理目录中的内容安装到joomla而不是从站点目录? (可下载代码)

php – 为什么我的Joomla! 2.5扩展将管理目录中的内容安装到joomla而不是从站点目录? (可下载代码)

好的,问题是..我的joomla模块安装不正确. autobase.xml的orginial内容基于 joomla 2.5 docs for HelloWorld.我在com_autobase.zip中有两个名为admin和site的目录.由于某些未知原因,来自站点的文件未被转移到Joomla / Components / Com_autobase中.但是来自admin的文件正在被转移到Components / com_autobase和Administrator / Components / com_autobase中

管理文件夹’com_autobase.zip’

admin folder installer http://iforce.co.nz/i/bf3m5asl.ofm.png

站点文件夹’com_autobase.zip’

site folder installer http://iforce.co.nz/i/dfn4xw5o.0cv.png

来自’com_autobase’和’com_autobase / admin’的autobase.xml内容.

<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: helloworld.xml 14 2009-11-02 18:35:20Z chdemko $-->
<extension type="component" version="1.6.0" method="upgrade">

<name>AutoBase</name>
<!-- The following elements are optional and free of formatting conttraints -->
<creationDate>July 2012</creationDate>
<authorUrl>http://www.triotech.co.nz</authorUrl>
<copyright>copyright Info</copyright>
<license>License Info</license>
<!--  The version string is recorded in the components table -->
<version>0.0.24</version>
<!-- The description is optional and defaults to the name -->
<description>This application has been built using PHP in house at Trio Technology Ltd as a third party
application for the AutoBase Car Yard</description>

<install> <!-- Runs on install -->
    <sql>
        <file driver="MysqL" charset="utf8">sql/install.MysqL.utf8.sql</file>
    </sql>
</install>
<uninstall> <!-- Runs on uninstall -->
    <sql>
        <file driver="MysqL" charset="utf8">sql/uninstall.MysqL.utf8.sql</file>
    </sql>
</uninstall>
<update> <!-- Runs on update; New in 1.6 -->
    <schemas>
        <schemapath type="MysqL">sql/updates/MysqL</schemapath>
    </schemas>
</update>

<!-- Site Main File copy Section -->
<!-- Note the folder attribute: This attribute describes the folder
    to copy FROM in the package to install therefore files copied
    in this section are copied from /site/ in the package -->
<files folder="site">
    <filename>index.html</filename>
    <filename>autobase.PHP</filename>
    <filename>controller.PHP</filename>
    <filename>deFinitions.PHP</filename>
    <filename>imageController.PHP</filename>
    <folder>views</folder>
    <folder>js</folder>
    <folder>css</folder>
    <folder>helpers</folder>
    <folder>models</folder>
    <folder>cache</folder>
    <folder>images</folder>
</files>

<administration>
    <!-- Administration Menu Section -->
    <menu>AutoBase!</menu>
    <!-- Administration Main File copy Section -->
    <!-- Note the folder attribute: This attribute describes the folder
        to copy FROM in the package to install therefore files copied
        in this section are copied from /admin/ in the package -->
    <files folder="admin">
        <!-- Admin Main File copy Section -->
        <filename>index.html</filename>
        <filename>autobase.PHP</filename>
        <filename>controller.PHP</filename>
        <!-- sql files section -->
        <folder>sql</folder>
        <!-- tables files section -->
        <folder>tables</folder>
        <!-- models files section -->
        <folder>models</folder>
        <!-- views files section -->
        <folder>views</folder>
        <!-- views helpers section -->
        <folder>helpers</folder>
    </files>
</administration>

</extension>

‘com_autobase.zip’INSTALLER包预览

package http://iforce.co.nz/i/zcga3oyx.cs2.png

但是,当我安装我的打包的zip文件时,我收到此错误..“文件不存在:admin / deFinitions.PHP”(这应该是预期的,因为此文件位于站点组件而不是admin目录中).

joomla error http://iforce.co.nz/i/htlotipf.mgk.png

这告诉我它试图找到位于站点目录中的文件/文件夹,但是使用admin目录.如何将网站和管理员的扩展文件转移到正确的位置?在joomla CMS上.

站点文件夹’com_autobase.zip'(从windows预览,如你所见,deFinitions.PHP就在那里).

site windows installer http://iforce.co.nz/i/j5coups5.aqo.png

可以在here下载安装程序

解决方法

好的找到了问题的解决方案.在admin文件夹中,删除autobase.xml文件,并将index.html文件添加到缓存文件夹.我认为Joomla不喜欢安装空的文件夹.一旦你完成了这个,它应该安装得很好.

问候.

5个在Joomla中创建事件日历的最佳Joomla日历扩展

5个在Joomla中创建事件日历的最佳Joomla日历扩展

日历已经非常习惯我们的日常工作,我们经常依赖纸质日历。但是,对于像我们这样的Joomla企业所有者来说,无论是会议还是任何形式的聚会,Joomla事件日历扩展都是必须的。

很多插件都有自己独特的功能,但并不是所有的Joomla日历扩展都是一样的。在“日历和事件”目录中列出了160多个扩展,其中许多都有一些您可能不需要使用的不必要功能。

由于日历对于事件提醒是如此重要,这就是为什么我们想要找出最适合您个人需要的Joomla日历模块。 本文包含5个最好的Joomla日历扩展,来在Joomla中创建一个日历。

Spider Calendar

Spider Calendar

Spider日历是Web-Dorado团队在Joomla扩展目录中提供的最好的Joomla日历扩展之一。它是一个响应速度快且可配置的Joomla事件日历扩展,可以在一个日历中包含多个有组织的事件。

Spider日历是组织事件并以日历格式显示它们的最佳解决方案。它能够显示所有的事件,显示在一个模块的位置,作为一个美丽的和可定制的日历在您的网站与用户非凡体验的。

特征

  • 用于设置日历高度和宽度的选项
  • 可以用作组件和模块
  • 支持配色方案修改
  • 标准日历主题
  • 根据需要创建任意数量的日历
  • 分别为每个日历创建事件
  • 更改箭头颜色和背景颜色
  • 在单个页面中显示多个日历

iCagenda

iCagenda

iCagenda是一个易于使用,设计精美且用户友好的Joomla日历扩展程序,带有Joomla的日历模块。它是一种干净且集成的Joomla样式,具有令人印象深刻的Joomla事件日历显示。

Cagenda具有快速响应和灵活的设计,并提供40多种语言版本。您将在iCagenda中获得带有两个不同版本的内置主题包安装程序。免费和高级版。iCagenda免费版包括组件iCagenda,库iC库,模块iC日历以及许多与插件相关的功能。

特征

具有开始和结束日期以及选择工作日的期间事件。

  • 联系信息。
  • 前端搜索过滤器
  • 前端提交表格。
  • 使用选项注册事件。
  • 功能图标:为特定特征创建图标。
  • 前端按钮:“打印”和“添加到日历”。
  • 后端高级ACL访问权限。

JEvents

JEvents

JEvent是一个著名的自由joomla日历组件由Geraint Edwards。虽然它主要是一个Joomla事件扩展,但开发人员也致力于他们的日历扩展。JEvents为您的Joomla提供完整的事件和日历解决方案!

但是,您可以将事件显示为可视的月度日历视图,创建复杂的重复模式,并通过单击几次来导入/导出事件。JEvents日历可以被翻译成40多种语言;此外,您可以轻松导入和导出日历。

特征

  • 使用JEvents内置日历注册并安排多个事件
  • 支持Joomla MVC框架
  • 提供多个类别
  • 提供免费版和专业版
  • 使用Joomla更新系统

DPCalendar

DPCalendar

DP Calendar DPCalendar是一个由Digital Peak团队开发的超级快速和可访问的本地Joomla日历扩展。它具有所有Joomla特性,任何在线Joomla日历和事件管理器都应该具有谷歌日历集成。这是DPCalendar的主要卖点。

Ajax驱动的事件浏览或操作,拖放,嵌套日历,前端编辑,CalDAV和ACL支持等功能为DPCalendar带来了更多价值。

特征

  • 嵌套的日历
  • Ajax日历采用平滑设计
  • 超快速,CSS占用空间小
  • 所有视图的全面响应
  • 模板和布局优先于支持
  • Google和OpenStreetMap地图集成
  • CalDAV访问日历
  • 每个用户都可以拥有自己的日历

Noboss Calendar

Noboss Calendar

Noboss Calendar是No Boss Technology提供的一个简单易用的Joomla日历模块。许多现成的布局模型供你使用。只要开始选择一个准备使用布局模型和自定义作为自己的兴趣的方式。

快速启动,设施安装Noboss日历和设置您的Joomla日历在不到5分钟。此外,通过excel表格导入事件。Noboss日历有无限的可能性与定期更新和支持。

特征

  • 多种型号
  • 活动信息
  • 类别方便的过滤器
  • 快速入门
  • 带有响应式的无限项目
  • 无限的可能性
  • 不断更新
  • 具有高安全性的最佳性能
  • 和可访问性
  • 合格的支持

希望上面的列表将帮助您在Joomla中创建日历时选择最佳的Joomla日历扩展,或为事件安排选择日历扩展。

Joomla - akeeba backup(joomla网站备份、迁移扩展)

Joomla - akeeba backup(joomla网站备份、迁移扩展)

在所有 joomla 的网站中,如果只允许安装一个扩展,估计超过90%的人都会选择 akeeba backup,这基本是每个joomla都必备的一个扩展;

akeeba backup 的更多资料可以到官网 https://www.akeebabackup.com/ 查阅,下面分享一下akeeba backup 的基础使用;

一、下载 akeeba backup 

到 https://www.akeebabackup.com/products/akeeba-backup.html 下载akeeba backup

下载完毕得到一个 pkg_akeeba 开头的压缩包

 

二、安装 akeeba backup 

进入后台,打开扩展 -> 扩展管理 -> 扩展安装,然后把压缩包拖到下图红框位置

等待安装即可,如下图所示为安装完成

如果安装过程中,出现以下提示

可打开php.ini文件,找到 upload_max_filesize ,然后设置大点的数值,设置完后再次把压缩包拉进来安装即可

 

三、使用 akeeba backup 进行整站备份

点击图中一键备份中的 Default Backup Profile (图中所有中文部分都死自己翻译的,大家可以在网上查找一下汉化包安装)

 

自动进入整站备份,备份完毕后跳到下面的页面

 

点击页面中的管理备份,进行整站备份的下载

下载完毕后,会得到一个 jpa 后缀的文件,这个就是整个网站的备份文件了

 

四、使用 akeeba backup 进行整站迁移

在迁移前要先下载 akeeba kickstart ,配合备份文件使用,前往 https://www.akeebabackup.com/download/akeeba-kickstart.html 下载 akeeba kickstart ,下图为5.5.1版本的下载页面,点击 Download now 按钮进行下载

下载完成后,得到一个压缩包

来到要迁移的新网站目录,把压缩包解压到要迁移的新网站目录,再把 jpa 后缀的整站备份文件放到要迁移的新网站目录中,新网站目录中有下图5个文件

 网址输入新网站路径,点击 kickstart.php 进行迁移,等待时间一般要几分钟

几分钟后跳转到设置页面,这里可以进行ftp等设置,如果本地的或者没有ftp的就直接拉到下面点击开始按钮

 

拉到最下面,点击开始即可

点击后会显示如下页面,等待提取完毕

提去完毕之后,点击运行安装程序;ps:切记不要关闭这个页面,等一下还要回到这个页面进行操作!!!

开始进行网站的基本配置,这个页面可以不更改任何东西,在点击下一步前先创建一个新的数据库用于存放新网站的数据,创建好新的数据库后,点击下一步

新建数据库用于存放新网站的数据

填写数据库主机、用户名、密码、数据库等,点击下一步

等待数据库恢复,等待时间取决于数据库大小

数据恢复完毕,点击下一步

填写网站名称、邮件地址、发件人姓名等,再拉到下面填写后台登录账号密码

填写后台登录的账号密码,填写完成点击下一步

跳到以下页面后,关闭当前页面,回到 之前的 kickstart 页面

在 kickstart 页面点击清除

即可访问后台页面和前端页面

后台登录页面如下

至此,使用akeeba backup 迁移整站介绍,在新网站进入后台与前端页面看看吧~

Joomla 3.0 发布,PHP 内容管理系统

Joomla 3.0 发布,PHP 内容管理系统

著名的 PHP 内容管理系统 Joomla 发布了全新的里程碑版本 3.0 ,该版本包含的新特性:

  • Incorporation of Twitter Bootstrap into a jui media package.
  • A new responsive, mobile device friendly administrator template--Isis-- and interface.
  • A new front end template--Protostar-- built using Twitter Bootstrap.
  • Updated accessible template called Beez3.
  • A simplified 3-step installation process.
  • PostgreSQL Driver. You will be able to run Joomla 3.0 sites using the PostgreSQL database.
  • PHP Memcached Driver
  • Use of JFeed for feed management rather than SimplePie
  • Installation of language packages directly from the extension manager
  • Guest user group present by default
  • Saving blank articles allowed
  • New administrator statistics module
  • Update TinyMCE to version 3.5.6
  • Continued clean up of older unused code, files and database fields and tables and improved standardization of tables.
  • Improvements to Smart Search
  • Extensive work on code style standardisation and consistency
  • Unit testing in the CMS
  • Updated system tests in the CMS 
  • Custom active menu item for menu module
  • Let the SEF plug-in add the canonical url to the head
  • Version 12.2 of the Joomla Platform

下载地址:Joomla 3.0.0 (Full package)

如果你想升级到这个版本,请详细阅读升级指南

http://www.joomla.org/announcements/release-news/5464-joomla-3-0-0-released.html

Joomla 3.0.2 发布,PHP内容管理系统

Joomla 3.0.2 发布,PHP内容管理系统

著名的 PHP 内容管理系统 Joomla ,今天非常荣幸的发布了3.0.2 这个安全修复版本(强烈建议升级至该版本),该版本包含的新特性:

1)修补 1 个安全问题;
属于中等优先级-核心-劫持漏洞。详细信息»

2)加入 1 个新功能;
27373 实现多国语言的资料关联。有了这个功能,你可以指定文章和文章分类,从不同的语言和模块将显示正确的链接,如果你改变了语言本身。详细信息,请单击此处»

3)修复 50 个已知问题;

 

更多详细信息,请访问:http://www.joomla.org/announcements/release-news/5471-joomla-3-0-2-released.html

 

----------------------------------

Joomla 是个内容管理系统,与 Drupal 有点类似,并且每天都在进步。Drupal 适合社区网站和博客,Joomla 则倾向于电子商务(阅读更多有关两者的区别)。

Joomla

且不说不同之处,Joomla 与 Drupal 一样可以迅速把一个简单的网站变成一个社会性的博客。Joomla 也有非常活跃的用户群开发扩展。

想建立博客社区网站,或开个电子商务博客,选 Joomla 一定不会错。

今天关于php – 为什么我的Joomla! 2.5扩展将管理目录中的内容安装到joomla而不是从站点目录? (可下载代码)的分享就到这里,希望大家有所收获,若想了解更多关于5个在Joomla中创建事件日历的最佳Joomla日历扩展、Joomla - akeeba backup(joomla网站备份、迁移扩展)、Joomla 3.0 发布,PHP 内容管理系统、Joomla 3.0.2 发布,PHP内容管理系统等相关知识,可以在本站进行查询。

本文标签: