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

Define Pages Generator addon - Support

Views: 29,961

Results 101 to 120 of 137
9 Mar 2009, 2:24 AM
#101
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Define Pages Generator addon - Support

matbourne:

just checked your site but looks like you've got it working now... :clap:

No it's not working. There's no content. I've added content but there's nothing showing up.

And it's not showing up in my information sidebox or in my dropdown menu. It should be showing up because I added the appropriate code.

Just don't understand the problem.

9 Mar 2009, 6:55 AM
#102
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

mafiasam:

No it's not working. There's no content. I've added content but there's nothing showing up.

And it's not showing up in my information sidebox or in my dropdown menu. It should be showing up because I added the appropriate code.

Just don't understand the problem.
Did you carry out procedures outlined in
http://www.zen-cart.com/forum/showpost.php?p=603310&postcount=94

16 Mar 2009, 10:19 AM
#103
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

misty:

Did you carry out procedures outlined in
http://www.zen-cart.com/forum/showpost.php?p=603310&postcount=94

Why isn't this in the instructions if it is important?
Regradless...
I'm getting this

"Error Failed: 1
Error ERROR: Cannot execute because table configuration( does not exist. CHECK PREFIXES!
Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details."

I've probably got the prefix wrong...

I don't have a directory for my store so what do I need to change here?

INSERT INTO configuration( configuration_title, configuration_key, configuration_value, configuration_description,
configuration_group_id, sort_order, last_modified, date_added, use_function, set_function ) VALUES (
'Sponsors', 'DEFINE_SPONSORS_STATUS', '1', 'Enable Sponsors Link/Text?<br />0= Link ON,
Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF,
Define Text OFF', '25', '84', now( ) , now( ) , NULL , 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');
16 Mar 2009, 10:30 AM
#104
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

misty:

Did you carry out procedures outlined in
http://www.zen-cart.com/forum/showpost.php?p=603310&postcount=94

I figured out the problem in my last post...the code doesn't have a space after configuration in that post you directed me to so the table reads configuration( instead of configuration (

It ended up processing the statement.

I'm still not getting any content on my page. There is content for the page in the "define pages editor". It's there. I can save it. I can change it. Nothing ever shows up on the actual page. I clear my cache. I restart my computer. I use different browsers. Nothing.

19 Mar 2009, 9:19 PM
#105
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

I finally couldn't wait any longer as my link partners were getting a bit anxious so I had to resort to the old "about us page" contribution. Actually it worked quite well. I changed the name of the page to Links instead of Sponsors just in case there might be some lingering database entries that would conflict with the failed attempt.
http://oldwestpokersupplies.com/links.html
I guess I was just too lazy to try the "about us" solution like I had with my older versions of ZC.

I still cannot for the life of me figure out why this generator gave me so much trouble. I checked everything four or five times over. If anyone ever has the same problem or figures it out I would be interested in the solution.

Thanks for all your help.

26 Mar 2009, 9:27 AM
#106
jimchin avatar

jimchin

New Zenner

Join Date:
Mar 2009
Posts:
2
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

This is a great mod. Really after reading everyones posts i'm really looking forward to getting it working.

I have a question if someone could help please...

after reading all the posts i can see that the common problems are where to add the files to the existing directory structure. I think I have that bit right.

The other problem is how to link to the new page. I can see that this is done using a link in php.

My question........ with accessibility to search engines as a priority is there a way to link to the new page I have made not using php. Or a way that will allow search engines to see my new page?

31 Mar 2009, 4:30 PM
#107
misticloudz avatar

misticloudz

New Zenner

Join Date:
Oct 2007
Posts:
52
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

sorry if this question has been asked already, but i searched for it and couldn't find it.

Is this generator compatible with 1.3.8 ? I'd rather not download it, fiddle with it, and then find out it won't work with my shop :(

thanks. :)

1 Apr 2009, 4:21 AM
#108
perfectino avatar

perfectino

New Zenner

Join Date:
Mar 2009
Posts:
14
Plugin Contributions:
1

Re: Define Pages Generator addon - Support

HOW TO SHOW UP YOUR NEWLY CREATED PAGES

your can add the link to the new page to any location as desired.
The URL for it is either:
- zen_href_link(FILENAME_DEFINED_PAGE)
or
- http://www.mysite.com/index.php?main_page=DEFINED_PAGE

HERE'S AN EXAMPLE ON HOW TO ADD TO THE "information" SIDEBOX:
a. edit /includes/modules/sideboxes/MYTEMPLATE/information.php
b. add this line, perhaps right above the "Shipping" link (FILENAME_SHIPPING):

 $information[] = '<a href="' . zen_href_link(FILENAME_DEFINED_PAGE) . '">' . BOX_INFORMATION_DEFINED_PAGE . '</a>';

c. Upload these changes to your server, and the link will appear in your "information" sidebox.

:hug:

22 Apr 2009, 5:40 PM
#109
sopnmom avatar

sopnmom

New Zenner

Join Date:
Apr 2009
Posts:
6
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

New here and I have been reading over the posts about how to get the new files that I created to work and well, I am still unable to figure this out:blush:. If someone can KINDLY deal with my questions that I know have been asked, I would GREATLY appreciate it.

I specified my page name: Facts, the correct template name: my_template, and saved in an empty temp folder: temp-gen. I used my FTP program to upload to my store but WHERE exactly do I load the files created, which folder? I have tried several places and nothing works so I want to make sure WHERE to load the files to.

Thanks SO Much!

22 Apr 2009, 8:36 PM
#110
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

This module comes with a Help page and is very good reading for all using it.

With that said, here are some quicky usage instructions

Page Name (case-sensitive)

  • enter as per the way you want the Text to show on your Web page
    ie. Help Desk << this is the text to be used for the link

Template Name (case-sensitive)

  • type exactly as used within your Zen Cart

Directory

  • this is where the files will be saved on your computer
  • browse to a temporary dir. and create a New Folder using the Page Name above
    this will put everything into one easy to find location

When finished, browse to the temp dir. on your computer and to the dir. with the Page Name. Inside is a dir. named 'includes' and a 'readme.txt' file.

Within your Hosting account, browse to your Zen Cart and upload the 'includes' dir. from your computer. All files will be uploaded to where they need to be.

In order to see this new link though, you will have to manually create/add a link on whatever page you desire.

The only suggestion I can make is...

The 'readme.txt' says this:

After copying these files to your zencart installation directory, you can link to this page using the following link:
http://yourdomain.com/zencart_directory/index.php?main_page=help_desk
(help_desk is just my example define page)

I would not use that link but instead:
index.php?main_page=help_desk

It will then work just fine on SSL and non-SSL pages. Using the first link example will not.

23 Apr 2009, 7:19 AM
#111
dsided avatar

dsided

Zen Follower

Join Date:
Jun 2008
Posts:
128
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

When I choose a page to edit from the drop down, the page reloads and shows me the same screen (ie doesn't load the page). I've moved the site from another domain. Any ideas why this should happen? I've tested changing text editor to plain text/HTMLarea/TinyMCE and it still seems to reload to the same half-blank page. Many thanks in advance!

23 Apr 2009, 11:25 AM
#112
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Not sure how your question applies to the Define Pages Generator addon, which works from your home computer?

Sounds like a possilbe problem with your uploaded file as Zen Cart appears to be showing what is in the file, which is not everything you think should be there. If you do a Forum search you should find other threads related to your situation.

23 Apr 2009, 2:10 PM
#113
dsided avatar

dsided

Zen Follower

Join Date:
Jun 2008
Posts:
128
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Hmm.. sorry I've posted to the wrong thread! Many thanks for the suggestion.

23 Apr 2009, 4:02 PM
#114
meshach avatar

meshach

Zen Follower

Join Date:
Jun 2008
Location:
USA
Posts:
188
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

This is about the best addon I've found for Zen Cart.

Thanks!

25 May 2009, 2:06 AM
#115
english_1969 avatar

english_1969

New Zenner

Join Date:
Apr 2008
Location:
Raleigh, NC
Posts:
34
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Hi,

I am trying to get the define pages generator to work. I had it working at some point, but now I get a 'directory doesn't exist' error, no matter the directory.

I've checked that i've got .NET 2.0 installed and I do.

Any thoughts?

I've tried from at least 3 computers (Running winXP with all the latest patches).

Thanks,
Warren

25 May 2009, 2:23 AM
#116
english_1969 avatar

english_1969

New Zenner

Join Date:
Apr 2008
Location:
Raleigh, NC
Posts:
34
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Nevermind!!!

I got it working...I was trying to run it from a network drive. Moved it to a local drive and bingo.

Thanks!!!!

Warren

16 Nov 2009, 11:49 PM
#117
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

Hello, and thank you for this great addon, banswidthjunkie!
I'm not very good with these things and this great addon helped me a lot. But I have a few questions which may be useful not only for me.
My first and most important question is:
Is there any way to get rid of these sideboxes only of this page made with Define Pages Generator?
I need a clean page without any sideboxes.:frusty:
My second and middle important question is:
Is there any way to put a button back on this page and to look like my other buttons?
And the last and not so important question is:
Page not visible in sitemap, can anything be done on this issue?
I understand that these issues are somewhat common, but all issues are related in one or another way by adding this new page.
I overturned everything upside down to find the answers to these questions, but without result.:cry:
Thanks in advance for your help, and sorry for my bad english.:smartalec:

2 Apr 2010, 5:26 PM
#118
cactus avatar

cactus

New Zenner

Join Date:
Sep 2005
Posts:
2
Plugin Contributions:
0

Re: Define Pages Generator addon - Support

After creating just over 100 new pages with this tool, I noticed that there are only single quotes around the id and class tags in the default template files. For example:

includes/templates/custom_template/templates/tpl_page_whatever_default.php

Does this break the functionality if you ever actually do use the id and class functions? I imagine few people take advantage of it, so perhaps nobody has mentioned it before, or do they function the same way?

I searched for class in this thread and didn't see anything, so I believe in the hundreds of posts, nobody else mentioned this? Or I failed miserably in my search. Searching from within the developer tool kit, I found no other uses of single quotes with class or id tags.

John

2 Apr 2010, 8:12 PM
#119
walterk avatar

walterk

New Zenner

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

Re: Define Pages Generator addon - Support

banswidthjunkie:

About
Define Pages Generator isn't exactly a zencart module, you would probably call it a meta-module, it is a small Windows application that makes it really easy to make new "define pages."

All you need to do is specify the name you want to give your page, the name of your current template and a directory to build the directory / file structure in and it does the rest. This directory structure can then be copied over to a zencart installation to make the define page accessible.

Motivation
Making a new define page seems to be a really fiddly task. However these pages are pretty useful, since unlike ezpages they don't get stored in the database, so they are easier to develop (ie you can use Dreamweaver). With a few simple tweeks, it is quite straight forward to give them a menu structure (ie pretend to nest one inside the other so the breadcrumb shows home::parent::child::....) and you can use php inside the pages which I don't think you can do with ezpages.

Acknowledgements
The code it generates is based on the "About Us" module, which seems to be the main resource for working out how to build a new define page.

Download
The Application can be downloaded from: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=804

Important
NOTE: It only runs under Windows and although I am a Linux user there is little likelihood of me porting it over. You need to have the .NET 2.0 framework to run it, you can get this from http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
**
If you have a question about how to use the application, or you find a bug please let me know.**

I can't get my images to hold an "alt" tag weather i use the editor or just write in code. Why?
I have tried this for my GeoTrust, Visa, etc logos.
They don't hold the "alt tag if i put them into a banner, not do they hold the "alt tag when I use the editor.
https://www.amotorcyclechicago.com

2 Apr 2010, 8:43 PM
#120
skipwater avatar

skipwater

Totally Zenned

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

Re: Define Pages Generator addon - Support

Add the title tag ie:

alt="xyz" title="xyz"