Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get absolute URLs from current Page #1171

Closed
dev7ch opened this issue Jan 18, 2017 · 1 comment
Closed

Get absolute URLs from current Page #1171

dev7ch opened this issue Jan 18, 2017 · 1 comment
Assignees
Milestone

Comments

@dev7ch
Copy link
Contributor

dev7ch commented Jan 18, 2017

It would be beautiful if we could get an absolute URL f.e. in blocks.

If we request Yii::$app->menu->current->link the host is missing.

Whats about Yii::$app->menu->current->url ?

Thx.

@nadar nadar self-assigned this Jan 19, 2017
@nadar nadar added this to the 1.0.0 milestone Jan 19, 2017
@nadar nadar closed this as completed in 49f5bea Jan 19, 2017
@dev7ch
Copy link
Contributor Author

dev7ch commented Jan 23, 2017

Yii::$app->menu->current->getAbsoluteLink() or Yii::$app->menu->current->absoluteLink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants