Hi,

Cool module. I am wondering if there is any way to link to the front page. I have tried the following:
/

/front

All of these cause the pop-up to report that a Drupal internal path is required.

My front page is a Views page. So /front is the URL assigned to it in Views. This means I do not have a nodeID to assirn it to. How can I direct the link to the front page?

Thank you.

Comments

mcfilms’s picture

Assigned: Unassigned » mcfilms
Status: Active » Closed (works as designed)

I'll answer my own question. If your front page is a node, you link to that node. If your front page is generated by Views (or some other module I imagine), you are out of luck for now. The maintainer of this module mentioned Views support in the next release.

ludo.r’s picture

Version: 6.x-1.2 » 7.x-2.2
Assigned: mcfilms » Unassigned
Status: Closed (works as designed) » Active

Hi,

It seems it is still impossible link to the front page by using <front>.

I know it is possible to use a node ID (node/xx) or a path (e.g. /home for my homepage panel), but it would be better to use <front>, so if the homepage url changes, the link would remain correct.

anrikun’s picture

Version: 7.x-2.2 » 7.x-2.x-dev

How would you look for <front> using the autocomplete field?
By typing '<front>'?
I guess we should allow this to be configurable then, as end-users may not know this Drupal word.

ludo.r’s picture

You're right.

But still if the opportunity exists, it could be used by people who knows it.
For the others who don't know <front>, an explanation or a new link type (e.g. "system path") could be useful.

However, it may not be a good idea to store a link like <a href="<front>">Back to home<a> if the ckeditor link filter is disabled, while <a href="node/59">About us<a> still makes sense

chris burge’s picture

Issue summary: View changes
StatusFileSize
new20.25 KB

Here's an alternative to link to the site's front page:

  • Link type: URL
  • Protocol: other
  • URL: /


screen shot