|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions How to make and save a variable |
How to make and save a variable |
Hey there.
I am developing a system for user song uploading. I already battled through a way to add the player on uploaded files, now there is a one more issue. How could i add soundcloud player for user tracks. So that the users could choose between Upload or soundcloud. I'v figured so far that i need to remake/add a space at entry adding for soundcloud link for the song. And then i need to access the saved information with the same method like &_DIRECT_FILE_URL$ or something Third step would be to add a soundcloud script with the link from the variable. But the problem is - how to save/make souch a variable for later use? So the main question - how to make souch a variable? Thanks!! |
Variable? As in var x = "something"; on the server side? Not possible.
Or variable as in $SOMETHING_CODE$ ? Are you gonna put some scripts so it's easier to call? eeer. function, then? Well, we have global blocks that you can use if you don't want to use functions. |
Grate. ok - I am starting to understand how this work. Is there a place where i can see default block scripts?
Imagine - you are uploading file - you got a spot where you need to enter soundlcloud adress. this is the variable. Then at the entry view - you edit the design to add a custom soundcloud player script where instead of a track link you add that variable i do apologize for my noobness lol Thanks for Helping me! |
N-Jay, what you are describing would be very difficult to implement onto a uCoz website. Perhaps look into JavaScript coding through the use of browser cookies, however, otherwise it's non-achievable from a base system perspective.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||
| |||