Status
Not open for further replies.

SpLaT*

Active Member
44
2009
0
0
im running drupal on my site and im trying to install the shadowbox to work with my screenshots. but i know very little php to edit this code for it to work
im trying to add rel="shadowbox" but when i try to add it somewhere all images on my site dissapear or the screenshot link takes me to warezstop.com/rel=
any help would be amazing. thanks

Code:
<div class="view"><a href="<?php echo $base_url.'/'.$node->field_screenshot[0]['filepath']; ?> ">View Screenshot</a></div>


i was also wondering how this can be edited so that when im making a new post and i dont upload a screenshot that the "view screenshot" doesnt show up on the main page
 
2 comments
Code:
<div class="view"><a rel="shadowbox" href="<?php echo $base_url.'/'.$node->field_screenshot[0]['filepath']; ?> ">View Screenshot</a></div>

That?
 
Status
Not open for further replies.
Back
Top