We're creating a varable:

$slideshow = "[slideshow:2, rotate=2, blend=1, layout=default, name=Banner, height=300, width=250, img=|http://localhost/riazu/sites/default/files/Sunset_108.jpg|http://localhost/riazu/sites/default/files/Sunset_108.jpg|Test image|The complete and utter driving experience|Smart|]" ;

And then trying to print it this way:

$node->content['virtual_tour'] = array(
'#value' => $slideshow ,
'#prefix' => '<div id="demos" style="float:right;">',
'#suffix' => '</div>',
'#weight' => 16,
);

and then we print it, but simply the string is print out as it is on the screen, without showing images or slideshow.

Anyone who can help me out with this issue?

Thanks
Waqar
4 Ace Technologies

Comments

mm167’s picture

slideshow creator works OK.

I dont understand what u mean by "We're creating a variable"?
u create it as a php programmer, in your module?

read the doc's come with the slideshow creator.

wqr786’s picture

Yes, we are working in PHP, in our module, and provide the code in a variable and then assigning the variable to the value of node's content, but the string appears as it is.

Thanks
Waqar

wqr786’s picture

Basically the string is not working as we're calling it manually as you can see above in the code, in $node->content.

Any idea why it could not be working?

wqr786’s picture

Anybody to help????

computer_jin’s picture

Same problem with me ..
Anybody who help me out for this issue....?

--
Azhar uddin
Technical Lead
email : engr.azharuddin@gmail.com
skype : computer_jin

computer_jin’s picture

Any one who can help me for that ????

--
Azhar uddin
Technical Lead
email : engr.azharuddin@gmail.com
skype : computer_jin

manderson311’s picture

does it have something to do with the input format? When you put this code in the body section and leave it on Filtered HTML... then you'll see just the string...

manderson311’s picture

I've been having a problem with the slideshow_creator module. I'm using Drupal 6.12 and I have the most up to date slideshow_creator module. This module works fine in Firefox, but in IE it doesn't. It locks IE and crashes it. You can check it out at rockphilly.com/content/dev-page...

Any ideas here???

mm167’s picture

will u buy me a beer for the answer?

vm’s picture

that's rude. This is a free support forum. If this is how you intend to handle forum support threads stick to the paid support forum please.

mm167’s picture

as reminded by VeryMis this is a FREE forum, so, ....u dont need to buy me a beer for the answer.

good luck.

vm’s picture

@ manderson311

your slideshow is working fine for me in IE8 on your site
which version of IE is in use on your end?

manderson311’s picture

I'm using IE7... here's a screen shot of my problem...

http://rockphilly.com/themes/RockPhilly/images/IEproblem.JPG

vm’s picture

I'd forego that module in total. According to the developer, it's been deprecated which means no one is working with it any longer so bugs and such aren't being fixed. The project page: http://drupal.org/project/slideshow_creator gives a link to more complete solutions that are being supported.

I've cleaned up the comparison handbook page marking slideshow_creator as deprecated so that other users unaware don't install the module.

manderson311’s picture

Thanks...