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
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%>
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%>