Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / EZpages back, continue and next buttons

EZpages back, continue and next buttons

Locked

Views: 3,400

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 May 2006, 12:55 AM
#1
newbieone avatar

newbieone

New Zenner

Join Date:
Mar 2006
Posts:
48
Plugin Contributions:
0

EZpages back, continue and next buttons

Can anyone tell me where to look so I can rearrange the layout of the ezpages? I want the buttons to be at the bottom and want to just get rid of the continue button altogether. Thanks

12 May 2006, 5:43 AM
#2
newbieone avatar

newbieone

New Zenner

Join Date:
Mar 2006
Posts:
48
Plugin Contributions:
0

Re: EZpages back, continue and next buttons

Well, I've found that I can move the previous, continue and next buttons and even deleted out the continue button. It was found on the
includes->templates->template_defaults->templates->tpl_page_default.php file which I copied to
includes->templates->custom->templates->tpl_page_default.php so it would overide and I could change things without messing it up. I moved the following to the bottom and changed part of it to take out the continue

<?php if (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='2' and $counter > 1) { ?> <div id="navEZPageNextPrev"> <a href="<?php echo $prev_link; ?>"><?php echo $previous_button; ?></a>
  <a href="<?php echo $next_link; ?>"><?php echo $next_item_button; ?></a>
</div>
<?php } elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='1') { ?>
<div id="navEZPageNextPrev"><?php echo zen_back_link() . $home_button . '</a>'; ?></div>
<?php } ?>

So that part I have working. The only problem I am having now is that I want my text above the TOC, not wrapped around the side. Any thoughts on how to do this?

12 May 2006, 5:57 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: EZpages back, continue and next buttons

I don't recall the exact stylename at the moment ... but you'll most likely be needing to alter some stylesheet settings to do that.

12 May 2006, 6:21 AM
#4
newbieone avatar

newbieone

New Zenner

Join Date:
Mar 2006
Posts:
48
Plugin Contributions:
0

Re: EZpages back, continue and next buttons

Ok, got that part figured out too.

I moved more stuff around. I hope it still works right. It looks ok now.

I have one more question though if anyone ever reads this post.

Without hacking the code, is there a way to just turn off the TOC in ezpages and still have the previous and next buttons show? I want it on the first chapter page amd mpt on the rest of the pages in that chapter. I know it's something stupid I'm missing but my brain must be on strike. Thanks in advance.

22 May 2006, 4:59 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: EZpages back, continue and next buttons

Peek in the Configuration ... EZ-Pages ...

EZ-Pages Table of Contents for Chapters Status
Enable EZ-Pages Table of Contents for Chapters?
0= OFF
1= ON

23 Mar 2007, 8:25 PM
#6
bgroup99 avatar

bgroup99

Zen Follower

Join Date:
Aug 2006
Posts:
197
Plugin Contributions:
0

Re: EZpages back, continue and next buttons

newbieone:

Well, I've found that I can move the previous, continue and next buttons and even deleted out the continue button. It was found on the
includes->templates->template_defaults->templates->tpl_page_default.php file which I copied to
includes->templates->custom->templates->tpl_page_default.php so it would overide and I could change things without messing it up. I moved the following to the bottom and changed part of it to take out the continue

<?php if (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='2' and $counter > 1) { ?> <div id="navEZPageNextPrev"> <a href="<?php echo $prev_link; ?>"><?php echo $previous_button; ?></a>
  <a href="<?php echo $next_link; ?>"><?php echo $next_item_button; ?></a>
</div>
<?php } elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='1') { ?>
<div id="navEZPageNextPrev"><?php echo zen_back_link() . $home_button . '</a>'; ?></div>
<?php } ?>

So that part I have working. The only problem I am having now is that I want my text above the TOC, not wrapped around the side. Any thoughts on how to do this?

Very helpful, thanks for posting this.