View Full Version : Reusing objects - saving in library
shrekster
10-30-2008, 02:27 PM
I searched help and this forum but could not find this topic.
Is there any way I can save objects into a library to re-use across multiple pages or sites?
Why recreate things everytime. Is there not a way to save a particular object for re-use?
Dave Koehler
10-30-2008, 03:23 PM
If you are talking about photos, logos, etc that you create elsewhere the answer is yes. Just create a new folder or folders within the WE file browser and save them there. They will then show up for you to choose anytime.
shrekster
10-30-2008, 03:40 PM
If you are talking about photos, logos, etc that you create elsewhere the answer is yes. Just create a new folder or folders within the WE file browser and save them there. They will then show up for you to choose anytime.
Actually not images etc, I figured out that was possible. What I'm referring to is objects/components with behaviours specified with javascript or html etc., such as you would end up with using the Custom Script Assistant.
I know I can copy (and have done so) the same object once defined onto different web pages in the same project (or probably even across projects), but it would be nice to be able to add to the application's component library as user objects.
I suppose the quick and dirty alternative is to build a "User Library" website with all the things you create and want to be able to reuse, then copy and paste as required. I was hoping the WebEasy application would be able to support an extensible object library for me, so I could select my objects from menus within the program e.g. Insert -> Component -> User Object .... (Hint - nice feature request?)
I suppose this just some of my OO programming background coming back to tease me.
davidrosso
10-30-2008, 04:43 PM
Actually not images etc, I figured out that was possible. What I'm referring to is objects/components with behaviours specified with javascript or html etc., such as you would end up with using the Custom Script Assistant.
I know I can copy (and have done so) the same object once defined onto different web pages in the same project (or probably even across projects), but it would be nice to be able to add to the application's component library as user objects.
I suppose the quick and dirty alternative is to build a "User Library" website with all the things you create and want to be able to reuse, then copy and paste as required. I was hoping the WebEasy application would be able to support an extensible object library for me, so I could select my objects from menus within the program e.g. Insert -> Component -> User Object .... (Hint - nice feature request?)
I suppose this just some of my OO programming background coming back to tease me.
You can already do this, the last step I see everytime I insert a custom scripted object asks me if I want to save it to use again later. Thats where you save it, it saves it in "My Objects".
shrekster
10-30-2008, 05:22 PM
You can already do this, the last step I see everytime I insert a custom scripted object asks me if I want to save it to use again later. Thats where you save it, it saves it in "My Objects".
I'm sorry I don't see it. Perhaps I'm not following the same paths as you are, but when I use the Custom Script Assistant on a new object, I am not offered the option to save it. What am I missing?
davidrosso
10-31-2008, 03:10 AM
I'm sorry I don't see it. Perhaps I'm not following the same paths as you are, but when I use the Custom Script Assistant on a new object, I am not offered the option to save it. What am I missing?
When I create a new custom html object I use this procedure to put the object on the page...
http://forums.avanquestusa.com/aq/showthread.php?t=6529&highlight=insert+html
When I use that procedure to create a "dynamic link" it allows me to save it in My Objects.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.