9 years ago
3
Topic

Hi all, anyone know the correct syntax for $uri-> for Select Dynamic plug-in v3.4.0 changelog  + $user->... $uri->... syntaxes processed added on Select Dynamic plug-in.

I able to get the userid with $user->id for logon user however i cannot get the $uri->id to get the article id (use as module form for article comment).

Thank you.

Get a VIP membership
4229 Posts
Kadministrator
9 years ago
2
Level 1

Hi,

$uri->get('id')

9 years ago
1
Level 2

YES!! it work! thank you very much.

Here you are for those who need sql simple join query for dynamic select field.

example: get current article author email with dynamic select field

Table : #__content,#__users

Where: #__content.created_by=#__users.id AND #__content.id=$uri->get('id')

Option Value: email

Limit: 1

188 Posts
uriel
9 years ago
0
Level 3

I created a field that does this.

Grab the live article author's data.

http://www.seblod.com/community/forums/fields-plug-ins/new-field-get-author-data-joomla-user-default#post21286

Simple Field!

Free download :)

Get a VIP membership