Custom Footer problem

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Custom Footer problem

Postby agapanthus » 01 Nov 2009, 14:27

Thanks for a brilliant theme - I've managed pretty much everything I needed to do from the amazing selection of customisation options.

One little niggle though: HTML in the custom footer fields acquires extra "\" escape characters in front of quotes in the HTML - and every time it's saved more appear. This breaks the HTML, of course. It's not disastrous because I've edited the text in the MySQL admin to get around the problem, but it would be good to have it fixed in a future release.
agapanthus
 
Posts: 13
Joined: 01 Nov 2009, 10:44

Re: Custom Footer problem

Postby sayontan » 01 Nov 2009, 14:28

I will take a look into this.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Custom Footer problem

Postby sayontan » 01 Nov 2009, 15:03

Hi,
I checked the code again - I didn't see anything that would cause this kind of behavior. I tested this out with single as well as double quotes - can you indicate how to replicate the problem?

Thanks.
Sayontan.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Custom Footer problem

Postby agapanthus » 04 Nov 2009, 11:41

Thanks for the reply.

When I put a link into the central footer field

e.g. <a href="mydomain.com">My domain</a>

It comes out as

<a href=\"mydomain.com\">My domain</a>

Every time I save it, more \\\\s appear. The automatically generated text in the left hand footer field is affected too, but nothing else that I've found so far.
agapanthus
 
Posts: 13
Joined: 01 Nov 2009, 10:44

Re: Custom Footer problem

Postby sayontan » 04 Nov 2009, 11:54

Do you have some kind of a plugin that adds additional security features? Maybe the plugin applies to your posts, but for some reason it is conflicting with admin settings as well? I have verified this at my end - the theme is doing nothing to inject the backslashes (plus it doesn't seem to be a problem for other folks either).
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Custom Footer problem

Postby agapanthus » 04 Nov 2009, 12:04

The only plugin that I'm currently running is get_posts.

By the way, the text on the right of the footer is fine - the problem seems to occur during saving.
agapanthus
 
Posts: 13
Joined: 01 Nov 2009, 10:44

Re: Custom Footer problem

Postby Friday » 08 Nov 2009, 11:43

Actually, I'm having this same exact problem, as well. If I leave all the defaults in the footer boxes, it's fine. But if I modify it, then when it saves it adds those same slashes \ and breaks the links. I just installed the theme today, and I have no plug-ins at all. It's a brand new site that I am coding and the only thing I have installed is basic WP 2.8 and this theme.

Otherwise, the theme is fantastic! I love the customization. Thanks for your work!
Friday
 
Posts: 2
Joined: 08 Nov 2009, 11:40

Re: Custom Footer problem

Postby sayontan » 08 Nov 2009, 12:13

Hmm... since I cannot replicate this problem and since I cannot detect a pattern here, here is a fix I can suggest. Open the file called "actions.php" in the functions folder. Look for a function there called suffusion_display_footer(). There you will see these lines:

Code: Select all
            <td class="cred-left"><?php echo $suf_footer_left; ?></td>
            <td class="cred-center"><?php echo $suf_footer_center; ?></td>


Change these to:

Code: Select all
            <td class="cred-left"><?php echo stripslashes($suf_footer_left); ?></td>
            <td class="cred-center"><?php echo stripslashes($suf_footer_center); ?></td>


Let me know if this works.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Custom Footer problem

Postby agapanthus » 09 Nov 2009, 03:17

Thanks very much. I've tried that, and the problem's mostly fixed. The web page now looks fine and the links work, but the stray backslashes still appear in the custom footer editing boxes. They're successfully being stripped out on saving, but reappearing when the data is read, I think.
agapanthus
 
Posts: 13
Joined: 01 Nov 2009, 10:44

Re: Custom Footer problem

Postby agapanthus » 10 Nov 2009, 15:09

I've now upgraded to 2.6.0 and discovered that you've fixed this. Great support!!!

Many thanks
agapanthus
 
Posts: 13
Joined: 01 Nov 2009, 10:44

Next

Return to Bug Reports

Who is online

Users browsing this forum: rwno6w26 and 5 guests