0
Welcome Guest! Login
0 items Join Now

Urgent - A lot of problems with links, probably caused by base path

  • Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • Hi!

      I needed to set the subject to "urgent" since the site should open tomorrow.

      I am having lots of issues with links, probably caused by the base href. I am using the Joomla 1.5 RC3 and the TinyMCE editor that comes with it. In the TinyMCE settings I have set links to be relative, mostly because the domain address will change when opening the site but also for better use of SSL pages (not http's, just relative links).

      If I put the link op5media/op5/files/articles/200605-nok_en-v2.pdf in TinyMCE the link changes to dev.op5.com/op5/about-op5/op5media/op5/f...200605-nok_en-v2.pdf on the site wich results in a broken link. It should be dev.op5.com/op5media/op5/files/articles/200605-nok_en-v2.pdf . Therefor the base path should be just the domain! But if I change the base path in the templates index.phpall I get is a white page...

      Another example;

      The hard coded link dev.op5.com/op5/about-op5/news?format=feed&type=rss in a module works in the front page but if im in section "op5" and category "About op5" the links changes to dev.op5.com/op5/op5/about-op5/news?format=feed&type=rss and therefor stops working..

      Please help me with this base path issue!
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • Have you asked at forum.joomla.org - Also, I would use Joomla RC4
    • James Spencer / Developer & Support / Hull, UK
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • Ok, so it has nothing to do with define( 'YOURBASEPATH', dirname(__FILE__) ); ?
      I do not understand why all pages has their URL as base path, why can't it just be the domain?
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • What you are describing, seems to me, a pure Joomla issue which you well get a much better response from the Joomla Forum forum.joomla.org
    • James Spencer / Developer & Support / Hull, UK
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • Ok thanks, I've put a post over there.
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • Hm, when looking in the index file of the default Joomla template, rhuk_milyway (which I believe is done by Andy too) there is no define( 'YOURBASEPATH', dirname(__FILE__) );

      Am I the only one having problems with links?
      Are all of you using TinyMCE with absolute paths in Joomla 1.5?
      Relative links seems impossible with the base paths being used for this template...

      I'll change my question. Can I, in some way, change the define( 'YOURBASEPATH', dirname(__FILE__) );? What's it for? Can I use only the domain name as base path? That would have solved all problems taking so much time so very close to deadline..
    • Last Edit: 17 years 3 months ago by Fredrik Rödin.
  • Re: Urgent - A lot of problems with links, probably caused by base path

    Posted 17 years 3 months ago
    • I got an answer over at joomla.org;

      "This is a known issue that was fixed shortly before RC4 was released. Update your site to RC4 and do the database updates."

      I really hope this is the case..
      forum.joomla.org/index.php/topic,248572.0.html

Time to create page: 0.076 seconds