ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

{link} variable in notification page

June 23, 2011 9:04am

Subscribe [2]
  • #1 / Jun 23, 2011 9:04am

    My notification page for Reset password and Forgotten username show the {link} variable, at just the name of my site linking to “/”. I’d like to change this, so that it says “Back to Name of Site”.

    How do I do this?

    /Rasmus

    P.s. see the following thread for clarification:

    THREAD

  • #2 / Jun 23, 2011 6:23pm

    Robin Sowell

    13255 posts

    Ah- took me a minute to figure out the spot you were referring to.

    OK- that is what we call a ‘User Message’- see User Message Templates.

    To change it to say ‘Back to x’ rather than just ‘x’?  Go to Design->Message Pages->User Message in the main navigation.  That template handles the styling for ALL user messages- something to keep in mind.

    If you want to add the ‘Back to’ bit?  Edit near:

    {link}
    to
    Back to {link}

    Make sense?

  • #3 / Jun 24, 2011 1:51pm

    Well yes it makes sense, but it is not very smart. I want the entire line “Back to My Page” to be the link, not just the “My Page” part.

    /Rasmus

  • #4 / Jun 24, 2011 2:51pm

    Robin Sowell

    13255 posts

    Currently, the link is using the Site name for the configuration settings to specify the link text.  And because that’s dynamic in nature, there is no language key that you can switch to change the text.  For now, leaving the ‘Back to’ out of the link text is the best way to go.  And perhaps a feature request to either provide an overide to the link text or a prefix, suffix?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases