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 7442 Jul 30, 2008, 10:34 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 7281 Jul 30, 2008, 10:47 AM
Post Re: [Andy] Ultra Globals, Users_Listings
Gorospe 7206 Jul 30, 2008, 10:58 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 7249 Jul 30, 2008, 12:05 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 7231 Jul 30, 2008, 12:09 PM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 7280 Jul 30, 2008, 12:11 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 7194 Jul 30, 2008, 12:18 PM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Gorospe 7214 Aug 12, 2008, 8:51 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 7269 Aug 12, 2008, 9:55 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
Gorospe 7169 Aug 12, 2008, 11:14 AM
Thread Re: [Gorospe] Ultra Globals, Users_Listings
Andy 7198 Aug 12, 2008, 11:28 AM
Post Re: [Andy] Ultra Globals, Users_Listings
Gorospe 7182 Aug 12, 2008, 12:17 PM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 6879 Oct 17, 2011, 5:24 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 6840 Oct 17, 2011, 7:52 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 6796 Oct 17, 2011, 8:28 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 6828 Oct 17, 2011, 8:29 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 6784 Oct 17, 2011, 8:37 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 6887 Oct 17, 2011, 8:38 AM
Thread Re: [Andy] Ultra Globals, Users_Listings
MJ_ 6756 Oct 17, 2011, 8:41 AM
Thread Re: [MJ_] Ultra Globals, Users_Listings
Andy 6820 Oct 17, 2011, 8:43 AM
Post Re: [Andy] Ultra Globals, Users_Listings
MJ_ 6756 Oct 17, 2011, 8:53 AM