Forums / All Other Contributions/Addons / Editable Home Page Centerboxes [Support]

Editable Home Page Centerboxes [Support]

Views: 50,593

Results 221 to 240 of 347
18 Oct 2012, 5:54 AM
#221
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Editable Home Page Centerboxes [Support]

Did you read the readme file in the mod package? It should have good instructions for using the middleboxes.
You should also be able to use v1.1, as there were no relevant changes between v1.3.8a and v1.3.9.
But first, you should know how strongly it is advised to upgrade from v1.3.8a to a more secure version. What is keeping you from doing it? Recovering from a hack is likely to be more involved than upgrading now.

18 Oct 2012, 6:08 AM
#222
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

gjh42:

Did you read the readme file in the mod package? It should have good instructions for using the middleboxes.
You should also be able to use v1.1, as there were no relevant changes between v1.3.8a and v1.3.9.
But first, you should know how strongly it is advised to upgrade from v1.3.8a to a more secure version. What is keeping you from doing it? Recovering from a hack is likely to be more involved than upgrading now.

Hi yes I read the instructions, for 1.0 but there is nothing there about how to use them, nothing like version 1.1 with all the sql etc.
are you sure I can use that on 1.3.8.a . I can't upgrade at the moment because I have a number of plugins that are not yet available for the latest version of zen, I have to wait a while longer. :-(

18 Oct 2012, 7:19 AM
#223
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Hi gjh42

it seems to work perfectly thanks for your advice. I have a couple of more question if I may,
I have worked out how to move the box around, re-size it etc. I have not seen yet how I can change the Box Text to my needs" ie Middle Box 1 also how I can remove the Frame? and is this he correct command to align in the middle for CSS

allign:center;
width:95%;
Many Thanks Regards Renz

18 Oct 2012, 10:31 AM
#224
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

CSS does not use align: but rather text-align:
However, this applies to the contents of the element, while I suspect you are trying to make the whole box center itself in the column. The best way to do this is to add properties to the box rule for
float: none;
and
margin: auto;

The box headings are defined in the language "extra_definitions" define file described in the readme.

If by "frame" you mean the box border, you can alter the border properties in the stylesheet, or set them to border: none;

18 Oct 2012, 1:01 PM
#225
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Editable Home Page Centerboxes [Support]

Renz:

Hi yes I read the instructions, for 1.0 but there is nothing there about how to use them, nothing like version 1.1 with all the sql etc.
are you sure I can use that on 1.3.8.a . I can't upgrade at the moment because I have a number of plugins that are not yet available for the latest version of zen, I have to wait a while longer. :-(Because in version 1 the middleboxes were only in 1 location on the main page and you needed to add content to the middles boxes for them to "appear". In all subsequent versions of this add-on the location of the middleboxes are admin configurable (as the description indicated), and even after activating them you still have to put content in them for them to "appear".

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Oct 2012, 8:45 PM
#227
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Editable Home Page Centerboxes [Support]

gjh42:

Editable Centerboxes v3.0 is now available in Plugins.This is the best version yet Glenn.. This thing is smoking hot and flexible as heck!!! I soooo totally appreciate you making this happen!!!

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

23 Oct 2012, 7:21 AM
#228
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

gjh42:

Editable Centerboxes v3.0 is now available in Plugins.

I have uploaded this plugin but all i am getting is its removing my Banner Slideshow ... and error in SQL PATCH file !

23 Oct 2012, 3:11 PM
#229
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

Exactly how did you run the SQL patch? Try redoing it with the "upgrade" SQL which will remove any corrupted previous SQL.

Is your banner slideshow a mod you installed? If so, it may be using the same file that Editable Centerboxes uses, and you will need to merge the customizations from both files into one copy, as the readme describes.

23 Oct 2012, 4:39 PM
#230
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Yes .. it might be using the same file with that mod ..

but donot know how to compile those customizations :(

23 Oct 2012, 4:43 PM
#231
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

okay ... winmerge .. is tht a solution ?

23 Oct 2012, 4:49 PM
#232
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

Yes, winmerge can do it. You first need to compare each mod file against the stock version so you know where each of them differs from stock (keep good notes). Then compare them with each other and merge the differences into one file. If both mods change the same line from stock, you may need expert help to combine them (if it is possible).

23 Oct 2012, 4:52 PM
#233
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Well its bouncing off my mind !

9 Nov 2012, 1:27 PM
#234
whot avatar

whot

New Zenner

Join Date:
Oct 2012
Posts:
13
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Would this be able to display the "dynamic filter" in a center box horizontally? I have tried to put the dynamic filter in middle box 1 and have set to display on 1 middle box. But nothing shows

9 Nov 2012, 4:01 PM
#235
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

I don't know anything about the Dynamic Filter code or operation, but if it uses standard sidebox type file structure, there is no reason it shouldn't work. If it requires some other file to work, perhaps a file that only runs in particular circumstances, that might be an issue.

31 Mar 2013, 5:35 PM
#236
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Editable Home Page Centerboxes [Support]

Okay Glenn.. I KNOW this is a CSS thang, but I've been looking at this for a minute and it's driving me crazy..:blink:

so in the stylesheet:

.middleboxContent {
    border: 1px solid #000;
    padding: 0.4em;
    background:#e0d0d0;
    min-height:300px;
    /* -- DO NOT REMOVE!!! -- Yep this is another stupid IE hack. The next two statements set min-height in IE's dumb-a$$ed browser -- If you modify this setting, "min-height" must match "height" --*/
    height:auto !important;
    height:300px;
    /*If you want all the middleboxes to line up at the bottom uncomment this class. (see the readme for a screenshot of one example on how this works) Also see http://www.cssplay.co.uk and their excellent tutorial on tableless layouts for a demo of how this works.*/

[B]    padding-bottom:32767px;
    margin-bottom:-32767px;[/B]

    }

That last bit in red doesn't seem to be working for me, and I'm STUMPED as to why.. What am I missing?????

http://clientlaserdiscvault(dot)overthehillweb(dot)com/

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

1 Apr 2013, 2:58 AM
#237
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

You may be able to achieve the effect with a more modern CSS property, display: table-cell;
This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser coughIE6/7cough didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.

1 Apr 2013, 3:07 AM
#238
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editable Home Page Centerboxes [Support]

Note that the elements this is applied to need to be directly sequential, not sub-elements of sequential elements. So it would have to be applied at the middlebox container level rather than .middleboxContent.

1 Apr 2013, 7:30 AM
#239
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Editable Home Page Centerboxes [Support]

gjh42:

I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

You may be able to achieve the effect with a more modern CSS property, display: table-cell;
This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser coughIE6/7cough didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.
and honestly it wasn't even MY trick.. :laugh: I never knew why it worked.. Only that it did.. until now.. sigh

Okay I'll root around a bit and see if I can make things work out..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

1 Apr 2013, 1:39 PM
#240
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Editable Home Page Centerboxes [Support]

gjh42:

I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

You may be able to achieve the effect with a more modern CSS property, display: table-cell;
This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser coughIE6/7cough didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.

gjh42:

Note that the elements this is applied to need to be directly sequential, not sub-elements of sequential elements. So it would have to be applied at the middlebox container level rather than .middleboxContent.

So I'm still playing.. As I was Googling for solutions, I kept running into more jQuery solutions versus CSS solutions.. Tried a NUMBER of them, and some work, others do not work QUITE as I would like/expect.. After some trial and error, I finally settled on one from this site: http://blog.huidesign.com/make-equal-height-columns-by-jquery/

<script  type="text/javascript">
 $(document).ready( function(){
    function equalHeight(obj){
        var heightArray = obj.children("div").map( function(){
                 return  $(this).height();
                 }).get();
        var maxHeight = Math.max.apply( Math, heightArray);
        obj.children("div").height(maxHeight);
            }
            
    $(".navColumnMiddleWrapper").each( function(){
                equalHeight( $(this));
                                           })
    
    $("a.showLink").click(function(){
            $(this).parents().children("span").toggle();
            $(this).parents(".navColumnMiddleWrapper").children().removeAttr("style");    
            equalHeight( $(this).parents("div"));            
            });
                         })
</script>

The beauty of this one is it's a solution that works specifically well when there is dynamic content.. and in the layout I'm tweaking I really don't want the height of the second row to be based on the longest item in the first row.. It seems to equalize each row separately (which is what I do want). The big advantage of this method is that it probably also works in that browser we all love to hate coughIE6/7cough..

Because I'd really like to get a pure CSS solution eventually, I am gonna mess around with display: table-cell and hammer out a solution.. I found a good guide to help with me understand how I need to set it up (http://www.456bereastreet.com/archive/200405/equal_height_boxes_with_css/). In the meantime I may stick with the javascript solution because it appears that a pure CSS solution will equalize ALL the rows, and that's not quite what I want...

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.