4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: maineyak on February 21, 2008, 03:46:59 PM
-
How can I add a link to my pictures next to the Top images and new images links? I want it so a user can access their images from any page. I tried adding <a href="search.htm?search_user={user_name}">My Images</a> to the click_incl file, but the username doesn't show.
I've tried searching, but can't find an answer.
Thanks
-
... menu link to my own images ...
1. in /includes/page_header.php find ...
"url_new_images" => $site_sess->url(ROOT_PATH."search.php?search_new_images=1"),
and add after ...
"url_user_images" => $site_sess->url(ROOT_PATH."search.php?search_user=".$user_info['user_name'].""),
2. in /templates/<your_template>/user_logininfo.html add ...
» <a href="{url_user_images}">My Images</a>
3. thats all ... ;)
-
Thanks!