General Community > WebsiteBaker Website Showcase

A simple portfolio site using DHTML gallery working on an IIS server safemode on

<< < (4/5) > >>

Stefek:

--- Quote from: gokcer on October 09, 2008, 11:32:41 AM ---But I will post here the modified gallery module and the template codes this night (GMT+2 :)), so you can view changes on a comparing software like "beyond compare". After that if you have questions, please post and I will reply them as best I can.

--- End quote ---
Yes, that's great. I will do so if I have questions then.

Thank you!

Regards,
Stefek

gokcer:
@Stefek,
Inside the attached zip file, you'll find the customized gallery module, crop tool, lightbox, the templates and some other stuff. Maybe these files will not work with the standard versions of WB. But I hope that you will figure out the way of integration of new options.

Especially take a look at view.php. First I have added at line 122
--- Code: ---if(file_exists(WB_PATH.MEDIA_DIRECTORY.'/gallery/image'.$image['image_id'].'.jpg'))
{
$resim = WB_URL.MEDIA_DIRECTORY.'/gallery/image'.$image['image_id'].'.jpg';
}
else
{
$resim = WB_URL.'/templates/tasarim/noimage.gif';
}
--- End code ---
then added [RESIM] in "$vars" (line 125) and $resim in "$values" (lines 132, 134).

And inside the gallery module's settings, html tag of loop box is:
--- Code: ---<div id="thumb"><a href="[RESIM]" rel="lightbox" title="[TITLE] • [DESCRIPTION] • [TARIH]">[THUMB]</a></div>
--- End code ---

"rel=lightbox" string activates the lightbox.

Have a good time :)

Modified: I've made some changes just after this post.

view.php line 105: $baslik = stripslashes($image[$sirala]);
tags.php line 9: $title = stripslashes($tag1['title']);
tags.php line 20: $description = stripslashes($tag2['description']);
keywords.php line 9: $title = stripslashes($tag1['title']);
keywords.php line 20: $description = stripslashes($tag2['description']);

In other words "stripslashes" added to remove slashes.


[gelöscht durch Administrator]

Stefek:
Hello Gokcer,
sorry that I am letting you waiting.
I didn't have time yet to implement your code in one of my running projects.
But I will do so in the next days and will let you know then.

Regards,
Stefek

chio:
YO!
One more entry for my "Professional Websites" Showcase!
Great job!

gokcer:
Thank you chio :)

"WebsiteBaker.at" is a great idea to show what WB can do and to motivate bakers.

Best Regards...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version