10 years ago
8
Topic

Hi,

As said in title i want to get a list field value (used in search) and use it in description (and eventually title but i think it is not possible) of my list/search.

Is there a way to do that.

Thx.

Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
0
Level 1

Hi Pascal,

Have you seen this post?

regards,

Randy

10 years ago
0
Level 1

THx for answer but i don't see the link with my question ...

10 years ago
0
Level 1

I will write again my problem and try to be more clear :

I just want to display in list description a field value (here the author name).

With this i could have a title like "Articles written by Bob"

Where bob is value from my field created by ...

4229 Posts
Kadministrator
10 years ago
0
Level 1

You can make "Articles written by" a lsit table header or include a new text field with "Articles written by" as value to the same results column as Bob field

10 years ago
2
Level 1

lol ... great misunderstand ... think simple :)

I do it again.

I have a list/search filtered on an author.

I just want to display the name of the author in Description of the list ...

Description is the text displayed at top of the list under the title (not a field or an header of the list) !

4229 Posts
Kadministrator
10 years ago
1
Level 2

Hi,

description is output directly in the view, so one way to do it would be to do a output template override (

http://docs.joomla.org/Understanding_Output_Overrides ) for views/list/default.php template and chage the aprt where description is output - you could get author id from search url and then do a query to find users name.

10 years ago
0
Level 3

Thx for help.
I thought about that but it will override all outputs for this views and this not what i want.

Perhaps i should also clear the description and use a field at top of search and put in it some HTML with my description and some code to get another field value.

But how can i do that in a list field ?
I would also really need that to make custom buttons with custom links and add a url var at end of it ...

Some method ?

10 years ago
0
Level 1

Ok finally i've done it like Klass said (with template view override).

Get a VIP membership