Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Prevent application_top.php to display the zen cart graphics in new admin page

Prevent application_top.php to display the zen cart graphics in new admin page

Locked

Views: 1,590

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
9 May 2008, 1:13 PM
#1
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Prevent application_top.php to display the zen cart graphics in new admin page

I have a frame that I need to load a page.
Problem is that I need code inside application_top.php but dont want to display the menu graphics to my frame.

How do i prevent the zencart menu layout to display in the frame?

marksu

9 May 2008, 1:16 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Prevent application_top.php to display the zen cart graphics in new admin page

I think you need to look at includes/templates/your_template/commons/tpl_main_page.php and place your frame code there instead of in application_top

9 May 2008, 1:23 PM
#3
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Prevent application_top.php to display the zen cart graphics in new admin page

Sorry for my bad english.

I ment:

I have "frame content page" which includes the application_top.php file using require command.

Then I also have my main page that has a frame. I need to get my "frame content page" to display in the frame without the zen cart header graphics.

EDIT: Therefore I would need to edit application_top.php so it never displays the top header graphics.
marksu

9 May 2008, 1:28 PM
#4
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Prevent application_top.php to display the zen cart graphics in new admin page

Hi marksu,

Which version of ZC are you using? Which application_top are you talking about?

I thought you talked about the catalog side, but now it seems like you talk about the admin's one?

Regards

9 May 2008, 1:32 PM
#5
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Prevent application_top.php to display the zen cart graphics in new admin page

yellow1912:

Hi marksu,

Which version of ZC are you using? Which application_top are you talking about?

I thought you talked about the catalog side, but now it seems like you talk about the admin's one?

Regards

Yes i ment admin in admin/includes/

marksu

9 May 2008, 1:41 PM
#6
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Prevent application_top.php to display the zen cart graphics in new admin page

Sorry I forgot to mension I am using Zen Cart version v1.3.7.1.

marksu

9 May 2008, 2:28 PM
#7
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Prevent application_top.php to display the zen cart graphics in new admin page

I figured it out.
No eediting of application_top.php is needed.

Just removing following file in my main page was enaf.

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

marksu