开发者

How to change the link in jdownloads in Joomla?

开发者 https://www.devze.com 2023-03-15 05:44 出处:网络
I am new to Joomla. Whenever I click the link on some download link the page is red开发者_如何学Pythonirected to /component/jdownloads/viewdownload/. How can I change the link as /download/viewdownloa

I am new to Joomla. Whenever I click the link on some download link the page is red开发者_如何学Pythonirected to /component/jdownloads/viewdownload/. How can I change the link as /download/viewdownload/categoryexample/downloadname?


The URLs are created by the jDownloads router, you will have to hack that if you want to change how it determines a URL. You will also have to be careful with updates since that is a file likely to be replaced when you update the component. Be sure to document the changes and keep a copy in case you need to make the edits again after an update.

If jDownloads does not have a router, then you will have to right one. Here's a good start in understanding how the router works - http://docs.joomla.org/Supporting_SEF_URLs_in_your_component

0

精彩评论

暂无评论...
验证码 换一张
取 消