Search
Other Articles Anywhere questions
Forum

php for article id

Francisco Valenzuela's Avatar Francisco Valenzuela
Hello, i need some this with sorcerer and articles:

{code}
{article id="<?php $id = JRequest::getVar('id'); echo $id; ?>" }
[title]
{/article}
{/code}

can you help me?
Peter van Westen's Avatar Peter van Westen ADMIN
Can I ask, what are you trying to get as a result?
Are you trying to get the title of the current article?
Please post a rating at the Joomla! Extensions Directory
Francisco Valenzuela's Avatar Francisco Valenzuela
I understand that it is rare, it is a module to include in a template of yootheme pro articles, I have thought of another way to do it, anyway thank you very much, sorry for the inconvenience and thank you for your quick response.
Peter van Westen's Avatar Peter van Westen ADMIN
Doesn't this work?
{article}[title]{/article}
Please post a rating at the Joomla! Extensions Directory
Francisco Valenzuela's Avatar Francisco Valenzuela
ohhhh yes!!!, sorry, I was obfuscated with using id, thank you very much...
Peter van Westen's Avatar Peter van Westen ADMIN
My pleasure ?
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription