Page 1 of 1

Different text in Category View (Item list) and in Item View

Posted: 03 Nov 2014, 15:20
by berto36
Hi.
I really love the Phoca Panorama component. Congratulations for it!
I wonder if is possible to have different text in Category view, or Item list, and in Item view. I would like in Category view a short description and in the Item view a longer text.
Thanks in advance.

Roberto

Re: Different text in Category View (Item list) and in Item

Posted: 03 Nov 2014, 22:33
by Benno
Hi,
perhaps I understand wrong, but this is already possible. Use the description of items and categories... :idea:

Kind regards,
Benno

Re: Different text in Category View (Item list) and in Item

Posted: 05 Nov 2014, 18:16
by berto36
Hi,
I haven't explained it correctly. :oops:
I'm talking about the text of the item.
I meant if it's possible to have one text of the item in the Item List, and other text when you enter to view that item.

Roberto

Re: Different text in Category View (Item list) and in Item

Posted: 06 Nov 2014, 16:09
by Benno
Sorry, I don't understand.. :x
Can you please post some screenshots, to see what you mean.

Kind regards,
Benno

Re: Different text in Category View (Item list) and in Item

Posted: 07 Nov 2014, 13:19
by berto36
I'm sorry.

This is the text of the Item in the Item List:
Image

And this is the text of the Item in the Item View:
Image

Is the same text. I would like different text. Or in the Item List only the title of the panorama and the first line of the text, without the rest of the text:
Image

Thanks.

Roberto.

Re: Different text in Category View (Item list) and in Item

Posted: 07 Nov 2014, 22:28
by Benno
Hi,
yes, now I see. This is Item Description in both views.
Sorry, I have no idea to solve this.. :idea:

Kind regards,
Benno

Re: Different text in Category View (Item list) and in Item

Posted: 08 Nov 2014, 14:27
by berto36
Well, thanks anyway.

Roberto

Re: Different text in Category View (Item list) and in Item

Posted: 08 Nov 2014, 23:34
by Jan
Hi, I think, for this you should customize the code. To add one more column in to database, e.g. description_long and have two descriptions:

one - standard - e.g. displayed in category view
second - long - displayed in item view

What needs to be done:

- one new column description_long needs to be added to database table (items)
- the form in administration - in item edit needs to be edited - to add the form input field long description
- then the item view should be changed - to load the long description and display it in item view :idea:

Jan

Re: Different text in Category View (Item list) and in Item

Posted: 10 Nov 2014, 10:36
by berto36
Hi,
I'll try it, but it seems a bit difficult. Thanks for the clues. I'll post it here if I can do it. :)

Roberto

Re: Different text in Category View (Item list) and in Item

Posted: 11 Nov 2014, 21:26
by Jan
Ok