If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Contribution-Writing Guidelines / Define Pages not auto-detecting/installing

Define Pages not auto-detecting/installing

Locked

Started by langer on 30 Jun 2006, 1:54 AM · Views: 3,379

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Jun 2006, 1:54 AM
#1
langer avatar

langer

Totally Zenned

Join Date:
Aug 2004
Location:
Sydney, Australia
Posts:
1,258
Plugin Contributions:
1

Post #1 by langer

I am porting an old contribution to 1.3.x and it requires a form, which I have ported. The associated defines page does not appear to be auto-installing as they used to. I have defined the page name constant in /extra-datafiles/ and have the define page in includes/languages/english/html_includes/

Am I missing something, or is this now busted?

Thanks.

30 Jun 2006, 2:06 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,753
Plugin Contributions:
0

Post #2 by Kim

Nicholas-

The About Us is back in the downloads section - http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=182

It is a great example and should help you find the missing piece.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Jun 2006, 2:10 AM
#3
langer avatar

langer

Totally Zenned

Join Date:
Aug 2004
Location:
Sydney, Australia
Posts:
1,258
Plugin Contributions:
1

Post #3 by langer

Thanks Kim. I assume that it is updated to 1.3.x then.

Cheers :thumbsup:

30 Jun 2006, 3:46 AM
#4
langer avatar

langer

Totally Zenned

Join Date:
Aug 2004
Location:
Sydney, Australia
Posts:
1,258
Plugin Contributions:
1

Post #4 by langer

Stoopid me! I used contact_us as template, and left the if status condition.

I thought for some weird reason the define status auto-detected and installed into the configuration?

Anyway, moving right along...

Thanks again Kim!

30 Jun 2006, 3:48 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Nope ... each status condition is unique ...

These are setup in the configuration table for convenience ...

When you make your own, if you wish to use them, you would need to build your own define status based on the methods currently used by the other pages ...

If you do not need that, just having the code to call the define page is sufficient ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!