Dolphin 7.0.05: Anyone know where the HTML for sys_download_unit is?

I want to change the code, and rats if I can find it.

The code Unity gave me won't allow me to position the App images how I want. They  linked to these images with a  <style="background-image:url('')> code and not an <src img=''/> code. Nor is their picture a link. In Notepad, I copied my ViewSource and edited it, so I know it works. I changed these (in yellow):

 

<div class="page_block_container" id="page_block_19"><div class="disignBoxFirst">

 

<div class="boxFirstHeader"><div class="dbTitle">Download</div></div>

<div class="boxContent"><div class="sys_download_unit" style="background-image:url(http://fightslive247.com/modules/boonex/desktop/templates/base/images/icons/desktop.png);">
<div><a href="http://fightslive247.com/modules/boonex/desktop/file/desktop.air" href="">Desktop App</a></div>
<p>Download our desktop application<br />and enjoy communication with site<br />members without even opening<br />your web-browser.<br />This application requires the Adobe&#174;&nbsp;AIR&#8482;<br />runtime to be installed for<br /><a href="http://airdownload.adobe.com/air/mac/download/1.0/AdobeAIR.dmg">Mac OS</a> or <a href="http://airdownload.adobe.com/air/win/download/1.0/AdobeAIRInstaller.exe">Windows</a>.</p>
</div>
<div class="sys_download_unit" style="background-image:url(http://fightslive247.com/templates/base/images/icons/iphone.png);">
<div><a href="http://www.boonex.com/products/mobile/iphone/" href="">iPhone App</a></div>
<p>Browse profiles, watch photos and
videos, listen to shared music,
upload photos, send letters and
even more - all from your iPhone.</p>
</div>
</div>

 

to this:

<div class="sys_download_unit"><a href="http://fightslive247.com/modules/boonex/desktop/file/desktop.air"><img src="http://dl.dropbox.com/u/3123451/Tim%27s%20Site/desktop2.png" style="clear: right; float: right; margin-top: 6px"/></div>

 

and this:

<div class="sys_download_unit"> <a href="http://www.boonex.com/products/mobile/iphone/"><img src="http://dl.dropbox.com/u/3123451/Tim%27s%20Site/iphone2.png" style="float:left; clear:left; margin-top: 3px; margin-left: -2px"/></a><div>

 

Does anybody know where I can find this HTML?

 

 

 

 


Quote · 15 Feb 2011

You can edit the download box's content through either the database or this. If you want to just change the description text, you can do this through Administration > Settings > Languages Settings and search for the related text.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Feb 2011

Man! Thanks so much for the prompt reply. I'm gonna get me a hard hat, too.

Quote · 15 Feb 2011

 

You can edit the download box's content through either the database

I tried looking for the data base in my cpanel but can not find it. Do you know where can I find this database? Thanks Again

Quote · 15 Feb 2011

 

 

You can edit the download box's content through either the database

I tried looking for the data base in my cpanel but can not find it. Do you know where can I find this database? Thanks Again

You should be able to access your database through the phpMyAdmin link in cPanel. The download box content is located under the sys_box_download table in your database.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Feb 2011

Before you go database diving as Magnussoft suggested, you might want to have a look at /templates/base/download_box_unit.html

And this in index.css

.sys_download_unit {
background-position:0 0;
background-repeat:no-repeat;
margin:0px 10px 10px 5px;
min-height:56px;
padding-left:63px;  
}

.boxContent>.sys_download_unit:first-child {
margin-top:10px;
}

.sys_download_unit>div>a {
font-size:12px;
font-weight:bold;
}

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 15 Feb 2011

Sorry, I skimmed the post and didn't notice this was about styling and not content editing. I'll say twenty Hail Mary's or something.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Feb 2011

templates/base/download_box_unit.html

only gave me this:

__title__

__desc__

not the HTML I'm looking for.

_________________________________

I need to change their code. With my code <src img=''/> my picture will look like this:

downloadbox-html15.png

Instead of their code, <style="background-image:url('')> which looks like this:

downloadbox-html15-2.png

 

You see, I want my text to wrap around the picture elegantly, and it won't with their code, no matter how I style it because of the way they wrote it, linking to the image and using it as a background. No, I want to use it as an image, not a background, so that the text will wrap around it.

When I view my page's source, I can see all the HTML and edit it in a text editor (Notepad). But the location you gave above doesn't show any HTML.

 

 


Quote · 16 Feb 2011

OK.  Don't believe me then.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2011

Houston, thanks so much for directing me there. It's just what I wanted.  I was looking at the design, and not the source. My stupid.

Quote · 16 Feb 2011

It's working in the preview. But it won't show up on the page. Is something overriding my code? That TinyMCE that people here sometimes complaiin about?

Quote · 16 Feb 2011

Clear the cache directories on your server.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2011

Houston, thanks again. It worked. Now I'm just searching the css trying to find why my content repeats. The code I replaced in the  Download_Box_Unit to offer the my readers two apps now doubles.

I thought the problem may lie in the index css here:

___________________________________________________

.boxContent>.sys_download_unit:first-child {

margin-top:12px;

}

____________________________________________________

 

I tried taking away the "first-child" so there would be only one child--my code.  But that didn't solve the problem.

I'm hacking away, and I'm sure I'll find it. And when I do, I'll let ya'll know, in case anyone else encounters this type of problem.

 

Quote · 16 Feb 2011

I checked in the design_box_1.html and found a bottom item. Maybe it's telling my content to double?

_______________________________________________________________________________

 

<div class="disignBoxFirst">

<div class="boxFirstHeader"><div class="dbTitle">__title__</div>__caption_item__</div>

<div class="boxContent">__designbox_content__</div>

__bottom_item__

</div>

___________________________________________________________________________________

 

I added repeat: no-repeat to the sys_download_unit css, but that didn't stop the repeat because it's not a background image, but the content that's repeating.

Quote · 16 Feb 2011

It's not the bottom item....

Quote · 17 Feb 2011

I'm taking this new issue--this doubling of the download box content--into the forum as a new thread since the original was solved.

Quote · 17 Feb 2011

To change this box content   edit  language files in site Admin

_sbd_Android_title

_sbd_Android_desc

_sbd_iPhone_title

_sbd_iPhone_desc

Edit database table-  sys_box_download  to edit image and/or url link

Image must be in your template files  -templates/base/images/icons

 

 

 

 

Quote · 30 Oct 2012
 
 
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.