Jahia Dev Forum > Recover an urlKey...

0 (0 Good)
0 (0 Bad)

Recover an urlKey in the url

by  Flynn »  2011/06/07 20:38

To adapt CSS styles, i need to recover the urlKey of the second level in an url

Example : localhost:8080/cms/cars/[b:3of3hzbj]4x4[/b:3of3hzbj]/toyota/specifications

Do you have ideas ?

Thanks.
  • Recover an urlKey in the url
    2011/06/07 20:38

    Flynn To adapt CSS styles, i need to recover the urlKey of the second level in an url <br/><br/>Example : localhost:8080/cms/cars/[b:3of3hzbj]4x4[/b:3of3hzbj]/toyota/specifications<br/><br/>Do you have ideas ?<br/><br/>Thanks.

  • Number of messages  32
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Recover an urlKey in the url

    by  shyrkov »  2011/06/07 20:38

    Hi,

    you can use the following code to get it:

    [code:14jd5me4]
    ${jahia#46;page
  • Re: Recover an urlKey in the url
    2011/06/07 20:38

    shyrkov Hi,<br/><br/>you can use the following code to get it:<br/><br/>[code:14jd5me4]<br/>${jahia#46;page

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Recover an urlKey in the url

    by  shyrkov »  2011/06/07 20:38

    Hello,

    does the provided solution work for you?

    Kind regards
    Sergiy
  • Re: Recover an urlKey in the url
    2011/06/07 20:38

    shyrkov Hello,<br/><br/>does the provided solution work for you?<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Recover an urlKey in the url

    by  Flynn »  2011/06/07 20:38

    Works !

    TY Shyrkov
  • Re: Recover an urlKey in the url
    2011/06/07 20:38

    Flynn Works !<br/><br/>TY Shyrkov

  • Number of messages  32
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page