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

Editable Home Page Centerboxes [Support]

Views: 50,592

Results 41 to 60 of 347
12 Apr 2010, 1:52 PM
#41
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Editable Home Page Centerboxes [Support]

Perhaps ask one the admin and they will point you in the right direction.

Having the categories on for the main must somehow ignore your mod from loading.

That wasn't the plan!

12 Apr 2010, 2:29 PM
#42
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]

Muzz:

Perhaps ask one the admin and they will point you in the right direction.

Having the categories on for the main must somehow ignore your mod from loading.Sure I could ask.. for that matter you could ask as well..:smile: this is after all a COMMUNITY driven site..

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.

13 Apr 2010, 1:17 AM
#43
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Yes I could ask!

But I wouldn't know what they were talking about :)

You understand your MOD and they could prob say something simple and you would be ohhhh and fix it in 1 min.

I would nod and try and look like I understand :)

I just try and make things look petty.

That wasn't the plan!

13 Apr 2010, 2:10 AM
#44
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]

Please don't take this wrong.. But I'm a little swamped and at this moment I don't have time to dig into this issue fully. I may not be able to get into it until the weekend if I can free up some time from my current paid projects.. Even if an admin "helped" because I asked, I don't necessarily have time to incorporate the changes into the mod and upload a new version for you. and yes I do understand my mod, but I don't understand why it isn't working with the product categories displayed on the front page.. So I'm not sure of the solution or that I'll even understand the 'cause of the issue just yet..

So it's more likely that if an admin "helped" you will have to take some time to understand any suggested changes and merge them into the mod on your own.. (or with some help from the community) Hope you understand.. I will look into this, but I just can't do it until this weekend if I can clear some time in my schedule..

Muzz:

Perhaps ask one the admin and they will point you in the right direction.

Having the categories on for the main must somehow ignore your mod from loading.

Muzz:

Yes I could ask!

But I wouldn't know what they were talking about :)

You understand your MOD and they could prob say something simple and you would be ohhhh and fix it in 1 min.

I would nod and try and look like I understand :)

I just try and make things look petty.

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.

13 Apr 2010, 2:26 AM
#45
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

hi DivaVocals,

Firstly, Relax! :)

I'm fine with how it is working now.

The purpose for me adding comments to the thread is so other people who experience the same issue as me know that there is an issue.

Others may not install the mod if they require the categories to list just below the main page content page.. but at least they know and won't pull their hair like me wondering why it wasn't working.

IF a admin or someone with coding skills comes along and read this thread maybe they can make a suggestion.

Otherwise when you get the time have a look. That could be in 1-never weeks time.. you don't owe anyone anything.

The MOD is really handy and be proud of what you have achieved so far :)

Thanks and Best wishes!

That wasn't the plan!

13 Apr 2010, 5:05 AM
#46
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]

I'm relaxed.. nothing in post should have been interpreted as meaning otherwise.. I simply wanted to make sure it was clear that I want to help, but can't do so at this moment.. I confirmed the bug because I too wanted to make sure that the information was shared with others reading this thread..

Muzz:

hi DivaVocals,

Firstly, Relax! :)

I'm fine with how it is working now.

The purpose for me adding comments to the thread is so other people who experience the same issue as me know that there is an issue.

Others may not install the mod if they require the categories to list just below the main page content page.. but at least they know and won't pull their hair like me wondering why it wasn't working.

IF a admin or someone with coding skills comes along and read this thread maybe they can make a suggestion.

Otherwise when you get the time have a look. That could be in 1-never weeks time.. you don't owe anyone anything.

The MOD is really handy and be proud of what you have achieved so far :)

Thanks and Best wishes!

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.

16 Apr 2010, 2:27 AM
#47
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Anyone who wants to know where you edit the content if you prefer NOT to use the Define Page Editor.

\includes\languages\english\html_includes\YOUR_TEMPLATE\define_middlebox_1.php

If you wish to chaneg the Title of the Sideboxes you will need to edit:

\includes\languages\english\extra_definitions\YOUR TEMPLATE\

middlebox_1.php
middlebox_2.php
middlebox_3.php

Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

That wasn't the plan!

18 Apr 2010, 6:37 AM
#48
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

How would I go about creating a different background image for the banner titles?

I'm very rusty with css.. I can get the same image for all titles but would liek to have different colour/design for each.

I have:

.middleBoxHeading {
height: 30px;
margin: 0em;
padding: 0.5em 0.2em;
text-align: center;
background-image: url(../images/MYimage_middlebox_3.png);
background-repeat: no-repeat;
}

That wasn't the plan!

19 Apr 2010, 1:22 AM
#49
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

I would like to know how we change the title size (tried this in my template, template, tpl_middlebox1_default.php by changing the h1 to h2, did not work) , the box size (too long), also how do we change the titles outside of admin? Tried something that was written and it did not work Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

Thank you
LadyDee

19 Apr 2010, 9:06 AM
#50
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

I changed my titles here:

\includes\languages\english\extra_definitions\YOUR TEMPLATE\

middlebox_1.php
middlebox_2.php
middlebox_3.php

Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

You edit the size of the font tile in the stylesheet_middleboxes.css file

h2.middleBoxHeading, h2.middleBoxHeading a {
font-size: 1.2em;
color: #96b710;

}

Edit the font there as I just tested and that works for me.

That wasn't the plan!

19 Apr 2010, 10:08 AM
#51
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Thank you, this all worked.

Ladydee

19 Apr 2010, 12:54 PM
#52
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]

Just a suggestion, the Firefox Web Developer tools are a GODSEND for identifying which styles to edit. Strongly suggest getting this tool.. Also the Zen Cart developers toolkit would have helped you identify where to edit the boxes title. If you had searched for "Put your title here", you would have been lead to the language files Muzz pointed out..

deemurphy:

Thank you, this all worked.

Ladydee

Muzz:

I changed my titles here:

\includes\languages\english\extra_definitions\YOUR TEMPLATE\

middlebox_1.php
middlebox_2.php
middlebox_3.php

Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

You edit the size of the font tile in the stylesheet_middleboxes.css file

h2.middleBoxHeading, h2.middleBoxHeading a {
font-size: 1.2em;
color: #96b710;

}

Edit the font there as I just tested and that works for me.

deemurphy:

I would like to know how we change the title size (tried this in my template, template, tpl_middlebox1_default.php by changing the h1 to h2, did not work) , the box size (too long), also how do we change the titles outside of admin? Tried something that was written and it did not work Edit: define('BOX_HEADING_MIDDLEBOX1', 'Put your title here');

Thank you
LadyDee

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.

19 Apr 2010, 5:41 PM
#53
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Thank you very much everything worked. You have to make sure in the title that you have both "fans'

LadyDee

20 Apr 2010, 1:49 AM
#54
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Any way to have 3 different images in the header for each middlebox?

I can only seem to have one image for all three headers.

That wasn't the plan!

20 Sep 2010, 5:53 PM
#55
guitarz avatar

guitarz

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: Editable Home Page Centerboxes [Support]

Hello,

I'm trying to get 6 centerboxes also and am wondering if Dee's mod is available somewhere. I tried to go to Dee's example site and it's under construction.

Dee, is there a place to download the whatever changes you've made or is there and example/documentation of what you did to get the 6 boxes?

I'm a css/php noob, have zc 1.3.8 installed on a windows testing server, purchased template installed and Editable Centerboxes mod installed, customized and working with 3 boxes.

Thank you in advance for any help you can give.

Kimo

20 Sep 2010, 10:56 PM
#56
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]

Update on this.. So I finally had a little free time to take a look at this, and I'm still stumped.. Can't figure out why you cannot show a products category on the main page when these boxes are in place.

The centerboxes for Featured Products, Specials, and New Products all still appear, but a selected product category does not..

Honestly I am stumped as to why.. I never noticed when I first submitted this mod.. The site I created these middleboxes for was ONLY going to display the middleboxes instead of a products category on the main page..

I am TOTALLY open to help and suggestions..:smile:

Muzz:

OK.. I got the layout Boxes working.

However, there is an issue that will need to be resolved!

When I had the:

Configuration > Layout Settings >Main Page - Opens with Category

ON in the admin the center boxes wouldn't work.

When I turned this feature off they appear!

The Opens with Categpry means that there are text links of each category listed just below main page area on the front page.

I had these on with button images I had created. ie Buttons with brands logos on them.

Unfortunately, I don't know understand php to resolve!

but somehow the CenterBox MOD overrides the ability to have both?

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.

21 Sep 2010, 12:18 AM
#57
gjh42 avatar

gjh42

Black Belt

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

Re: Editable Home Page Centerboxes [Support]

Which one is blocked? From muzz' post, I have the impression that if you have both a homepage category listing and a middlebox activated, the middlebox is the one that doesn't show.
I don't know what files are included in the mod; if one of them is /includes/templates/your_template/templates/tpl_index_default.php, that file would be replaced when categories are active by tpl_index_categories.php.

21 Sep 2010, 12:31 AM
#58
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:

Which one is blocked? From muzz' post, I have the impression that if you have both a homepage category listing and a middlebox activated, the middlebox is the one that doesn't show.
I don't know what files are included in the mod; if one of them is /includes/templates/your_template/templates/tpl_index_default.php, that file would be replaced when categories are active by tpl_index_categories.php.MY HERO!! You are right sir.. The /includes/templates/your_template/templates/tpl_index_default.php is indeed the file where my middlebox code is, and your explanation explains WHY the middleboxes disappear when you turn on the setting to display a category on the main page..

So thinking out loud here (I'll go look of course..) If one wants BOTH the product categories and the middleboxes on the main page, does the way to achieve this require I should ALSO add the middlebox code to the tpl_index_categories.php file too??

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.

21 Sep 2010, 12:36 AM
#59
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, that should do it.
A more elegant way would be to have the middlebox code in its own file, so it just has to be called by perhaps one new line in the relevant tpl_index_ file. This would make maintaining and improving the middlebox code easier for the future. I have been doing this kind of thing for my mods as I update them.

21 Sep 2010, 12:43 AM
#60
gjh42 avatar

gjh42

Black Belt

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

Re: Editable Home Page Centerboxes [Support]

Oh, and tpl_index_categories.php is also used by interior category listing pages, so if the middleboxes are only supposed to appear on the homepage, you would have to have a test for that, or else put the middlebox call inside the (homepage-only) "$show_welcome" loop.