Zen Cart Logo
Forums / All Other Contributions/Addons / Define Pages Generator addon - Support

Define Pages Generator addon - Support

Views: 29,960

Results 41 to 60 of 137
21 Dec 2007, 10:07 AM
#41
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Define Pages Generator addon - Support

NAVBAR_TITLE is not loaded correctly, look in to includes/languages/english/4fun

See if the file 4fun.php is there, and check the content to see if it's correct

21 Dec 2007, 10:17 AM
#42
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

yellow1912:

NAVBAR_TITLE is not loaded correctly, look in to includes/languages/english/4fun

See if the file 4fun.php is there, and check the content to see if it's correct

Here is the path to my file:
/public_html/biz/includes/languages/english/4fun/4fun.php

This is the content of that 4fun file:

// DON'T EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING!

// This is used to display the heading and the navigation bar
define('NAVBAR_TITLE', '4fun');
define('HEADING_TITLE', '4fun');

and good morning!

21 Dec 2007, 10:26 AM
#43
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Morning here as well, has to wake up in the middle of the night to complete domain transfer.
Huhm, just checked and seem like you fixed the problem with navbar_title

21 Dec 2007, 10:27 AM
#44
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I just noticed some interesting behavior on a test that I just did. Just for grins, I tried putting the 4fun file in the next directory down. That directory would be:
/public_html/biz/includes/languages/english/4fun.php
When I did this... the navbar title started to work. Any idea of what is going on? Because as I said I just copied the directory structure over to my server.

tanks

21 Dec 2007, 10:29 AM
#45
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

That is the place for default template files, you may want to check your admin panel and see if you are really using the 4fun template.

21 Dec 2007, 10:37 AM
#46
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

yellow1912:

That is the place for default template files, you may want to check your admin panel and see if you are really using the 4fun template.

How do I check the admin to check this out. What am I looking for. I looked in the "define pages editor" and I can see the 4fun file there. I can edit it and do pretty much anything with it. But it doesn't show up when I click the link in the navMain bar.

21 Dec 2007, 10:41 AM
#47
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

admin->tools->template selection

21 Dec 2007, 10:51 AM
#48
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I just got the page to work. What I did was take the file that was in: /public_html/biz/includes/templates/4fun/templates/tpl_4fun_default.php and move it to /public_html/biz/includes/templates/my_template/templates/

Once I did this the 4fun page started showing up. Any ideas about what is going on? Did we find a bug in the software?

21 Dec 2007, 10:52 AM
#49
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

It appears that, the template you are using is named "my_template", not "4fun".

^^.

21 Dec 2007, 10:57 AM
#50
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

yellow1912:

It appears that, the template you are using is named "my_template", not "4fun".

^^.

I just called it "my_template" because I guess I was trying to protect the real name of my template. Don't know if that makes any sense... The "my_template" is the current over-ride template that I am using.

Like I said... everything is working now that I have made the 2 changes. I'm just curious about what was making it not work when it was in the standard directories in the install.

P.S. Hope your swap over goes well..

21 Dec 2007, 11:01 AM
#51
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

When you created you page using the mod, did you put your template name there?

Because in some previous posts, you mentioned that your template name is "4fun", but now it seems to have a different name?

You have to put the name of the CURRENT template that you are using there for the mod to generates the correct folder name.

21 Dec 2007, 11:19 AM
#52
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

yellow1912:

When you created you page using the mod, did you put your template name there?

Because in some previous posts, you mentioned that your template name is "4fun", but now it seems to have a different name?

You have to put the name of the CURRENT template that you are using there for the mod to generates the correct folder name.

ok... I feel like a complete idiot about this. I was just coming to this conclusion right before I received this note from you. I just got the software up and running and was looking at the information that it asked for and you are right I did not do things right... pilot error indeed. I did not put the name of my current template into the box in the software where it asks for template name.

Well like Bandswidthjunkie said... sometimes you just have to beat your head against the wall enough till things become clear.

Thanks so much for your help. I'm going to try another page and this time I will put the right template name in there. Will let you know how it turns out.

Thanks so much!

21 Dec 2007, 11:25 AM
#53
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I just tried the software again and provided the correct template directory name and everything worked right out of the box. Could not ask for things to come together any easier than that. I had the page up and running in about a minute.

Thanks for everything. You were right, yellow when you suggested there was a problem with the directory structure. My brain is what lol..

Anyway, thanks for hanging in there with me. I know that I've been a pain but I now know how to add things to the nav bar and I think that is something great. Can't say thanks enough..

Good luck with your swap over....

21 Dec 2007, 11:30 AM
#54
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Glad we got it worked out.

This mod is really a time saver. Just look at the number of files it creates, normally you have to do that MANUALLY.
Thanks again, bwj.

21 Dec 2007, 11:37 AM
#55
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

yellow1912:

Glad we got it worked out.

This mod is really a time saver. Just look at the number of files it creates, normally you have to do that MANUALLY.
Thanks again, bwj.

You are right... it really IS a time saver. Plus just less things that your brain has to think about. A BIG thanks to BWJ! Great mod man. I even think I can speak a little Japanese now (smile)... just a little...

Thanks to both of you for all your help.

21 Dec 2007, 1:55 PM
#56
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

Yes, I think that is why it says in big red letters "Please read the instructions before using" and then on line two of the instructions it says "Enter the name of the template you are using" :wink2:

Anyway I'm glad you got everything sorted out and thanks Yellow for sorting this out while I was asleep.

B

By the way Crabdance, now you've got the hang of this one, maybe you want to give my other mod a go: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=830

21 Dec 2007, 2:04 PM
#57
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

banswidthjunkie:

Yes, I think that is why it says in big red letters "Please read the instructions before using" and then on line two of the instructions it says "Enter the name of the template you are using" :wink2:

Anyway I'm glad you got everything sorted out and thanks Yellow for sorting this out while I was asleep.

B

By the way Crabdance, now you've got the hang of this one, maybe you want to give my other mod a go: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=830

Hi BWJ... yea, I know.. RTFM. If I had only read the instructions I could have saved everyone a bunch of work. And yes, Yellow helped me a lot as well as you. Thanks to the both of you for your patience.

I will look at your other mod. This time I will read the instructions (lol)...

Thanks so much to both of you for helping me get through this all.

good morning!

21 Dec 2007, 2:30 PM
#58
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I just looked at your other mod... funny because I just started using lightbox a couple of weeks ago. I really like it. Both your mod and lightbox are pretty neat programs. I think for now I will stick with the lightbox since I already have it installed and working.

Your mod really looks great though. I went to two different sites to look at the mod. Looked great too! You should be very proud/happy with that mod too.

Hope you have a wonderful morning. I'm going back to sleep for a while... didn't get much rest last night.

21 Dec 2007, 3:20 PM
#59
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

Yeah, slimbox and lightbox do the same job, and to the end user they look pretty much the same. The only difference is that slimbox is a much smaller download, so the page loads quicker, and you can customise the way it opens.

Another nice thing about slimbox is that you can actually open an iframe in that lightbox window, so for example if you had a privacy notice link in your information sidebox it could open in the lightbox so the user wouldn't move away from the page that they are on.

I can't take any credit for the actual effect though, that is the work of someone else.

21 Dec 2007, 6:40 PM
#60
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

banswidthjunkie:

Yeah, slimbox and lightbox do the same job, and to the end user they look pretty much the same. The only difference is that slimbox is a much smaller download, so the page loads quicker, and you can customise the way it opens.

Another nice thing about slimbox is that you can actually open an iframe in that lightbox window, so for example if you had a privacy notice link in your information sidebox it could open in the lightbox so the user wouldn't move away from the page that they are on.

I can't take any credit for the actual effect though, that is the work of someone else.

I think you should take a lot of credit for porting it over to ZC. I looks great and I bet you spent a lot of time making sure things were working great for the mod. Good work!