1

Topic: Mixing tags globally?

I wish to add Quick Icons, wink, email, etc on search_results.tpl, but they return "Unknown Field"

i.e: In member_sections_quick_actions.tpl or even in search_results.tpl

<!-- IF loggedin AND settings.enable_friends AND member_is_friend == "0" -->
<li class="friends"><a href="{virtual_path}{member_add_friends_link}" rel="nofollow" title="{lang:"member","friends"}">{lang:"member","add_friends"}</a></li>
<!-- ENDIF -->
<!-- IF loggedin == "0" AND settings.enable_friends AND member_is_friend == "0" -->
<li class="friends"><a href="#TB_inline?height=125&width=280&inlineId=TBcontent&modal=true" class="thickbox" rel="nofollow" title="{lang:"member","add_friends"}">{lang:"member","add_friends"}</a></li>
<!-- ENDIF -->

Even the IF conditions fail, it defaults to 'not logged in' when I am...... isn't the languages, paths and conditions global?  i.e you cant use {lang:"member","add_friends"} on the home page?

I would like to be unique on my search results to differ from the standard layout......

Regards, Peter

2

Re: Mixing tags globally?

I am attempting this same thing, did you find a resolution?

3

Re: Mixing tags globally?

use sessions.

IF session.is_logged_in etc..