Featured Content Gallery | WordPress Plugin | iePlexus

More than one...

Customizing the FCG plugin and more

Re: More than one...

PostBy slipshod on Fri Sep 18, 2009 9:38 pm

I'm quite new at this so don't really know. But as far as my knowledge goes, I can't understand why the code you posted above isn't working for you. The only thing I can think of:

In 'WP-Admin -> Settings -> Featured Content Gallery', have you chosen "Select here to use category selection" or "Select here to use individual post or page IDs"? If you chose the latter, then that would be the problem.
slipshod
 
Posts: 4
Joined: Thu Sep 17, 2009 4:58 pm

Re: Re: More than one...

Thank you for using the Featured Content Gallery Forum
 

Re: More than one...

PostBy niconectado on Thu Oct 15, 2009 7:26 am

Sure this will work, but only if you are thinking on use just 1 gallery at the time. I explain, i needed to insert multiple FCG in the same page, but on different positions, won't work. I assume (not for sure) that the second (and so on..) gallery rendered on the site uses the same CSS ID's that can't be duplicated, so it breaks..
Now i wonder if the css could be changed for just using classes - not id's, so my goal can be accomplished.

It's a really cool plugin, so it called my attention that this need is getting very common for many developers.. user "luke" said he had another solution.

cheers

gerardmclean wrote:Actually, while not a "real feature" and not entirely a "duplicate gallery" but if you are looking to run multiple galleries that all feel and act the same way on the blog, but just with a different selection of photos, it can be done. Doing it now on a site that I can't show you, but it is happening.

AT YOUR OWN RISK, please don't ask me to support this. I am just sharing how I hacked it for my purposes. (multiple featured content galleries in the same blog is probably going to be added at some time in the future anyway)

1. duplicate the file gallery.php and call it something else, like gallery2.php
2. edit this line:
<?php query_posts('category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?> ...
niconectado
 
Posts: 2
Joined: Thu Oct 15, 2009 6:30 am

Re: More than one...

PostBy niconectado on Thu Oct 15, 2009 12:52 pm

Well, as i thought before there was a problem with duplicated Div ID's, so i hard coded the second "gallery.php" replacing the ID's "featured" and "myGallery", with the ID names "featured2" and "myGallery2".

Then, on the file jd.gallery.css (under folder '/wp-content/plugins/featured-content-gallery/css') i just duplicated every attribute of "myGallery" to the class "myGallery2".

Basically i created duplicated id's to avoid the conflict described above.

This allowed me to put multiple FCG's on the same page simultaneously... but at last it still something broken with the CSS because the ".carousel" element (with the thumbnails) and the div with the text are out of their position... and no idea yet to place it correctly. (Watch the second Tab, on the Blue area for an Example)

if anyone interested on find a solution, you can contact me
niconectado (skype)

regards
niconectado
 
Posts: 2
Joined: Thu Oct 15, 2009 6:30 am

Re: More than one...

PostBy DjJuvan on Mon Oct 19, 2009 1:47 am

Hello!

I realy like this plugin and I'm happy to able using it. But I wonder, if it's possible to make more tabs where you have "Featured Content" one. Like, if you want to have "Featured Content #1" and "Featured Content #2"... any more...

This is very useful if you have more diferrent categories to show in this gallery. I don't really like the idea of duplicating the whole gallery.

Any idea?
DjJuvan
 
Posts: 3
Joined: Wed Oct 14, 2009 12:45 am

Previous

Return to Plugin Settings, Features, and Options

Who is online

Users browsing this forum: No registered users and 0 guests