Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Ultra Globals, Users_Listings

Quote Reply
Ultra Globals, Users_Listings
I have a main listing with the URL as a hook to other attached documents to that listing.
Say the detailed.html is a person, with the URL defined as 12345. That person has other associated files, also built separately with detailed.html but linked within each other with a search specificly "12345". This URL is unique to each person.
Then I display a link on the persons detailed.html which does a search to 12345, and in the regular search form everything asociated with "12345" is displayed.

Perhaps, using this code, I can instead of linking to the LinkOwner, we can get files that belong to URL12345.
Using the Contact_Name would be just as good.

Possible?

Thanks,

Juan Carlos




Code:
# Users_Listings[/url]
This global will get a list of the users links, and also separately the links ordered by rating, and also by hits.
<%Plugins::ULTRAGlobals::Users_Listings($LinkOwner)%>
..or to get as list of links owned by the current logged in user, use:
<%Plugins::ULTRAGlobals::Users_Listings($LinkOwner)%>
Then, in the template (after the above code) - you can use:
<h2>Users Links</h2>
<%if user_links.length%>
<%loop user_links%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Hits</h2>
<%if user_links_by_hit.length%>
<%loop user_links_by_hit%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

<h2>Users Links By Rating</h2>
<%if user_links_by_rating.length%>
<%loop user_links_by_rating%>
<%include link.html%>
<%endloop%>
<%else%>
<p>No links.</p>
<%endif%>

Subject Author Views Date
Thread Ultra Globals, Users_Listings Gorospe 8977 Jul 30, 2008, 10:34 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 8785 Jul 30, 2008, 10:47 AM
Post Re: [Andy] Ultra Globals, Users_Listings
Gorospe 8713 Jul 30, 2008, 10:58 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 8764 Jul 30, 2008, 12:05 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 8744 Jul 30, 2008, 12:09 PM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 8783 Jul 30, 2008, 12:11 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 8694 Jul 30, 2008, 12:18 PM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Gorospe 8718 Aug 12, 2008, 8:51 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 8779 Aug 12, 2008, 9:55 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 8673 Aug 12, 2008, 11:14 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 8717 Aug 12, 2008, 11:28 AM
Post Re: [Andy] Ultra Globals, Users_Listings
Gorospe 8693 Aug 12, 2008, 12:17 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 8396 Oct 17, 2011, 5:24 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 8362 Oct 17, 2011, 7:52 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 8301 Oct 17, 2011, 8:28 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 8326 Oct 17, 2011, 8:29 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 8293 Oct 17, 2011, 8:37 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 8397 Oct 17, 2011, 8:38 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 8253 Oct 17, 2011, 8:41 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 8330 Oct 17, 2011, 8:43 AM
Post Re: [Andy] Ultra Globals, Users_Listings
MJ_ 8258 Oct 17, 2011, 8:53 AM