0
Welcome Guest! Login
0 items Join Now

Thoroughly Confused with linking.

  • Thoroughly Confused with linking.

    Posted 15 years 6 months ago
    • Hi Everyone.
      I am trying to get my head around making links manually from within articles to other articles/pages with modules.

      I figured it was a general joomla question so I asked over at the Joomla Forums. Below is the link that I copied from one of the links from a RT template as an example:
      <a href="index.php?option=com_content&amp;view=article&amp;id=54&amp;Itemid=61" mce_href="index.php?option=com_content&amp;view=article&amp;id=54&amp;Itemid=61">HTML Typography page</a>.

      and here is the reply that I got:
      Hello, it appears you are not using SEF, search engine friendly urls, and thats why you see all the gobbledy gook in that link. The syntax of the a href is correct, its just that the file name is a mass of info that can be gotten rid of by turning on SEF and renaming htaccess.txt in your home folder, to .htaccess

      See Global Configuration within admin, to see where to turn it on. RIght side of the first global config page (Top menu...Site...Global Configuration)

      Once it is turned on, an article call Typography will become typography.html
      Also mod rewrite should be turned on in the same place.

      Am I wrong in thinking that linking from article to article i need this format:
      <a href="index.php?option=com_content&amp;view=article&amp;id=54&amp;Itemid=61"

      I found link on how to do this and will pursue further, but should I rename the htaccess.txt and turn on the SEF everytime I am working with a new site????


      Thx in advance
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Thoroughly Confused with linking.

    Posted 15 years 6 months ago
    • It all depends on if you use SEF or not.

      If not, then linking articles would require the full path and you mentioned above.

      If you are having trouble creating links, I suggest using JCE (Joomla Content Editor) which has a linking feature that makes searching for and creating links easy.
    • Thanks,
      jim
  • Re: Thoroughly Confused with linking.

    Posted 15 years 6 months ago
    • Ok...if I am using SEF, is this the linking convention:
      <a href="index.php?option=com_content&amp;view=article&amp;id=54&amp;Itemid=61"

      Should I use SEF or not.....
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Thoroughly Confused with linking.

    Posted 15 years 6 months ago
    • No, the link you provided would be for linking without SEF, that's the full path...

      Using SEF is up to you.

      Again, in either case, think about using JCE.
    • Thanks,
      jim
  • Re: Thoroughly Confused with linking.

    Posted 15 years 6 months ago
    • Cool thx alot

Time to create page: 0.057 seconds