How to get currunt path in the field?

On the user profile page, I want to add link field which will be the link for the view page.

For example,

If the current path is,

sitename/user/1 (profile page of user-1)

So, I want link should be like, sitename/user/1/view-page,

It should automatically take the user-id from the current-path. And if I click it should redirect to sitename/user/1/view-page. So in general sitename/user/%/view-page

The idea is, the view which is on that page has contextual filter for the particular user, so this way we can provide the user-id to view through URL.

Any suggestion? Or any other way of doing this would also be appreciated. Thanks.

Replay

Category: 8 Time: 2016-07-31 Views: 0
Tags: links

Related post

  • How to get to which object the field has reference 2014-10-02

    I have a wrapper class which contain some Object name. Now I am looping through a base object and want to check is the base object have lookup to any of these object. But when I pick the describe of a object I am getting getSobjectField = Employer_Ro

  • How to get all attachment from the list 2014-09-02

    I must find a script or metod how to get a attachment from the Sharepont lists. Its Beter to get Attachment and get a title of the image from one field and save the Attachmend. Please Help me. Its Sharepoint 2013 --------------Solutions-------------

  • How to get your website on the host machine 2015-03-17

    I followed the tutorial here for setting ISPconfig3 using Ubuntu10.04...now i wish to use it to host my website...how to do that...how to get my website on the server machine...please help...I am new in this field... Thanks --------------Solutions---

  • How to get package path in java 2016-01-17

    I want to list all the files inside a package. How to get package path from a class inside it so that I can iterate through the files in it?

  • How to get distinct value of a field with URI query of elasticsearch 2016-02-15

    How to get distinct value of a field with URI query of elasticsearch, Plus how can we remove size constraint and get all the indexed data? --------------Solutions------------- You can use the ...?source={...} query parameter in order to send your DSL

  • c++ how to get %AppData% path under non-administrator account and running VS2013 as Administrator 2016-04-01

    I know there are plenty of similar questions out there like this one how to get %AppData% path But mine is different: 1.I have two account: Admin- Administrator account Test- Non-Administrator account 2.Run my project using VS2013 as a Administrator

  • how to get a list of the connected wifi clients in OpenWrt 10.03? 2011-01-24

    how to get a list of the connected wifi clients in OpenWrt 10.03? --------------Solutions------------- You may use the arp-table, or DHCP-leases. Not a perfect solution, maybe it's enough? List arp-table arp List DHCP-leases cat /tmp/dhcp.leases ...

  • How to get a valuation about the size of mysql table dump 2012-07-27

    Hi to everyone someone know how to get an estimate about the size of one mysql table? I mean I am planning to make a backup of all the mysql's table on all my server but I'd like to know how big should be every dump table without make the physical du

  • How to get user ID on the registration and add in to custom table 2012-08-30

    I am trying to get user ID on registration and automatically add that ID to my custom table. I am using wp-members plugin for registration. So is it possible to get user ID on the fly while registering and add that ID to another custom table with WP-

  • How to get a copy of the raw photo from the Mapillary app (at iOS) 2015-07-25

    @fastmultiplication asks same question for Android app, "How to get a copy of the raw photo from the Mapillary app" but I want to know same solution of iOS app. I want to access raw photos of taken by Mapillary app for iOS. How can I access them

  • how to get job properties in the processor through job context in JSR 2016-01-21

    I'm passing property in Run Configuration during job execution. how to get job properties in the processor through job context in JSR . Is there is any other way to get the property in processor ?

  • How to get and set term store field in the ItemUpdated event receiver 2013-09-09

    I am using sharepoint 2010. I have a document library which is using some custom content type. This content type has 2 custom fields which are termstore fields. These are the names of the fields: Subcategorie Categorie I would like to get the parent

  • How to preserve formatter settings if the field gets hidden 2015-08-03

    I have a field formatter that has a setting. This setting is not available via the UI(\Drupal\Core\Field\FormatterInterface::settingsForm()) and is configured programmatically(in the display or when attaching the field). In case the user disables the

  • How to get started with mapping the flow of natural gas using GIS? 2013-04-29

    I'd like to get involved with GIS, im a marine engineer and clueless about it and although i've tried to research it, I'm overwhelmed by the amount of programs available & information. I wanted to do a personal project, what i have in mind is try to

  • How to get executable path on Linux 2010-01-12

    I am calling a 'executable' on Linux. One way by console and another from PHP script. They both call other executable (i see it by version of file). So I need a way to display a path to executable that will be called when I try to run it. How to do t

  • How to display full path in the title bar of Windows 7 Explorer windows when using Aero? 2010-08-30

    How can Windows 7 Explorer windows display the full path in the title bar when using Aero (not Classic Theme)? (This question is posted for reference as finding an answer in Google is surprisingly hard - a full answer will be posted shortly. If you h

  • IIS6/IIS7: how to get physical path to logs of web sites? 2010-10-05

    I have two questions: How to get list of all web web sites on server How to get list of log folders for each website (ex:C:\WINDOWS\system32\LogFiles\W3SVC1141336521 ) Are there special console commands? --------------Solutions------------- for up to

  • How to get absolute path to website 2011-09-22

    My website is on a shared server. Having DNS issues, this seems to be the only way. I need to get the real and absolute path to my website like 99.23.154.23/~mywebscom without asking the support is this possible? With the IP address and path. -------

  • GIS Consulting - How to Get a Foot in the Door? 2011-12-24

    I currently work for a very large company as a GIS developer, and while I am happy in my position for the most part, I can't help but wonder what life as a GIS consultant (i.e. working for myself) would be like... I know there are many excellent GIS

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 2.241 (s). 13 q(s)