Hi,
I searched through the forums but didn't find solution for this problem.
Is it possible to have different anycontent tables in different categories? I mean for example like one Welcome message on main page (no problem) but when you go to a category I'd like to have there other anycontent table with some description of that category and albums under it.
Is this possible?
Thanks for answers.
Hmm, I looked into it and I think I said it wrong, I'm Sorry.
So once more and better. I would like to have anycontent table in album list and many different depending on category.
For example: One catefory called "China 2005" and after you click on it to see different albums like "landscape/animals/etc." and above it I would like to have anycontant table with a short description of my travelling.
I hope I get an answer, thanks.
As you can use PHP code in anycontent.php, you can savely add some switches to it that make content only visible if certain conditions are met (like the users browsing category X). Sample code would be something like this:<?php
if ($cat == 3) {
print 'Some text that explains what you can see in category 3';
} elseif ($cat == 5) {
print 'Some text that explains what you can see in category 5';
} elseif ($cat == 36) {
print 'Some text that explains what you can see in category 36';
}
?>
However, for your purposes I recommend using the MiniCMS plugin (http://forum.coppermine-gallery.net/index.php?topic=15543.0), which is much easier to maintain and can do many things more.
Thank You a lot :-*
I installed that great plugin and it does right what I was looking for ;)