2012-08-10, 20:03:28
Hello,
Thanks for all those wonderful plugin...
I've a problem with gallery and child page.
I've child pages for main page.
In each child page, I've a gallery called this way
(% gallery name='my_gallery' thumb=0 %)
That work fine (after fixing some jquery call with theme I'm using)... So page is with 1 thumb and click on thumb launch prettyphoto...
For main page, I've done a special template based on regular one to call all its child pages.
At the right place, I've put in template the following code :
<?php $items = getChildren(return_page_slug());?>
<?php foreach($items as $item): ?>
<?php getPageContent($item); ?>
<?php endforeach;?>
Page display with child page, meaning content of child page is ok, but instead of the thumb of gallery for each child page I've the text (% gallery name='my_gallery' thumb=0 %)
So is gallery doesn't fire up when called this way?
Thanks in advance...
Thanks for all those wonderful plugin...
I've a problem with gallery and child page.
I've child pages for main page.
In each child page, I've a gallery called this way
(% gallery name='my_gallery' thumb=0 %)
That work fine (after fixing some jquery call with theme I'm using)... So page is with 1 thumb and click on thumb launch prettyphoto...
For main page, I've done a special template based on regular one to call all its child pages.
At the right place, I've put in template the following code :
<?php $items = getChildren(return_page_slug());?>
<?php foreach($items as $item): ?>
<?php getPageContent($item); ?>
<?php endforeach;?>
Page display with child page, meaning content of child page is ok, but instead of the thumb of gallery for each child page I've the text (% gallery name='my_gallery' thumb=0 %)
So is gallery doesn't fire up when called this way?
Thanks in advance...