Hi,
Once again I have problem with finding the right database to edit. A list of what is where in databases would be very handy...
I would like to edit this module content (Main Video Info):

I am ok with changing its appearance in CSS, but I would also like to remove the 'Title' field and limit number of signs available for input in 'Description' field.
If you could direct me to the correct databases and variables I would appreciate.
Thanks.
|
OK. So the table with video descriptions is RayVideoFiles. Any idea where I go from here.
It would be 1 minute work in HTML but this MySQL/PHP stuff is like Chinese to me.
This database has so many obvious flaws that I am under impression it is to make people get paid help. So who can do it for money then?
I would also like to correct the above table so it doesn't accept same videos from YouTube. It's just a matter of setting one parameter not to accept same values. It can't be difficult.
Anyone? Please.
|
Yes, if this was a static html page this would be easy. But dolphin is a complex dynamic database driven site builder. So without good knowalage of PHP, MySQL, Javascrpt and AJAX you will find any modification to the code difficult. It takes time to learn.
So lets clear one thing up first to avoid a possible problem you might cause. NEVER remove any fields from the database. Doing so will cause database query errors in the script.
I don't know the exact location of this. Try modules\boonex\videos\templates\base\
One of those templates might be the one for that. If so it would be a simple matter of removing that table row.
https://www.deanbassett.com |
Thanks Deano. I did figure out that if I delete a field from the database it may cause something that depended on it to malfunction.
I did check that location twice already and that's the only block which is not there for some reason :/
That worries me even more, because when I tried to replicate it on another page with HTML block, it did not work. I've entered the right language key but only header displays. I could copy paste the HTML code but have no clue where to find it.
Who do I contact to get paid help? Those things can't cost much, I hope.
|
inc/classes/ BxDolFilesTemplate.php
"selected text needs to go/deleted make sure your changed code looks like the green box" :)
 |
inc/classes/ BxDolFilesTemplate.php
"selected text needs to go/deleted make sure your changed code looks like the green box" :)
I was about to post on this, and saw yours.
I believe this block is a shared block. Used by all modules that have a file info section. So have you checked to see if this also affects music, files, ect??
https://www.deanbassett.com |
no i didn't i don't use SOUND on my site but i would say you're 99% right about it modules like audio/video/files maybe photos?.. |
Thanks a lot prolaznik.
I can see you also didn't like the fact that the title is mentioned 3 times on one page.
If you look at this Main Video Info table you can see how much space is wasted there. With use of CSS I have managed to make that box smaller and to use space more efficiently.

No URL because it's not ready yet ;)
It would be great to limit the Description length because at the moment someone can make a prank and post a 1000 words description that would take the whole page to display...
Also it would be great to place URL and Embed fields in one row. Album and Category could also be in one row.
|
Yep, they do use forms more then one time per module. You need to make another copy of the form file you want to edit make your changes to the copy and then call the moded form from your script. Just had to do this on a form last week some time..... https://dolphin-techs.com - Skype: Dolphin Techs |