Joomla 模板使用的原始 HTML 文件的默认位置?

发布于 2024-10-10 07:09:42 字数 490 浏览 0 评论 0原文

我目前正在使用 JA Droid 模板(http://www.joomlart.com/joomla/templates/ja-droid),但我不知道控制主页的 html 文件在哪里。我尝试通过管理员访问它,但是有很多已安装的模组不允许我这样做。

我想知道如何通过 FTP 程序访问该文件?模板的正常根目录是 templates/(模板名称)/index.php。不幸的是,root 只引导我到一个简短的 php 文件,其中显示了以下内容:

<?php
if (class_exists('T3Template')) {
$tmpl = T3Template::getInstance($this);
$tmpl->render();
return;
} else {
//Need to install or enable JAT3 Plugin
echo JText::_('Missing jat3 framework plugin');
}

非常感谢任何帮助!

I am currently using a JA Droid Template (http://www.joomlart.com/joomla/templates/ja-droid) but I don't know where the html file is that controls the homepage. I have tried accessing it through admin, but there are a lot of installed mods that won't let me do that.

I was wondering how I could access this file via my FTP program? The normal root for a template is templates/(template name)/index.php. Unfortunately that root only leads me to a short php file that shows this:

<?php
if (class_exists('T3Template')) {
$tmpl = T3Template::getInstance($this);
$tmpl->render();
return;
} else {
//Need to install or enable JAT3 Plugin
echo JText::_('Missing jat3 framework plugin');
}

Any help is greatly appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

独享拥抱 2024-10-17 07:09:42

我安装了一个 Jat3 模板,需要修改页脚中的行,花了我一段时间,但我在这里找到了它...

Plugins/system/jat3/jat3/dase-theme/default/blocks

你会找到你需要的一切。 ..

I installed a Jat3 template and needed to modify the line in the footer and took me a while but i found it here...

Plugins/system/jat3/jat3/dase-theme/default/blocks

you'll find all you need...

终弃我 2024-10-17 07:09:42

没有控制主页的文件。所有 Joomla 模板的工作方式基本相同。模板中的 Index.php 通常定义可用于内容的各种位置,但任何内容都不应该位于该文件中。在这种情况下,您的模板使用框架来构建页面,但它仍然以相同的方式工作。主页由主菜单项和分配给该菜单项的各种模块控制。菜单项确定页面将围绕哪个组件构建,并且菜单分配在模块管理器中的每个模块内确定。

There is no file that controls the home page. All Joomla templates basically work the same way. Index.php in the template usually defines the various positions that can be used for content, but none of the content should be in that file. In this case, your template uses a framework to build the page, but it still works the same way. The home page is controlled by the home menu item and the various modules that are assigned to that menu item. The menu item determines which component the page will be built around and the menu assignments are determined within each module in the module manager.

成熟的代价 2024-10-17 07:09:42

看起来整个代码都是从插件中获取的。您应该查看插件目录。目录名称应该是“jat3”或类似的名称......

It seems that the whole code is taken from the plugin. You should look in the plugins directory. The directory name should be "jat3" or something like that...

孤寂小茶 2024-10-17 07:09:42

美好的一天,

所有模板都通过模板管理器进行管理。

  1. 登录控制面板 http://example.com/administrator
  2. 扩展 >模板管理器(在主菜单中)
  3. 选择您想要编辑的模板
  4. 选择编辑 HTML 来编辑主模板(或编辑 CSS)

就这样。如果您想知道这些文件的实际存储位置,以便可以使用您最喜欢的 FTP 编辑器(而不是通过 Joomla)编辑它们,请使用 FTP(或 SFTP)登录到您的主目录,选择文件夹“templates”,然后选择模板文件夹name,然后编辑index.php(编辑您的html),或选择文件夹CSS,然后编辑template.css(通常是默认名称),以编辑您的css。

希望这有帮助!

干杯,
克里斯托弗

Good Day,

All templates are managed through the template manager.

  1. Login to the control panal http://example.com/administrator
  2. Extensions > Template Manager (in the main menu)
  3. Select the Template you wish to edit
  4. Select Edit HTML to edit the main template (or edit CSS)

And that's it. If you wish to know where those files are actually stored so you can edit them with your favorite FTP editor (rather than through Joomla), login to your home directory with FTP (or SFTP), select the folder "templates" then the template folder name, then edit index.php (to edit your html), or select folder CSS, and edit template.css (usually the default name), to edit your css.

Hope this helps!

Cheers,
Christopher

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文