Featured Content Gallery | WordPress Plugin | iePlexus

FCG Box appear, not images

General WordPress and FCG plugin discussion

FCG Box appear, not images

PostBy bourpif_k on Tue Apr 05, 2011 12:51 pm

Hello,

I've installed FCG on 2 templates created with artisteer software. Everything works well.
With my third template, i can't resolve the problem. FCG Box appear but not images.
- FCG is called on my homepage only
- FCG calls images from the category "Diaporama"
- Images are included in custom field witj "articleimg" and i think, the good path.

What's wrong ?

I've tried to reinstall plugin, no effect.

url : http://www.test.alpes-home.com
wordpress 3.1

Thank's.
bourpif_k
 
Posts: 9
Joined: Tue Apr 05, 2011 12:38 pm

Re: FCG Box appear, not images

Thank you for using the Featured Content Gallery Forum
 

Re: FCG Box appear, not images

PostBy admin on Wed Apr 06, 2011 8:24 am

did you provide articleimg custom fields for each post in gallery?
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: FCG Box appear, not images

PostBy bourpif_k on Wed Apr 06, 2011 10:33 am

I'm not sure to understand but, I'm testing FCG with 3 posts in "diaporama" category.
Each post have articleimg written in custom fields and the good web file address (copy from media and past in custom field value), 3 different images.

I hope to be clear. ;-)
bourpif_k
 
Posts: 9
Joined: Tue Apr 05, 2011 12:38 pm

Re: FCG Box appear, not images

PostBy admin on Wed Apr 06, 2011 10:54 am

your answer means "yes", you did provide images for posts...
Then try to put gallery call in this format
Code: Select all
<?php global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: FCG Box appear, not images

PostBy bourpif_k on Wed Apr 06, 2011 12:56 pm

It works ! Great.

1- I'm a php noob. Is it really usefull to explain to me why it doesn't work with the current code and why you need to try another ? I can just accept things like they are.

2- The original code works very well on my other websites. Meanwhile, the software that generate my new template has been 2 times updated. The php code generated is very different now. Is it the reason you had to change FCG code ?

3- And now, how to select only my homepage for my slideshow ? Not "global $post" but page Accueil.

4- The featured content doesn't seem to work, there is no small pictures but names appear.

5- Can you read french ? :-)

A lot of questions... Thank you very much.
bourpif_k
 
Posts: 9
Joined: Tue Apr 05, 2011 12:38 pm

Re: FCG Box appear, not images

PostBy admin on Wed Apr 06, 2011 1:25 pm

1- I'm a php noob. Is it really usefull to explain to me why it doesn't work with the current code and why you need to try another ? I can just accept things like they are.

in Thesis theme you use hooks to put php code in. somehow theme looses articleimg custom fields this way and we need to point code to global post variables to get correct content from the post

2- The original code works very well on my other websites. Meanwhile, the software that generate my new template has been 2 times updated. The php code generated is very different now. Is it the reason you had to change FCG code ?

You have other than Thesis theme on those sites? In normal way when you put the gallery call through theme editor there is no need to add "global $post;" statement, but using hooks and exec plugin, you need to have this because you put php gallery call in places where there is no php.

3- And now, how to select only my homepage for my slideshow ? Not "global $post" but page Accueil.

if you want to put gallery call through Thesis hook to home page, you need to embrace gallery call like this:
Code: Select all
<?php
if (is_home() || is_front_page())
{
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>

to put your gallery call only on page with title "Accueil" use this:
Code: Select all
<?php
if (is_page("Accueil"))
{
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>


4- The featured content doesn't seem to work, there is no small pictures but names appear.
You probably talking about thumbnails dropdown when you click "Featured Content" button on top? In your case, You probably checked "use thumbnailimg custom field for thumbnail images". You checked it, but never provided thumbnailimg custom field for each post in gallery. If you do not check it, the gallery by default will use articleimg custom field for thumbnail dropdown, but those images will not be resized, it will use center part of articleimg image url 100 by 75 size.

5- Can you read french ?
Yes, I can read French and even other languages!!!..... But it does not mean I am able to pronounce it correctly and it does not mean I will understand it. But in case of Wordpress, I fixed gallery in German, French, Spanish, Portuguese languages without any problem, when the whole admin interface presented in those languages.)))


You are welcome. De rien.
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: FCG Box appear, not images

PostBy bourpif_k on Wed Apr 06, 2011 2:24 pm

It works.
Thanks a lot.
Thumbnails dropdown works well too.

I'm not using Thesis theme but Art**t**r (no advertising) software that generate WP template/theme.
Here is the FCG put in page.php
Code: Select all
<div id="art-main">
    <div class="art-sheet">
        <div class="art-sheet-cc"></div>
        <div class="art-sheet-body">
            <div class="art-nav">
               <div class="l"></div>
               <div class="r"></div>
               <ul class="art-menu">
                  <?php echo $menu_items; ?>
               </ul>
            </div>
            <div class="art-header">
                <div class="art-header-png"></div>
                <div class="art-logo">
                <h1 id="name-text" class="art-logo-name">
                        <a href="<?php echo $logo_url; ?>/"><?php echo $logo_name; ?></a></h1>
                    <div id="slogan-text" class="art-logo-text"><?php echo $logo_description; ?></div>
                </div>
            </div>

<?php
if (is_page("Accueil"))
{
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>

            <div class="art-content-layout">
                <div class="art-content-layout-row">
                    <div class="art-layout-cell art-sidebar1">
                        <?php echo $sidebar1; ?>   
                    </div>
                    <div class="art-layout-cell art-content">
                        <?php echo $sidebarTop; ?>
                            <?php echo $content; ?>   
                        <?php echo $sidebarBottom; ?>   
                    </div>
                </div>
            </div>
            <div class="cleared"></div><div class="art-footer">
                <div class="art-footer-t"></div>
                <div class="art-footer-body">
                  <?php echo $sidebarFooter; ?>
                  <div class="art-footer-text">
                      <?php echo $footerText; ?>
                     
                  </div>
                  <div class="cleared"></div>
                </div>
            </div>
          <div class="cleared"></div>
        </div>
    </div>
    <div class="cleared"></div>
    <p class="art-page-footer">Designed by xxxxxxxxx.</p>
</div>



Merci pour tout et bonne continuation.
bourpif_k
 
Posts: 9
Joined: Tue Apr 05, 2011 12:38 pm

Re: FCG Box appear, not images

PostBy admin on Wed Apr 06, 2011 3:06 pm

you are welcome and good luck to you too!
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: FCG Box appear, not images

PostBy marijnvanderploeg on Thu Apr 07, 2011 3:08 am

Hi there!

I'm trying tot put FCG in a website for a client. seem to have the same problems as the persons above me. Did everything you said to others (making sure DB = 755, making sure articleimg is being used properly, no query conflict, using global post) but still not working for me.... This is the code i'm using.

Code: Select all
<div id="content_gallery" align="center" >                   
      
      <?php
if (is_home() || is_front_page())
{
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>   
       
        </div> 


can you see what the problem is? thanks allready!

http://www.ovzo.nl
marijnvanderploeg
 
Posts: 2
Joined: Wed Apr 06, 2011 2:24 pm

Re: FCG Box appear, not images

PostBy admin on Thu Apr 07, 2011 8:41 am

you have an apostrophe in button name "meer pagina's", change it to "meer pagina\'s"
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron