Zen Cart Logo
Forums / Basic Configuration / lost my define_main_page.php on the drop down list

lost my define_main_page.php on the drop down list

Locked

Views: 1,643

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
23 Feb 2008, 2:02 AM
#1
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

lost my define_main_page.php on the drop down list

Not sure if this question goes here but couldn't find a better thread.

I was trying to add some flash movie with zero success.

I moved the define_main_page_php to another location by mistake, when I tried moving my movie files.

I moved it back, the site is fine but now...

I can't edit my define_main_page.php, under Define Page Editor. It is NO longer in the drop down list.

I looked at the define editor.php file but didn't see a list of items to be edited (choices).

Once again, I need help correcting my boo-boo!

While I am asking, I wanted to add flash movie to my main page. I was using Coffee Cup, got all the files but ended up with a blank screen. It was my understanding to place all the movie files, player files in the same dir. as the define_main_page.php folder. I did but no movie. Anyone?

Thanks so much!
Peter

23 Feb 2008, 2:39 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: lost my define_main_page.php on the drop down list

The define pages need to always exist in 2 locations ...
/includes/languages/english/html_includes

and in your template and override directory:
/includes/languages/english/html_includes/your_template_dir

Remember: you cannot override a file that does not exist in its original directory ... :smile:

plus they need to be set to 777 for editing ...

NOTE: you can tighten up the security on that directory when you have finalized the files ...

23 Feb 2008, 3:05 AM
#3
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Re: lost my define_main_page.php on the drop down list

Would moving one, delete the other location?

I am confused?

What steps to take to correct this?

Thanks
Peter

23 Feb 2008, 4:06 AM
#4
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Re: lost my define_main_page.php on the drop down list

I got it...

Just a bit confused. Not sure how moving one deleted the other?? but I fixed it.

Thanks again Ajeh...

Any threads or tutorials on install flash video? Anyone use Coffee Cup program?

I just need to know where to put the assoc. files. The html text is easy to place using the define editor. Just not sure where to place the needed files.

Thanks
Peter

24 Feb 2008, 2:41 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: lost my define_main_page.php on the drop down list

We check for core code and then peek for the overide ...

But if there is no code code, why peek for an override?

So if you remove the original file, then there is no reason to look for the override so things appear to, well, disappear ... got all that? :smartalec:

24 Feb 2008, 2:42 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: lost my define_main_page.php on the drop down list

Oh and on the Coffee Cup Program ... I always use this link:
http://www.zen-cart.com/index.php?main_page=infopages&pages_id=14

Oh ... umm ... er ... you meant a different kind of cup of coffee didn't you ... :cool:

24 Feb 2008, 11:40 PM
#7
peterelli avatar

peterelli

New Zenner

Join Date:
Jan 2008
Posts:
45
Plugin Contributions:
0

Re: lost my define_main_page.php on the drop down list

I think you lost me, but I appreciate the humor - I think:blink:

Coffe Cup program is the only one I had. It should intergrate with Zen, shouldn't it.

As far as the link, well... I'll be glad to exercise that once I figure this zen stuff and MAKE some $$.

I like the long term relationships...

Now if I could find someone or somwhere for those flash files.

still looking to make some $$ :smartalec: