Joomla 博客通用 了解更多

发布于 2025-01-08 00:08:26 字数 195 浏览 2 评论 0原文

我正在运行这个 Joomla 网站并创建一个博客页面。所有精选文章都可以进入“博客”菜单,没有问题。当我需要添加“阅读更多”时,问题就出现了。我知道我可以使用每篇文章都有的“阅读更多”按钮来做到这一点,但我想让它成为通用的阅读更多。在这么多字符或这么多单词之后添加“阅读更多”。这可以通过 Joomla 的管理面板实现吗?如果没有,我可以在其中一个文件中添加一些 PHP 吗?

So I have this Joomla website going and I'm creating a blog page. All featured articles go into Menu "Blog" no problem. The problem comes when I need to add a "Read More". I know I can do this with the "Read More" button that each article has but I want to make it a universal read more. Either after so many characters or so many words add the "Read More". Is this possible through Joomla's admin panel? If not can I add some PHP in one of the files?

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

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

发布评论

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

评论(3

笑着哭最痛 2025-01-15 00:08:26

Joomla! 上有很多扩展!扩展目录执行这种类型的自动“阅读更多”,因此无需将某些内容拼凑在一起。

查看文章摘要的小节扩展。还有一些组件,例如 foobla Full RSS从他们引入的文章提要中生成自动摘要(即阅读更多内容)。

There are lots of extensions on the Joomla! Extensions directory that do this type of auto "Read More" so there isn't a need to hack together something.

Have a look at the sub-section on Article Summary extensions. Also there are components like the foobla Full RSS that produce automatic summary (ie. read-mores) from the article feeds they pull in.

涫野音 2025-01-15 00:08:26

查看文章页面上文本框的下方(您可以在其中编辑文章内容)。您应该在那里看到“阅读更多”按钮。

如果您不喜欢“阅读更多”按钮的行为,您可以通过创建一个带有锚文本“阅读更多”的喜欢来轻松实现它 - 该链接将指向另一篇文章,其中包含以下内容的“第二部分”您正在编辑的文章。

有关文章的更多信息,您可以在此处找到

Look below the textbox on the article page (where you edit the content of the article). You should see a "read more" button there.

If you don't like the behavior of the "read more" button, you can implement it yourself easily by creating a like with the anchor text "read more" - the link will be to another article which contains the "part II" of the article you're editing.

More about articles you can find here

时间你老了 2025-01-15 00:08:26

Joomla 自动阅读更多插件
http://gruz.org.ua/en/extensions/autoreadmore -plugin-for-joomla.html

  • 在可配置数量的字符、单词或段落后自动添加“阅读更多...”链接。
  • 不会破坏 HTML 或在单词中间破坏文章。
  • 如果服务器上安装了 php-tidy 或 php DOMDocument(大多数现代服务器都安装了它),则保留格式(可选)并修复未封闭的标签
  • 。适用于 joomla 文章和第三方扩展(如 k2)。
  • 适用于模块。
  • 可配置为忽略或适用于特定类别、文章
  • 允许将文章中找到的第一张图像放置到 introtext 开头,以便您的博客有插图。
  • (可选)忽略手动插入的 readmore break
  • 和一些其他选项。

Joomla autoreadmore plugin
http://gruz.org.ua/en/extensions/autoreadmore-plugin-for-joomla.html

  • Automatically adds "Read more..." link after a configurable number of characters, words or paragraphs.
  • Will not break HTML or break the article in the middle of a word.
  • Preserves formatting (optionally) and fixes unclosed tags if php-tidy or php DOMDocument is installed at the server (most modern servers have it installed)
  • Works with joomla articles and third party extensions (like k2).
  • Works for modules.
  • Configurable to ignore or to work for specific categories, articles
  • Allows to place the first image found in the article to the introtext beginning, so you have your blog illustrated.
  • Optionally ignores manually inserted readmore break
  • And some other options.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文