BUGFIX 351/352-03: Comment Form Anchor Link gets a 404 (Not found)
If you use this fix, think about donating to me, I've spent several hours figuring this issue out and coming up with the fix. Sending me a donation will encourage me to continue to support Atahualpa. You can use the 'Donate to Juggledad' button on the donate page
This fix is for Atahualpa version 3.5.1 and 3.5.2 ======================= DESCRIPTION: The directions at ATO->Edit POST/PAGE INFO ITEMS indicate Quote:
CAUSE: This issue occurs because the '#' is used as the php DATE escape character in the Atahualpa options. Because the php DATE() function has so many options and each needs to be escaped, when the footer (or kicker or title) is being displayed, all occurrences of '#' are changed to '\' leading to this problem. FIX: change the last line of bfa_postinfo.php from HTML Code:
?> HTML Code:
function getH() { HTML Code:
<a href="#commentform">Skip to comments form</a> HTML Code:
<?php echo '<a href="'.getH().'commentform">Skip to comments form</a>'; ?> Optionally, if you would like the documentation at ATO->Edit POST/PAGE INFO ITEMS to reflect this change, edit bfa_ata_admin.php and change line 269 from HTML Code:
<code><a href="#comments">Skip to comments</a></code> or <code><a href="#commentform">Skip to comments form</a></code> HTML Code:
<code><?php echo '<a href="'.getH().'comments">Skip to comments</a>'; ?></code> or <code><?php echo '<a href="'.getH().'commentform">Skip to comments form</a>'; ?></code> |
Juggledad, which file is "post footer"; I couldn't find the code you mention.
|
I'm referring to ATO->edit POST/PAGE INFO ITEMS->FOOTER:xxxxxxxxx ie the four different footer areas
|
Ohhh... thanks!
|
All times are GMT -6. The time now is 04:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.