Should I be wrong in this part of the forum please move this thread.
I use the pixture_reloaded theme and would like to make a condition, if a flash-video is shown or a photo. The problem is, that a filter / search could lead to 100 or more flashvideos simultanously, which is a problem of course.
So I think there should be a condition, if the "main-alias" of an article is shown, the flashvidoe should be shown, if it is a result of a taxonomy/term-selection, a photo should be shown. It would be fine also, if the flashvideo is shown if the article is shown on the startpage.
I don't know how to do this with php, but the logic should be
if "main-url" then
flashvideo
elif startpage
flashvideo
else
photo
fi
It would be very nice, if someone could help me with this problem.
Comments
I can help you with this,
I can help you with this, what module are you using to add your video and images?
Need help with IE?
Learn basic XHTML and CSS first.
Get smart with web specs.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
I use a Menalto Gallery and
I use a Menalto Gallery and embed the flash-video with a code from http://www.flashyourweb.com/staticpages/index.php?page=embed-o-rator
So I simply allow php for the article and insert a code like this:
Any other solutions are welcome.
How do you attach images to
How do you attach images to the node with Gallery?
So you just paste the Flash embed code into the node body? Not a seperate CCK field?
Do you have a live web page I can look at that includes some flash and an image?
Need help with IE?
Learn basic XHTML and CSS first.
Get smart with web specs.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Yes I paste the code only in
Yes I paste the code only in the node. I don't use CCK, although it is installed.
The site is under construction. I will send you the page with a private message.
I emailed you back, lets do
I emailed you back, lets do this via email and chat, we can post the solution back here when we're done...
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.