Admin > Configuration > EZ-Pages Settings > EZ-Pages Footer Link Separator
Admin > Configuration > EZ-Pages Settings > EZ-Pages Footer Link Separator
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Thanks, but I already know how to add/remover the separator.. what I need to know is to how to NOT have it appear at the begginning of my footer (before the links begin).. The separator is showing up BEFORE my first link like it's separating the space where the Home page link used to be.. I have looked at the code for the header, and the home page link is commented out and yet the separator does not lead the links on the header.. Only does this on the footer..
So when I comment out the Home page link on the footer, this is what it looks like:
~ Contact Us ~ Shipping & Returns ~ Privacy Notice ~ Conditions of Use ~ Site Map ~ Newsletter Unsubscribe
Instead of
Contact Us ~ Shipping & Returns ~ Privacy Notice ~ Conditions of Use ~ Site Map ~ Newsletter Unsubscribe
How do I fix that???
I did some more digging and figured out what the problem is..
I had to modify the following file:
includes/templates/template_default/templates/tpl_ezpages_bar_footer.php
I compared it to the following file:
includes/templates/template_default/templates/tpl_ezpages_bar_footer.php
I made the changes as follows:
Old:
New:Code:<?php if (sizeof($var_linksList) >= 1) { ?> <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?> <?php echo ($i <= $n ? EZPAGES_SEPARATOR_FOOTER : '') . "\n"; ?> <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a> <?php } // end FOR loop ?> <?php } ?>
This solves the problem of the leading link separator.. However, the only remaining issue is that despite my CSS settings, the footer links do not align flush left.. This is somewhat frustrating..Code:<?php if (sizeof($var_linksList) >= 1) { ?> <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?> <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_FOOTER : '') . "\n"; ?> <?php } // end FOR loop ?> <?php } ?>
Could somebody please help me, I am trying to display a page with some php code on my site.
Where should I put the php file, then what code do I use in the Internal Link URL address to show it like the other pages.
Currently I am using the External Link URL
http://www.lionblade.com/rssfeedreader.php
But this opens a new page with just the code, not my site layout included, thanks.
Hi
I have taken a quick look and yes it certainly does just produce the code.
As far as I understand it if you want to link to an external page you need to complete the page fully. i.e. Your code needs a header and a body, links to style sheets in the header and all the usual gump, etc.
If you want to use the code within the site use one of the pages at:
tools - define pages editor - page 2, etc. Stick the code in that and then list it as you want.
I hope that helps.
Rich
Thanks Rich, it worked. I went to the Define Pages Editor, Page_2 and chose Source and stuck the code in there. Then linked to it internally and all nicely formatted now.
http://www.lionblade.com/page_2.html
![]()
Hi
I am glad to help.
Rich
oooops.. I meant to say I compared the footer file with the header file..
So now that I've fixed my problem with the leading separator issue on my EZ Pages footer.. Does anyone know why the EZ Pages footer seems to be calling for "something" where the Home link used to appear?? Whatever it is. it's interfering with my EZ Pages footer alignment style and as a result it will not align left or center properly...
**bump**
Anyone got any ides?? This is making center or left alignment of the EZ Pages footer impossible..
Bumping for its own sake is frowned upon in this forum. It's a very active forum, so it you don't get an answer that usually means that it's too complex for a forum post, no body knows the answer, or nobody understands the question. In this case, I suspect that the latter is the problem. I recommend some clarification as to what you are asking, and a link to a site displaying the problem - I can't see anything wrong with the footer on site to which you linked previously.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)