I am trying to load multiple images on one node. When I add the preprocess code, it says:

Parse error: syntax error, unexpected T_IF, expecting '(' in /Users/robbiehall/Desktop/halltrucksales/themes/bartik/template.php on line 157"

I can't seem to get past this. And my site won't load. Any help would be appreciated.

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

ddblock for drupal 7 does not need preprocess functions anymore.
You can map the image field in the mappings section of the configuration page for the slideshow.
You would need to uncheck the group field checkbox for the image field.

Hope this helps you further, please let me know.

ppblaauw’s picture

Added a Drupal 7 - Advanced slideshow tutorial at http://ddblock.myalbums.biz
This is a quick step by step tutorial, which assumes you have basic drupal knowledge.

Did you fix your issue?

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Fixed

Set status to fixed.
Assume answer fixed the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.