Please, add the possibility to use tokens in path if Token module is installed.
It is necessary to add path with user id, for example "user/%uid/something"

CommentFileSizeAuthor
#10 front-token-support-707484.patch1012 bytesshi99
#1 front.zip5.79 KBAracon

Comments

Aracon’s picture

StatusFileSize
new5.79 KB

I have made a few modifications, they seem to solve the issue, but I am not sure - because I haven't deep investigate the module.
Please check these files.

simon georges’s picture

Version: 6.x-2.0-rc1 » 6.x-2.x-dev

Hi,

Could you post a proper patch of your changes? It is far easier to review. Thanks!

simon georges’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Component: Feature Request » Code

Moving Feature requests to the current version of the module.

klucid’s picture

Is there any possibility that we can get a patch to add tokens to path for Drupal 7? Thank you!

simon georges’s picture

@klucid, you're welcome to propose a patch to start the discussion ;-)

klucid’s picture

Sorry, I would contribute a patch if I could, but unfortunately I do not have the coding skills to even implement tokens into this module.

Would you be willing to create a patch for pay? I think this would be an extremely useful module for the Drupal community and would be willing to fund it (if my project's budget permits).

simon georges’s picture

@klucid, actually, I'm thinking about what could be the future for this module, and I'm wondering if people are really using this or if it can be replaced by either Login Destination, Panels or Rules module, which are all already supporting tokens.
I thought about stopping maintenance for this module for this reason, but I'm still open to be convinced of the contrary if people are really using it.

klucid’s picture

Thanks again for the reply. I'll tell you about how it will be useful for me and you can let me know if you think it's worth it. I've tried to use Rules and Login Destination, however they do not quite do the trick as they do not rewrite the path for the homepage link. Again, I am willing to pay you for your time if it is within my budget for the project.

I have a site that runs Organic Groups and I need each users' Organic Group node as their site homepage. So, I have the Rules.module successfully redirecting to "node/[account:og-user-node:0:nid]" on login, however the "Home" links on the site are still not functional because I am limited to either the site's front page or front.module's homepage.

I prefer front.module because I need a different module for two roles, anonymous and authenticated.

I've also tried menu_token.module but it seems a bit bulky for just the homepage link.

Thoughts?

dvasquez’s picture

Issue summary: View changes

Hey... how can you say that you don't know the future about this HIPER module...
If you think about it... 18,444 sites are runing with it... Only add the F#$%&=) Tokens, you are the BEST men.
All my Live was changed by this Module.

Bless for you!

shi99’s picture

Status: Active » Needs review
StatusFileSize
new1012 bytes

Hello,

Just submitting a patch that provides global token support for paths.
Hopefully it will help anybody that needs it.

dvasquez’s picture

WOW, thanks men!

jarodms’s picture

Patch in #10 worked for me. Thanks shi99!

ronaldmulero’s picture

Thanks shi99!
#10 = Token yumminess!

reszli’s picture

Status: Needs review » Reviewed & tested by the community

#10 works like a charm

  • shi99 authored fe13103 on 7.x-2.x
    Issue #1786128 by shi99, Aracon: Tokens in path
    
estoyausente’s picture

Status: Reviewed & tested by the community » Fixed

It runs correctly.

I think that it's very useful feature with very simple implementation.

Commited.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.