Audiosoft Forums Last active: Never
Not logged in [Login - Register]
Go To Bottom

Printable Version | Subscribe | Add to Favourites   Post new thread Poll:
Author: Subject: 2Web template items
Khirsah
Junior Member
**




Posts: 29
Registered: 6-10-2003
Location: Ft. Lauderdale, FL
Member Is Offline

eureka.gif posted on 3-26-2006 at 02:19 AM Edit Post Reply With Quote
2Web template items

Right so I'm running a site with Joomla and managed to get 2Web to fit in very nicley and I'm quite happy with 2Web!

In the templates, are there more options than whats listed in the example that it comes with, date/artist/title/album? (rating??) I might be crazy, but I kinda wanna put the stars up next to my photo on some pages..

-Khirsah
View User's Profile Visit User's Homepage View All Posts By User U2U Member
Audiosoft
Super Administrator
*********




Posts: 3397
Registered: 3-11-2003
Member Is Offline

posted on 3-26-2006 at 03:55 AM Edit Post Reply With Quote
If you want I will update 2Web FTP so the template can see the $rating value but you would still have to write some javascript to convert the rating value into star images yourself.

The star rating is a value 0-100. So the javascript would first need to take the rating and divide it by 10. Which would give a value representing how many 1/2 star images that need to be added. You would then have to run a loop and insert <img src=firstpartofstar.gif> then <img src=lastpartofstar.gif> and repeat until the 0-10 value is reached. Not easy to do and the star images need to be put on your webserver manually....which is why I did not include the $rating already. Let me know if you still want me to add $rating to the template.




:cool: Audiosoft
View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
Khirsah
Junior Member
**




Posts: 29
Registered: 6-10-2003
Location: Ft. Lauderdale, FL
Member Is Offline

posted on 4-22-2006 at 11:21 PM Edit Post Reply With Quote
Wow a month later I get back to you.. so sorry! I tend to go on eJukeBox kicks for a few days then sit back and let it work.

As to the stars, yeah that does sound like more work than I am looking to do. Making the module for joomla is enough for me :cool:

I suppose what you could do.. to make it easier on me (grin) is do somthing similar to the cover art. Say ejukebox uploads an image of 3 stars.. or better yet.. so I can pick my own star layout, have it just generate the number from within ejukebox so when i enter $rating it returns 3star.jpg (or whatever) and I can have pictures on my site for 0star.jpg, 05star.jpg, 1star.jpg and so on..

Ya know.. now that I think about it, it doesnt really matter that much to me if they show up. I guess it depends on how much work it is to do, and if anyone else want this :cool:

Thanks for the reply just the same!

-Khirsah
View User's Profile Visit User's Homepage View All Posts By User U2U Member
Post new thread Poll:

Go To Top

Audiosoft Home | Download EJukebox for Windows | Register EJukebox
©2019 Audiosoft Network. All rights reserved.
[queries: 16]
HTML5 Color Picker for CSS Opacity
Short Url Service with Stats