1
I am trying to add a function that is similar to the isAdmin function. But I don't know where to begin. I have looked through the kernel and include folders but none help. Here is what I am trying to do.
Similar to the isAdmin, if a user registers lets a say a "Team" (I have modified a module) to the site, that user now has to go through several links to get to his "team" page. I would like to add to the user menu (drop down) something like this:
<{if $xoops_xteamsadmin}>
menu4[6]='<a href="<{$xoops_url}>/visit.php?cid=<{$xteamscid}>&lid=<{$xteamslid}>">[T] Team</a>'
<{/if}>
This would be a direct link to the "team" page from the front page; but, where do I get to the code to call from the database and then add the correct functions to make it work?
Similarly, if someone would like to add this "Team" page to a User Favorites, would this be in the same location? Does a hack exist that allows a user to add to a favorites block?
-------------------
www.illinoisbmx.com