I read this example in manuals: {{ assign var="profile_email" value=`$gimme->comment->reader_email` }} {{ php }} $profile_email = $this->get_template_vars('profile_email'); print $profile_email; {{ /php }} My problem is that i want to assign {{ uri options="article" }} to a variable.
I want the SEF url of an article to be assigned to a variable to use it in a Facebook application.
If i use $gimme->article->url_name - i get artcle number (ID).
Ok, here is a piece of code that i am trying to get working: {{ list_articles length="1" ignore_issue="true" ignore_section="true" order="bypublishdate desc" constraints="type is aspecte" }} {{ php }} require_once('facebook-platform/php/facebook.php');