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
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
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?
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.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
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.
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
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!