Welcome, Guest
Username Password: Remember me

Web Links in different folder location
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Web Links in different folder location

Web Links in different folder location 14 years, 3 months ago #522

  • dutton
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Loving this extension! However, I am having one problem. Our template is using a weblinks compnent that is located within a folder of the template itself. Basically, I just need to for the mobile app to look to a different location for weblinks.

Any advice on how to do this?

Web Links in different folder location 14 years, 3 months ago #2313

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
dutton wrote:
Our template is using a weblinks compnent that is located within a folder of the template itself.


Component cannot be located in template's directory. It's either layout for installed component (/html/com_... folder of the template), or just a script called by the template. In the former case you can try to copy this layout to used mobile templates. And in the last case there is no simple way and you should investigate how this script is included by the template.

Web Links in different folder location 14 years, 3 months ago #2317

  • dutton
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
You are correct, it is the template for weblinks that is located within a template folder. We modified the hard code because we wanted the date to display on our web links. Thus, this is causing the error when trying to view that section.

Could you clarify where to try copying that template portion to the mobile area? You help is much appreciated.

Web Links in different folder location 14 years, 3 months ago #2319

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
Copy templates/your_desktop_template/html/com_weblinks to templates/your_mobile_template[mobile_iphone, mobile_pda, mobile_imode and mobile_wap]/html/com_weblinks

Web Links in different folder location 14 years, 3 months ago #2320

  • dutton
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Thank you so much! That worked - awesome!!
  • Page:
  • 1
Time to create page: 0.08 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.