By Boletus on
Hi
Can anybody give me a hint of how I can add php code so that I can show an small image in the teaser on the front page, and a large one in the main content page?
Meta code:
<? if (location == "front_page") {
echo "
";
else {
echo "
";
}
What should the If statement look like?
Thanx for any help.
Comments
Ops. my code was stripped
Ops. my code was stripped away :)
like this
I F (Location == first page )
show small image
e l s e
show large image.
E N D I F
Excerpt module may be?
Take a look here:
- http://drupal.org/node/61252
- http://drupal.org/node/58888
Module can be found here:
- http://drupal.org/project/excerpt
___________________
discover new oceans
lose sight of the shore
Thanks! I will give it a
Thanks! I will give it a try.
Thank you. Splendid! :)
Thank you. Splendid! :) Perfect.
No worries
Cheers mate :)
___________________
discover new oceans
lose sight of the shore
Teaser Images module
The teaser image module might be just what you are looking fore. I haven't tried myself but so please let me know if it it is of any help.
------------------------
Drupal makes a great job of hosting my site Nyfiken vital | om kost och hälsa.