我在这里遇到麻烦。
我一直在寻找一个anwser的网络,但我没有找到一个详细的enought 为我在joomla的 noob level ! (2.5这里)
我使用模块mod_articles_category
来显示应链接到整篇文章的文章样本列表。
我创建了一个绑定到Articles
类别的菜单(名为article
,链接articles
)。 (我听说有必要)
所以,当我点击示例文章列表中的链接时会发生什么?
我使用此网址mysite.com/index.php/article/1-a
页面没有任何样式,css / js文件的所有路径都是错误的
点击链接后我想要什么?
index.php
文件(当然还有样式和xml)。我该怎么办?非常感谢!
- 编辑 -
哼哼最后我觉得问题来自于我的$ this-> baseurl更改了我的菜单名称。
示例:
如果我拨打我的菜单Popopo
及其链接domdomdidom
,则网址将为mysite/index.php/domdomdidom/1-a
,而我的$ this-> baseurl /domdomdidom
将导致我的所有路径崩溃。
关于如何修复它的任何想法?
我的路径就是这样:
<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/reset.css
再次
问题来自网址重写配置(SEF)。我将其关闭,我的样式又回来了;)(但文章没有显示,我仍然得到列表..这是另一个问题,这个是好的)
另外,为了更好的URL,请将htacces.txt更改为.htaccess并检查第二个Url Rewritting(您甚至可以重新激活SEF)。
对所有这些噪音很抱歉。
答案 0 :(得分:0)
试试这个,
在菜单管理器中创建一个名为Blog or Articles
根据您的要求选择菜单类型为
Archived Articles
Single Article
List All Categories
Category Blog
Category List
Featured Articles
Create Article
现在检查网站并点击菜单。
希望它有所帮助..