We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to make the link "/photo/userphotos/$username" work on edit_index.html ? | Forum

ES C Aug 23 '21
Hi all

I'm trying to add a relative link in the "Edit profile" page that takes the user to his or her photos page, as a more logical way to add pictures to one's profile, but I'm stuck in making "$username" resolve.

Ive added these without any luck:

<div class="uploadpics"><a href="/photo/userphotos/$username">Upload / Edit photos</a>  </div>        

also tried this (found online somewhere):

<div class="uploadpics"><a href="{url_for_route for="base_user_profile:[username=>`$username`]"}">Upload / Edit photos</a>  </div>        


The Forum post is edited by ES C Aug 23 '21