Joomla 3.x. 如何安装模板
2013年11月19日
如果您已经有Joomla,可以使用这种安装方法 website 只是想改变 website 外观安装a Joomla模板.
1. 打开Joomla管理面板,转到 “Extensions > Extensions Manager” 屏幕在顶部菜单.
2. Using the 包文件“浏览” 按钮浏览 “theme###.zip” file in the “joomla” directory 模板包的. 单击按钮安装Joomla模板.
3. 安装所有模块 ‘sources_XXX.zip’ 文件中提供的说明对该文件夹进行解压缩 ‘info.txt’ file).
4. 下一步是 sample data installation.
To install sample data 您需要完成两个简单的步骤:
Step 1. 上传样本图片.
访问您的服务器,使用any ftp client. 要上传样本图像,请打开模板包 directory and go to the “sources” folder.
你应该看到 “to_the_root_directory” directory. 它包含应该放在Joomla安装根目录下的文件.
Step 2. Import the SQL file.
最后也是最重要的一步 sample data 安装是导入的 SQL file. The SQL 文件可以使用 database 管理工具(phpMyAdmin).
The template SQL file – “dump.sql” 位于 “sources” directory 模板包的.
请不要进口 SQL 如果你有活的,请归档 website 因为它将完全取代你的 website database 你所有的数据都会丢失!
注意:在进口之前 SQL 请确保您的文件 database table prefix 中的表前缀匹配 SQL file.
可以直接查看表前缀 database through the database 管理工具. 检查表名. 前缀是表名之前的一组符号. (e.g. 表“jos_assets”前缀为“jos_”). 你也可以找到 database 配置中的前缀.php "文件在您的Joomla根目录 directory. 搜索第19行: Public $dbprefix = 'jos_';
(其中前缀是" jos_ ")
如果表前缀不匹配,请打开dump.sql文件中包含您的代码 editor 和使用搜索 & 替换工具(CTRL+F或CTRL+H热键)替换“jos_”表前缀(used in the SQL file)与你的相匹配 database. 您可以查看详细的视频教程 如何改变数据库前缀在SQL文件.
你也可以查看详细的教程 如何使用phpMyAdmin工具导入SQL文件
Refresh your browser 窗口查看更改. 本教程到此结束. 如果您有任何问题,请告诉我们.
请随时查看下面的详细视频教程: