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

Define Pages Generator addon - Support

Views: 29,960

Results 121 to 137 of 137
4 Apr 2010, 1:50 AM
#121
walterk avatar

walterk

New Zenner

Join Date:
May 2008
Posts:
27
Plugin Contributions:
0

Define Pages Generator addon - Support

skipwater:

Add the title tag ie:

alt="xyz" title="xyz"

thanks, works great. next silly question. Can i use java script to make the new window popup in a browser size of my choice using this? Also, is this secure if i use it in my secure pages.
last are any outside hyperlinks good to have on my secure pages.
any help would be appreciated.

<script type="text/javascript"> function showPopup(url) { newwindow=window.open(url,'name','height=190,width=520,top=200,left=300,resizable'); if (window.focus) {newwindow.focus()} } </script>

Then you code your link like that:

<a href='...' onClick='showPopup(this.href);return(false);'>Info</a>

When javascript is disabled, the link still works the normal way.

29 Apr 2010, 4:58 PM
#122
deemurphy avatar

deemurphy

Zen Follower

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

Re: Define Pages Generator addon - Support

How do I stop something like this from happening:

kitchenlighting
Kitchen Lighting

The second one I want to keep. The first one I think is the name of the define page, but I would rather not see if at all.

Please view my web site http://lightingmadesimple.com/ in the shop by room section, click on any link and you will see what I am referring to.

the text "kitchenlighting" is a custom div that someone has created and not part of a default ZenCart Install
I check the page that is used to display the information on my web site and do not see what is causing this. I am unsure what other file to change. I used to create these pages. Therefore that information could be in several files. I tried in Template/classic, I tried in extra-definitions.

Any advise. I removed things in the above, but still have the top kitchelighting.

Thank you
LadyDee

29 Apr 2010, 6:20 PM
#123
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

deemurphy:

How do I stop something like this from happening:

kitchenlighting
Kitchen Lighting

First question why are you using define pages for this?

Normally you would create a master category Kitchen Lighting and then create sub categories Kitchen Island, Pot Racks,
Pendents, etc. and then under these sub categories you would place the products. And if the products are used in many locations you would use Copy Method: Link product to keep down overhead.

Doing it this way will fix your issue.

Skip

29 Apr 2010, 6:36 PM
#124
deemurphy avatar

deemurphy

Zen Follower

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

Re: Define Pages Generator addon - Support

Because I do not know how get or use the master category, these are only located in that side box in this manner, they are in the categories in a different way. I also used this for my help files. Client does not want categories in the side box.

Thank you
LadyDee

29 Apr 2010, 6:53 PM
#125
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

deemurphy:

Because I do not know how get or use the master category, these are only located in that side box in this manner, they are in the categories in a different way. I also used this for my help files. Client does not want categories in the side box.

Thank you
LadyDee

OK then

Find these files includes/languages/english/???/define_kitchenlighting.php

They will all look something like this:

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

And you would edit to look like this:

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

Skip

29 Apr 2010, 8:13 PM
#126
deemurphy avatar

deemurphy

Zen Follower

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

Re: Define Pages Generator addon - Support

Thank you that did it, perfect.

LadyDee

I love this tool.

22 Aug 2010, 4:38 PM
#127
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Does anyone know if this is compatible with 1.3.9x ?

Thanks :smile:

11 Nov 2010, 12:46 AM
#128
andi98640 avatar

andi98640

New Zenner

Join Date:
Jan 2010
Posts:
62
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I can't figure out how to link to my page.

I have tried and tried all the different ways people are suggesting.

When I use the code generated by define pages pointing to the right file, it does not load into my template.

https://webstore.jellybeanfabrics.com/

You can see the first map and hours button goes to nothing. That format is the link define pages gave me

It is not being inserted into the apple zen template.

Any help would be greatly appreciated.

21 Dec 2010, 10:34 AM
#129
fashionbop avatar

fashionbop

New Zenner

Join Date:
Dec 2010
Location:
Guangzhou, China
Posts:
9
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

gaffettape:

Does anyone know if this is compatible with 1.3.9x ?

Thanks :smile:

It's not campatible with 1.3.9 anymore... I just tried.. it only loads the header, and sidebox.. even the define page content "Your page text goes here" didn't show up.. and it won't load the footer as well.

I tried a payment page: http://www.wedding4us.com/index.php?main_page=payment
you could see if you click.
Could you please release the version which is compatible to 1.3.9? thanks a lot!

21 Dec 2010, 10:45 AM
#130
fashionbop avatar

fashionbop

New Zenner

Join Date:
Dec 2010
Location:
Guangzhou, China
Posts:
9
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Never mind, it still works!!, just remember put the right templates name in the app... o:clap:

31 Jan 2011, 6:10 PM
#131
lucasd avatar

lucasd

New Zenner

Join Date:
Jan 2011
Location:
USA
Posts:
7
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Thanks for the addon. Some advice would be appreciated.

Heres where Im at:

  1. I setup and installed the pages into my template structure
  2. Went to define pages editor and made changes
  3. Went to define pages status to activate the page = the page is not listed

Where do I go from here?

31 Jan 2011, 7:48 PM
#132
lucasd avatar

lucasd

New Zenner

Join Date:
Jan 2011
Location:
USA
Posts:
7
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Disregard the above post.

30 Jun 2011, 7:55 AM
#133
paulharvey avatar

paulharvey

New Zenner

Join Date:
Dec 2008
Posts:
6
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I am using version v1.3.9b. My problem is that I follow the instructions to build a Define Page and so far so good. I then upload all the files into the zen-cart on my site. When I try to run it using the following I get:

http://harvey-direct.com/index.php?main_page=samsung

I get a blank page with Home :: NAVBAR_TITLE at the top and nothing just a blank page. What am I doing wrong not doing right.

Cheers
Paul

6 Jul 2011, 7:36 AM
#134
paulharvey avatar

paulharvey

New Zenner

Join Date:
Dec 2008
Posts:
6
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Don't worry about the above the penny has dropped. Fantastic little program, opens up Zen Cart to wider possibilties. Thanks alot Note: YOUR template ie classic ect.

15 Aug 2011, 2:32 PM
#135
merlin123 avatar

merlin123

New Zenner

Join Date:
Aug 2006
Location:
Cornwall. England
Posts:
8
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

A number of threads ago, somebody showed the code to put a link into the 'Information Sidebox'
Can anybody please give me the code to put a link from the Category box to my new defined page called 'New Page'

Many thanks

2 Nov 2012, 9:49 PM
#136
contriveit avatar

contriveit

New Zenner

Join Date:
Sep 2012
Posts:
36
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Is this tool still being supported for 1.5?

I'm having an issues with broken links. Everything appears fine when in maintenence mode but when I turn maint. mode off, the privacy, contact us, t&c, and site map links are broken.

http://www.contrive-it.net/

23 Jun 2019, 3:16 AM
#137
nuganics avatar

nuganics

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

If you are getting "PHP Warning: Use of undefined constant" log warnings about /includes/modules/sideboxes/information.php in Zen cart 1.5.6b in PHP 7.3 change insert code to the below (change XXXXXXXXXXXXXXXXX to your filename):

if (defined('XXXXXXXXXXXXXXXXX_STATUS') <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_XXXXXXXXXXXXXXXXX) . '">' . BOX_INFORMATION_XXXXXXXXXXXXXXXXX . '</a>';
}