CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Gallery Builder Control - how do I change 'images' folder?

Print topic Send  topic

Author Message
GeorgeS

Posts: 206
Posted: 10/24/2006, 3:04 PM

Gallery Builder Control is great!.. as well as all other new CCS features.

My problem/question:

I need to be able to display images in Gallery Builder Control that are coming from different folders depending on the user level.
How can I change image folder programmaticaly?
thanks
_________________
GeorgeS
View profile  Send private message
AlexR
Posted: 10/25/2006, 2:46 AM

You can easily do this with another CCS3.1 feature: attributes.
Your image will look smth like:
<img src="{Image1:folder}/{Image1}">
and in BeforeShow event you can modify attribute value.
GeorgeS

Posts: 206
Posted: 10/25/2006, 8:58 AM

Thank you, AlexR!

However, I'm asking about changing the name of the image folder that is entered in when user is going through the Gallery Builder's Wizard.

What you've suggested:
<img src="{Image1:folder}/{Image1}">

but it just adds a parent directory above the existing 'old' folder:

<img src="NewParentDirectory/OldDirectory/image.jpg">

I'd like to know if I can change the name of OldDirectory folder?

_________________
GeorgeS
View profile  Send private message
GeorgeS

Posts: 206
Posted: 10/25/2006, 9:52 AM

Disregard my previous post - I got it.
_________________
GeorgeS
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.