This is a discussion on User Add Images Workflow within the v4 Modules / Modifications forums, part of the Help & Support category; When a user modifies images on their listing you will notice by default there is no link back to the ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
When a user modifies images on their listing you will notice by default there is no link back to the advert being edited or to the user's listings - a case of back button or go right back through userindex.php. Placing this at the bottom of the useraddimages.tpl file makes a nicer worklfow to get back. Just a thought.
<div align="center"><a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div> |
|
#2
|
||||
|
||||
|
***added***
thanks seymourjames , I like the quick shortcut! by chance did you come up with a "sold" button solution?...lol Last edited by spagman; 06-27-2008 at 09:50 PM. |
|
#3
|
|||
|
|||
|
I added a link to view the listing as other members would see it. (Profile Preview)
<a href="viewlisting.php?view={$lid}">View Listing</a> So the whole code is: <div align="center"><a href="viewlisting.php?view={$lid}">View Listing</a> · <a href="usermodifylisting.php?view={$lid}">Return To Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div> Quote:
|
|
#4
|
|||
|
|||
|
Good idea - I find it best to use target="_blank" do it makes another window. I also put a link is user browse listings on the listing titles to view.
|
|
#5
|
|||
|
|||
|
I tried to put the same view listing link on userbrowselistings.php and everytime I click on the link from that page I get an error that says "I am sorry, but this listing has expired". The listing is still active so did you have to put any extra php code in userbrowselistings.php to make that work?
|
|
#6
|
|||
|
|||
|
I put this on the useraddimages.tpl file.
<div align="center"><a href="viewlisting.php?view={$lid}" target="_blank">View Listing</a> · <a href="usermodifylisting.php?view={$lid}">Modify Listing</a> · <a href="userbrowselistings.php">Browse All Your Listings</a> · <a href="userindex.php">My Account</a></div> I put this on the userbrowselistings.tpl file so there is a direct link to the listing on this page <td class="{cycle values="row1,row2" advance=false}"><a href={$smarty.const.URL}/viewlisting.php?view={$entry.id} target="_blank">{$entry.title}</a></td> Last edited by seymourjames; 07-02-2008 at 06:16 PM. Reason: misread his comment |
|
#7
|
|||
|
|||
|
Quote:
thanks again SS |
|
#8
|
|||
|
|||
|
Thanks, it works perfect!
Quote:
|
|
#9
|
|||
|
|||
|
First of all let me say THANKS! The navigation code is just what was needed. In addition to the useraddlistings.tpl I also added it to the usermodifylistings.tpl (less the "Modify Listing" line) and it's working great!!!
I've attempted to replace the code "<td class="{cycle values="row1,row2" advance=false}">{$entry.title}</td>" in userbrowselistings.tpl with the modified code however I'm getting the same response dexignz was receiving, "I am sorry, but this listing has expired". I'm using the Designer v4.0.9. Any help would be appreciated. Thanks |
|
#10
|
|||
|
|||
|
This should work if you place it correctly in userbrowselistings.tpl . In fact I added to a person's site this evening who has 4.09.
<td class="{cycle values="row1,row2" advance=false}"><a href={$smarty.const.URL}/viewlisting.php?view={$entry.id} target="_blank">{$entry.title}</a></td> I cannot see why it would give an expired listing unless the listing has actually expired. Try looking at the source of page when it is rendered and see what link it is making. Then copy this link into your browser. See if it makes an expired listing or not. If it does, then go into your admin control panel and see if that ad has actually expired. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suspending a user | racingjon | v4 Questions & Support | 1 | 02-19-2008 04:55 PM |
| Error on loading images | manilaboy | v3.1 Questions & Support | 2 | 10-26-2006 01:45 PM |
| Strange Issue Cycling Through Images | bgordon | v3.1 Questions & Support | 2 | 09-15-2006 09:58 AM |
| Direct link to user listing in contact email | SkGold | v3.1 Questions & Support | 2 | 07-10-2006 03:42 PM |
| Images in Viewlisting not showing | Bucketman | v3.1 Questions & Support | 9 | 05-05-2006 11:46 AM |