rows as well as columns?

how can i add another row, as i see it, you can only have columns, what if i wanted 3 blocks at the top and one long one across the bottom?

Quote · 9 Oct 2010

can anyone shed any light on this? i need my profile to be split into rows as well as the column layout

Quote · 15 Oct 2010

This is not possible through the administration panel and requires editing template files to achieve a dirty hack. For more information, see this topic: http://www.boonex.com/unity/forums/topic/Page-columns.htm.

 

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

thanks for this, looks confusing, and i have todo 7 times as i have 7 templates?

think i'll brake the site if i try that link lol

Quote · 15 Oct 2010

also, that link isn't for 7.0    ) - :

 

Quote · 15 Oct 2010

 

also, that link isn't for 7.0    ) - :

 

Scroll down and Deano comes in with the new file you'd need to edit, instead. I've never tried this (nor do I plan to), so I can't confirm if this still works.

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

ah, i see it, but again, will that display female members?

 

also, this is what my page_1 says in my template as i'm using a custom one

 

<bx_include_tmpl:_sub_header_home.html />   



__page_main_code__

<bx_include_tmpl:_sub_footer.html />

Quote · 15 Oct 2010

 

ah, i see it, but again, will that display female members?

 

also, this is what my page_1 says in my template as i'm using a custom one

 

<bx_include_tmpl:_sub_header_home.html />   



__page_main_code__

<bx_include_tmpl:_sub_footer.html />

Example includes things for female members, so you may be surprised with the outcome. I haven't got a clue on how to work with that code, though.

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

You can easly put in a row that contains static content by editing the template. But that row will not be available in the page builders. The page builders were designed to work with columns, so any new rows you want will have to be added directly to the template.

So try this.

Edit templates\base\page_1.html

Change this.

<bx_include_auto:_sub_header.html />
__promo_code__
__page_main_code__
<bx_include_auto:_sub_footer.html />

To This

<bx_include_auto:_sub_header.html />
__promo_code__
__page_main_code__
<div class="clear_both"></div>
<div class="disignBoxFirst">
<div class="boxFirstHeader"><div class="dbTitle">Put Block Title Here</div></div>
<div class="boxContent">Put Box Content Here</div>
</div>
<bx_include_auto:_sub_footer.html />


Then you must empty the cache for it to take affect. You will then see the new row. It's really quite simple.

The only time you will need to do this per individue template is if the template includes it's own page1_html. If the template does not have one of it's own, it uses the default from base. Most templates do not have one, so this should work accross most all of your templates.





https://www.deanbassett.com
Quote · 15 Oct 2010

can i add php code here and it will work?

Quote · 15 Oct 2010

No. No php in a template. In cases such as that you would need to use a template key Like __my_key__ like the __page_main_code__ is a key.

Then the template parser, inc\classes\BxDolTemplate.php would need to be modified to process your new key. Adding php is a far more complex process.


https://www.deanbassett.com
Quote · 15 Oct 2010

oh, so i wont be able to do it then...aint that skilled  ) - :

Quote · 15 Oct 2010

will javascript work?? let's say a google ad?

Quote · 16 Jan 2011

 

You can easly put in a row that contains static content by editing the template. But that row will not be available in the page builders. The page builders were designed to work with columns, so any new rows you want will have to be added directly to the template.

So try this.

Edit templates\base\page_1.html

Change this.

<bx_include_auto:_sub_header.html />
__promo_code__
__page_main_code__
<bx_include_auto:_sub_footer.html />

To This

<bx_include_auto:_sub_header.html />
__promo_code__
__page_main_code__
<div class="clear_both"></div>
<div class="disignBoxFirst">
<div class="boxFirstHeader"><div class="dbTitle">Put Block Title Here</div></div>
<div class="boxContent">Put Box Content Here</div>
</div>
<bx_include_auto:_sub_footer.html />


Then you must empty the cache for it to take affect. You will then see the new row. It's really quite simple.

The only time you will need to do this per individue template is if the template includes it's own page1_html. If the template does not have one of it's own, it uses the default from base. Most templates do not have one, so this should work accross most all of your templates.





Hi Deano,

I see how you mean to do this for the homepage "page1".

Can you let me know which file is responsible for putting rows in the profile pages.

Regards, Htech

Quote · 19 Jan 2011
Can anyone explain how to code in the right div code for a 3 column row that will display right above __page_main_code__. I can make 1 single whole width div, but would like to make 3 static blocks before the dolphin blocks. Any help is appreciated. Coolmoe
Quote · 4 Apr 2011

I  was also looking for something like this, boonex should incorporate this into dolphin

Quote · 4 Apr 2011
 
 
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.