9 years ago
1
Topic

Hello everyone!

I have 2 issues.

First is that the subject of field e-mail doesn't works with [username]. If I put #art_title# works well, but when I try to use [username] in subject doesn't works.

Second I need to get the value of a field after the plugin SD database works. 

I tried those functions:

$cck->getHtml('art_catid');
$cck->getText('art_catid');
$cck->getTypo('art_catid');
$cck->renderField('art_catid');
$cck->getLabel ('art_catid');

But I never get the value after the plugins works. In my case I get the value of ID, if the plugin works i will get the name of category.

Thanks all!

Get a Book for SEBLOD
154 Posts
WebOne
9 years ago
0
Level 1

You may be approaching this the wrong way: you can retrieve the TEXT value if you get the text value from the #__categories table.

Alternatively you may be able to use an Article Category id field, or a SELECT DYNAMIC field.

Get a Book for SEBLOD