Desktop.air

I rebranded my desktop air app and now have 2 installer files, 1 for pc and 1 for mac, how do i make them available for my members to download?

Quote · 12 Feb 2013

first - upload the adobe air files to your    modules/boonex/desktop/file   folder, then go in your database and go to the sys_box_download table and edit the desktop line. If you need to change the layout that would be the templates/base/download_box_unit.html

Or you can create an HTML block and link to wherever you want to upload them to on your domain.

caredesign.net
Quote · 12 Feb 2013

Thanks for the reply.. I already uploaded to modules/boonex/desktop/file folder but dont see any options to change the download link in the db sys_box_download table or download_box_unit.html.

each time i try to download i just get the desktop.air file?

appologies in advance if i seem a little dumb but im new to dolphin so need a little more help than some

desktop.air file isnt a known extension as adobe air isnt installed on my pc and i cant see as its needed as desktop.exe installs air and my app fine, I havent been able to test desktop.dmg as i don't own a mac.

Quote · 12 Feb 2013

In Theory - you may not have to touch the database. I just did another look. If you upload your branded app labeled as desktop.air - this should act just as it does with the original - for a pc version.

And you MUST have adobe air to run the desktop app

you may have to add another line to the database table for the mac version

caredesign.net
Quote · 12 Feb 2013

OK, I got my mind situated. I was misreading what you were saying - sorry about that.

If i understand correctly - your branded desktop app is a exe for pc and a dmg for mac.

In this case - you could either create your own custom html block and make your own links to your files on your server, or add 2 lines to the sys_box_download table and put the url to where you uploaded your files in the Url field.

caredesign.net
Quote · 12 Feb 2013

Quick Update - you can run these sql statements to get your 2 sections needed for both of your apps:

UPDATE `database`.`sys_box_download` SET `title` = '_bx_desktop_title',
`url` = 'location of your exe file' WHERE `sys_box_download`.`id` =3;


INSERT INTO `database`.`sys_box_download` (

`id` ,
`title` ,
`url` ,
`onclick` ,
`desc` ,
`icon` ,
`order` ,
`disabled`

)
VALUES (

NULL , 'Desktop App For Mac', 'location of dmg file for mac', '', '_bx_desktop_desc', 'modules/boonex/desktop/|desktop.png', '1', '0');
 
 

 

caredesign.net
Quote · 12 Feb 2013

or add 2 lines to the sys_box_download table and put the url to where you uploaded your files in the Url field.

the latter sounds the better option..

Quote · 12 Feb 2013

dont forget to clear your cache!

example here at mytherapysession.com on bottom left

caredesign.net
Quote · 12 Feb 2013

Now you got me interested. by default, the standard desktop app will work on both pc and macs. So, what is the advantage of having a branded version? To be able to change things like color and such?

caredesign.net
Quote · 12 Feb 2013

I have a download box manager in the market to make that easier then manual changes in the database. But i need to get it updated for dolphin 7.1 first. Guess i will do that now.

https://www.deanbassett.com
Quote · 12 Feb 2013

deano swoops in to save the day - phew

caredesign.net
Quote · 12 Feb 2013

do the two files need to be in seperate folders?

Quote · 12 Feb 2013

no

caredesign.net
Quote · 12 Feb 2013

I have a download box manager in the market to make that easier then manual changes in the database. But i need to get it updated for dolphin 7.1 first. Guess i will do that now

great idea deano i hate editing my db

 

Quote · 12 Feb 2013

custom html block

<div class="dbContent bx-def-bc-margin"><div class="sys_download_unit bx-def-margin-sec-top" style="background-image:url(http://www.your-domain.com/modules/boonex/desktop/templates/base/images/icons/desktop.png);">
   <div><a href="download/desktop.exe">Desktop App For PC</a></div>
    <p>Download our desktop application and communicate with other members without even opening your web-browser.</p>
</div>
<div class="sys_download_unit bx-def-margin-sec-top" style="background-image:url(http://www.your-domain.com/modules/boonex/desktop/templates/base/images/icons/desktop.png);">
   <div><a href="download/desktop.dmg">Desktop App For Mac</a></div>
    <p>Download our desktop application and communicate with other members without even opening your web-browser.</p>
</div>
<div class="sys_download_unit bx-def-margin-sec-top" style="background-image:url(http://www.your-domain.com/templates/base/images/icons/apple.png);">
   <div><a href="http://itunes.apple.com/us/app/oo/id345450186">iOS App</a></div>
    <p>Have an iPhone, iPod or iPad?
Access our site on your iOS device!</p>
</div>
<div class="sys_download_unit bx-def-margin-sec-top" style="background-image:url(http://www.your-domain.com/templates/base/images/icons/android.png);">
   <div><a href="https://play.google.com/store/apps/details?id=com.boonex.oo">Android App</a></div>
    <p>Have an Android device?
Access our site on your handset!</p>
</div>
</div>

caredesign.net
Quote · 12 Feb 2013

I edited the DB and have 2 links now on the site but get "page not found" when i attempt to download, I dont see where to point to the specific file in sys_box_download

Quote · 12 Feb 2013

in the url field what do you have for each of those?

I know this may sound dumb, but also make sure you actually uploaded the files

caredesign.net
Quote · 12 Feb 2013

Incase your interested. My download box manager has been updated for dolphin 7.1. http://www.boonex.com/m/Download_Box_Manager

But looks like you got it by hand already.

https://www.deanbassett.com
Quote · 12 Feb 2013

deano - I am still waiting for the adoption agency to call me

caredesign.net
Quote · 12 Feb 2013

modules/boonex/desktop/file

in both, also tried

modules/boonex/desktop/file/desktop.dmg

modules/boonex/desktop/file/desktop.exe

yes i uploaded them, I deleted desktop.air file after making a copy

 

Quote · 12 Feb 2013

can i get url for your homepage to check it out

caredesign.net
Quote · 12 Feb 2013

sure.. swingsin.com

Quote · 12 Feb 2013

look real closely - there is a | in front of the desktop.dmg

also the first one is going to file/ but no file listed after that

caredesign.net
Quote · 12 Feb 2013

again - make sure to clear cache after changing this

caredesign.net
Quote · 12 Feb 2013

Both your urls are wrong.

The first one is http://swingsin.com/modules/boonex/desktop/file but you did not specify a file name.

The second one is. http://swingsin.com/modules/boonex/desktop/file/|desktop.dmg the pipe character should not be there. Your confusing the url with the way the icon paths are formed.

URL's are to be specified exactly the same way you would in your web browser.

https://www.deanbassett.com
Quote · 12 Feb 2013

i discovered the pipe character and rectified that, its working in chrome but not in explorer?

Quote · 12 Feb 2013

and this is where i bow out and bid you all a good day. I stopped using IE a long time ago. Heck, I dont even use a pc with windows on it unless absolutely needed, and even then it is in a virtual machine.

caredesign.net
Quote · 12 Feb 2013

They are both now working for me in both Firefox and Internet Explorer.

https://www.deanbassett.com
Quote · 12 Feb 2013

suddenly its working after clearing the cache a few times...!!

thanks very much for helping.. i really appreciate it

Quote · 12 Feb 2013

working in opera and safari as well on my end

caredesign.net
Quote · 12 Feb 2013

sorry deanos took too long to update his app - lol - just kidding.

About 60% of what I have learned over the past 3 years has been here in these forums. I may not know a lot, but I will do what I can to help others out, as others - such as deanos - have helped me out in the past.

caredesign.net
Quote · 12 Feb 2013

Now this has me wondering all kinds of things about the branded and non branded mobile apps. So, when will there be a linux version.

caredesign.net
Quote · 12 Feb 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.