rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - draguls

Pages: 1
1
HTML & templates / Formatting of text in my template (cutting chars)
« on: October 20, 2010, 10:39:44 AM »
Hi guys
I hope you can help me.

Lets say I have a picture with a date stamp in the filename:
"15.10.10.Image1.jpg"

Is it possible to only show the name? By cutting away the first 9 characters, something like:
%item-name%.substring(0, 9)

And it would print out:
"Image1.jpg"


Also if it's possible the other way around to print out:
"15.10.10"

Here it would of cause cut away all characters after the first 8.

Hope you understand what i mean :)

2
RAWR-Designs / Re: Adding .flv to the preview button on folders
« on: May 07, 2010, 06:45:21 AM »
Works great, but how do you make it popup in a new window like in the normal template?

3
RAWR-Designs / Adding .flv to the preview button on folders
« on: May 06, 2010, 07:15:21 PM »
I'm using the thunderchicken skin.
I was wandering if I could make the preview button on a folder containing a movie play the trailer I have downloaded from youtube?
My movies are in dir's like this: http://mysite.com/movies/%item-name%/moviefile.avi
I was thinking of making the previewbutton look for a .flv hosted somewhere else on my site (something like http://mysite.com/trailers/%item-name%.flv).
Would be cool if it then spawned the rawr player in the preview box and then played the trailer.

The whole point here is I don't want to put a .flv besides my .avi's, and also you don't have to go into the folder of the movie to watch the trailer.

Any ideas on how to do this?

Pages: 1