Viewing Tumult\'s Hype in EasyWeb?

Tumult\'s Hype in EasyWeb?



User: pumpkin 10 years ago
Anyone using Hype? I'd love to be able to use the banner I've created with Hype in EasyWeb.

I don't know much about java script to be able at all to get it to work, but I think the problem is, that Hype generates one resource folder which contains the images of the slide show as well as the java script files needed.

But in EasyWeb there seem to be two different locations. One for images: {!-ASSETSPATH-!}Images/ and one for files: {!-ASSETSPATH-!}External%20Files/

If I were able to upload the complete resources folder from Hype to the server and point the html snippet to it, it wouldn't be a problem I think, but that's something the EasyWeb hosting plan does not allow.

So if anyone uses Hype and has an idea, I'm listening :)

-------------------------------
Darian
new to web design
______________________
My websites: Vocal Affairs // Singkehlchen
User: Roddy 10 years ago
I'm sure Paul is sick of hearing me rave on about the need to be able to either add directories to EW Assets or have the ability to upload them to the EW server. This is the one sticking point that prevents us from inserting a lot of different types of projects into an EasyWeb site.

I almost always put all the relevant assets for a project into a folder. Quite often, these files are interdependent so that, it you move one, the code breaks.

In your case you would need to find all the file paths in the code produced by Hype and change them. This is not easy, or convenient, even if you know what you are doing!

In a lot of cases, creating complex projects could be radically simplified for those who don't know what code to put were by using an iframe in EasyWeb. This would be easily achieved if the project directory could be loaded using one of the above methods.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: pumpkin 10 years ago
The option to have folders on the server to place files like these two java script files and the images in, sure would help a lot. In that case I'd only need to change the path in the html file / html snippet. Easy as pie.

Sadly I can't change the paths by just changing them in the html/java script file because the whole script requires one single path for the java script files and the images. I'd really love to see Rage offering us the ability to access the server via ftp to upload such things. I'd even pay a few bucks more each year for this.

-------------------------------
Darian
new to web design
______________________
My websites: Vocal Affairs // Singkehlchen
User: Roddy 10 years ago
What you are suggesting is not the best way since you will be using absolute paths.

EasyWeb is doing the right thing by allowing us to add the assets to the project and use relative paths. It just needs the ability to add directories to Assets.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 10 years ago
I'd have to look into how Hype builds its scripts/sites to provide the right solution to you. To be perfectly honest I just don't have the time right now. EasyWeb's features will expand as it is developed but of course we can't meet every single need in the first version.

Sorry about that, I will look into this further when I have some time.

-------------------------------
Paul
EverWeb Developer
User: Roddy 10 years ago
Most projects for media players will cause the same problem because they have references to images in the style sheet such as loader, control buttons and so on.

To get these to work would require changing every path to that of the image in the ew images folder. It can be done but is a pain and not something to be tackled by the inexperienced.

The whole problem would be solved by enabling the ability to add folders of assets.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 10 years ago
Quote:
The whole problem would be solved by enabling the ability to add folders of assets.


It wouldn't really be solved by this because you would still have to edit all the file paths in the scripts even if EasyWeb allows folders.

-------------------------------
Paul
EverWeb Developer
User: pumpkin 10 years ago
[quote="admin":1cyvkd4y]I'd have to look into how Hype builds its scripts/sites to provide the right solution to you. To be perfectly honest I just don't have the time right now. EasyWeb's features will expand as it is developed but of course we can't meet every single need in the first version.

Sorry about that, I will look into this further when I have some time.
Thanks Paul. First things come first. If there's time to look into this for a later update, once EasyWeb is released, you'll have all my thanks. So far I'll have to restrain from using Hype then.

Update: since I still have a domain hosted here in Germany with HostEurope, I have ftp access to that domain for nearly another year. So I uploaded the resource folder that hype created and changed the path in the html snippet to the folder on my domain. That works... at least until the webspace runs out next year:

www.singkehlchen.de

-------------------------------
Darian
new to web design
______________________
My websites: Vocal Affairs // Singkehlchen
User: Roddy 10 years ago
Quote:
It wouldn't really be solved by this because you would still have to edit all the file paths in the scripts even if EasyWeb allows folders.


All the file paths are from one file to another within the directory and therefore wouldn't need changing. That's the whole point of keeping them all in the same folder.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 10 years ago
But if we implemented the ability to drag a folder on the assets list the folder would still be in

ewExternalFiles/Foldername/File1
ewExternalFiles/Foldername/File2

etc...

Now they are;

ewExternalFiles/File1
ewExternalFiles/File2


I may be misunderstanding how things are set up though...

-------------------------------
Paul
EverWeb Developer
User: Roddy 10 years ago
Let's take the example of an audio player where I have the CSS file and the button image in the same folder. The path to the image in the CSS file is "button.png" because they are in the same folder.

If I add these to EW Assets, the button image goes into the "page-name" folder inside the Images folder and its path is..

Images/page-name/button.png

The CSS file is in...

ewExternalFiles/mediaelementplayer.css

So I have to open the CSS file and change the image file path from...

button.png

... to

../Images/page-name/button.png

I could give more complicated examples of where I have a folder of assets for a slideshow. I have a sub folder for custom themes, each in its own folder, with a js file that references the css file and the css file references images such as loader and control map.

Adding these files to Assets individually and then sorting out all the paths would be very time consuming for me and probably impossible for most users.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: pumpkin 10 years ago
Well, Hype creates a folder with the html file and another folder, containing java script files and images:



Inside the resources folder there's the images AND java script files combined:




In EasyWeb the images will show up under images in the assets list, and the java script files under external files. So they are not at the same location. Even if I change the src tag in the html, I can only assign ONE location for the resources. When images and scripts are stored at different locations, it won't work.

So far I managed to upload the resources folder to my german webspace that runs out next april and I changed the src tag in the html snippet to point to the location on my webspace here. That works. If I'd have images and scripts at two different locations, it won't work.

-------------------------------
Darian
new to web design
______________________
My websites: Vocal Affairs // Singkehlchen

hype1.png

hype2.png
User: Roddy 10 years ago
You would probably need to change a bunch of urls in the banner_hype_generated_script.js

What do you mean by "I can only assign ONE location for the resources"?

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 10 years ago
That's where they are...

var resources = {"3":{n:"[color=#FF0000:365ry3fx]banner4.jpg[/color:365ry3fx]",p:1},"1":{n:"[color=#FF0000:365ry3fx]banner1.jpg[/color:365ry3fx]",p:1},"2":{n:"[color=#FF0000:365ry3fx]banner3.jpg[/color:365ry3fx]",p:1},"0":{n:"[color=#FF0000:365ry3fx]banner2.jpg[/color:365ry3fx]",p:1}};

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 10 years ago
If you do decide to try this, remember that the image file paths are relative to the position of the java script file in Assets and not to the html file.

The path would be something like...

../Images/page-name/banner1.jpg

If that is all that is required it should be fairly easy to implement it in EasyWeb - a lot simpler than some of the projects I am trying to do which have multiple asset paths in different scripts!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.