2012-03-15, 09:22:55
(This post was last modified: 2012-03-15, 10:28:23 by film letöltés.)
Hello, I've tried to look for this problem but could not find it. Please direct me to the correct posting if it's been addressed elsewhere.
My Gallery works great as does the gallerylink option on any of my pages so it's all setup correctly.
I now want to put a random thumbnail image in the sidebar. I have in my template the following code.
div id="sidebar">
<?php echo get_page_by_id('sidebar'); ?>
</div>
The Sidebar content is just another page but only specified in the template (This "page" can be edited as normal in the backend and is displayed on every page at the front end)
When the following code is put on the "Sidebar page" only the text appears at the front end not the random image.
(% gallerylink name=gallery url=gallery thumb=random %)
Looking at the source code the i18n gallery script and other header info is not inserted. I don't know if this fact is the cause of the issue or not.
Is there any solution or workaround for this?
My Gallery works great as does the gallerylink option on any of my pages so it's all setup correctly.
I now want to put a random thumbnail image in the sidebar. I have in my template the following code.
div id="sidebar">
<?php echo get_page_by_id('sidebar'); ?>
</div>
The Sidebar content is just another page but only specified in the template (This "page" can be edited as normal in the backend and is displayed on every page at the front end)
When the following code is put on the "Sidebar page" only the text appears at the front end not the random image.
(% gallerylink name=gallery url=gallery thumb=random %)
Looking at the source code the i18n gallery script and other header info is not inserted. I don't know if this fact is the cause of the issue or not.
Is there any solution or workaround for this?