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
Different text in Category View (Item list) and in Item View
-
- Phoca Newbie
- Posts: 5
- Joined: 03 Nov 2014, 14:44
- Benno
- Phoca Hero
- Posts: 9464
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Different text in Category View (Item list) and in Item
Hi,
perhaps I understand wrong, but this is already possible. Use the description of items and categories...
Kind regards,
Benno
perhaps I understand wrong, but this is already possible. Use the description of items and categories...
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 5
- Joined: 03 Nov 2014, 14:44
Re: Different text in Category View (Item list) and in Item
Hi,
I haven't explained it correctly.
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
I haven't explained it correctly.
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
- Benno
- Phoca Hero
- Posts: 9464
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Different text in Category View (Item list) and in Item
Sorry, I don't understand..
Can you please post some screenshots, to see what you mean.
Kind regards,
Benno
Can you please post some screenshots, to see what you mean.
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 5
- Joined: 03 Nov 2014, 14:44
Re: Different text in Category View (Item list) and in Item
I'm sorry.
This is the text of the Item in the Item List:
And this is the text of the Item in the Item View:
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:
Thanks.
Roberto.
This is the text of the Item in the Item List:
And this is the text of the Item in the Item View:
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:
Thanks.
Roberto.
- Benno
- Phoca Hero
- Posts: 9464
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Different text in Category View (Item list) and in Item
Hi,
yes, now I see. This is Item Description in both views.
Sorry, I have no idea to solve this..
Kind regards,
Benno
yes, now I see. This is Item Description in both views.
Sorry, I have no idea to solve this..
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 5
- Joined: 03 Nov 2014, 14:44
Re: Different text in Category View (Item list) and in Item
Well, thanks anyway.
Roberto
Roberto
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different text in Category View (Item list) and in Item
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
Jan
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 03 Nov 2014, 14:44
Re: Different text in Category View (Item list) and in Item
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
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
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Different text in Category View (Item list) and in Item
Ok
If you find Phoca extensions useful, please support the project