http://ready4achange.com/are-you-good-candidate-bariatric-surgery

I'm not sure why this isn't working. I've looked into the FAQs on myalbums and can't get this to work.

I'm not even sure where the template.php is suppose to be located...

My theme is on public_html/themes/THEME-NAME and not public_html/sites/all/themes

Comments

ppblaauw’s picture

Your theme at: public_html/themes/THEME-NAME should also have a template.php file.

Some themes don't have a template.php file. If your theme does not have template.php file you need to create one and place the preprocess functions in it.

The file should start with <?php

Hope this helps you further.

ready4achange’s picture

I tried to add it in the mobile tools but it doesn't work? It causes the site to go down. Is there a way for you to show me how to incorporate the program?

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

I don't know what mobile tools are and what it has to do with the ddblock module.
If your theme does not have a template.php file, you should create a template.php file in the theme folder of the theme you use for your site, starting with

<?php

and then add the proprocess function and follow the steps in the slideshow tutorial for the preprocess functions at:

http://ddblock.myalbums.biz/node/765

Hope this help you further

ready4achange’s picture

We are still having problems? I put the preprocess functions in template but it causes the whole site to crash! Can I see an example of a working template.php file?