Category with photos and one video. How to create?

Phoca Gallery - image gallery extension
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Category with photos and one video. How to create?

Post by borus »

Hello, Jan and friends.

There is a task to create portofolio which will be presented by many pages(many Phoca categories) with identical structure:
photos at the top and one visually separeted video at the bottom which can be played by clicking on it.
Here is an illustration of a category structure:
Image

Can you suggest how to make it?

Thanks.
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Category with photos and one video. How to create?

Post by reko »

Hi,
the only (easy) way to do this with phoca gallery i can think of is by using the slideshow plugin:
- create an article for each page
- add image thumbnails from desired category (by using the plugin code or very easy with the phoca gallery editor button)
- do the same with the video

check out the plugin demo to get an idea and the documentation for details.

hope this helps!
rk
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Category with photos and one video. How to create?

Post by borus »

reko wrote:Hi,
hope this helps!
rk
thanks.
I had gone by another way. I have put at the end of category view default.php script <div> tag with jdoc include statement which will contain Joomla Custome HTML module with youtube embeding code. I had assigned position for Custom HTML module with youtube inserting code and now gallery displays inserted <div> , but there is no joomla module at the bottom of the gallery.

What can it be?
Last edited by borus on 29 Mar 2012, 10:19, edited 1 time in total.
milanagrade
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 29 Mar 2012, 10:14

Re: Category with photos and one video. How to create?

Post by milanagrade »

Thanks for the helpful answers, guys.



_______________________________
great lakes student loans
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Category with photos and one video. How to create?

Post by reko »

borus wrote:What can it be?
depending on your settings in joomla, and/or your editor, some code gets removed from the content. this might have happenend to the youtube code :idea:
try to include a module with plain text, if that works you have to find the settings that remove the youtube code.

rk
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Category with photos and one video. How to create?

Post by borus »

reko wrote:
borus wrote:What can it be?
try to include a module with plain text, if that works you have to find the settings that remove the youtube code.
rk
I've followed your suggestion. No result. Then I've assigned my Custome HTML module with testing text to the parent menu item of my concrete gallery and module has appeared in the parent menu item page and in all child galleries. My parent menu item has a Categies view presentation and there is a concrete category where I need my module to display, not in all.

I have one guess. When I'm choosing menu item which module should be displaing on, I'm pointing child menu item, which visitor never click at, because he comes to my concrete gallery through the click on a category in a categories view, which is displayed by the parent menu item in the mainmenu. Due to design i can't display my child menu items in menus.

So what can i do then?
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Category with photos and one video. How to create?

Post by borus »

It's true.
When I follow the menu item(phoca category view type) which was assigned for displaying of joomla Custom HTML module(which contains youtube embeding code), module with video appears at the selected gallery. And the link of a gallery looks like:

Code: Select all

http://www.svadbamorkov.ru/index.php?option=com_phocagallery&view=category&id=1&Itemid=563
But when I come to the same gallery through the categories view there is no module and the page link is:

Code: Select all

http://www.svadbamorkov.ru/index.php?option=com_phocagallery&view=category&id=1:dimaidasha&Itemid=475
So there is a difference in links for the same gallery

Does somebody know the solution?
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Category with photos and one video. How to create?

Post by borus »

reko wrote: - create an article for each page
- add image thumbnails from desired category (by using the plugin code or very easy with the phoca gallery editor button)
- do the same with the video
reko, thanks. but how to make pagination with your method? And every page of a gallery (category) have to cantain the same video at the bottom.
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Category with photos and one video. How to create?

Post by borus »

:D I've found solution.
as it turned out, i came to my gallery not through the categories view, but through the category view, parent menu item was of category view type.
But category view was more beautiful and i want it back. but custom html module won't be pisplayed then.

Why doesn't it work when I come to the galllery from a category view?
Last edited by borus on 03 Apr 2012, 13:10, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category with photos and one video. How to create?

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply