Find Jobs
Hire Freelancers

Small Joomla Tiny MCE or php conditional code needed

$30-100 USD

进行中
已发布超过 14 年前

$30-100 USD

货到付款
Either Tiny MCE, Joomla or a plug-in called community builder automatically inserts <br /> tags into the text editor field on the user profile edit page even when no content is being added. These break tags are then inserted into the database when the profile is updated. Since the fields in the database are not empty (containing <br /> tags now) code that checks for values in a field finds content. This means I have a lot of instances of titles being displayed but no real content to go with them. ## Deliverables Either Tiny MCE, Joomla or a plug-in called community builder automatically inserts <br /> tags into the text editor field on the user profile edit page even when no content is being added. These break tags are then inserted into the database when the profile is updated. Since the fields in the database are not empty (containing <br /> tags now) code that checks for values in a field finds content. This means I have a lot of instances of titles being displayed but no real content to go with them. I have cleaned all the tags out of the database manually but obviously this is not a reasonable solution as every time the client updates a profile the break tags will be re-inserted. My preferred solution would be the correct code to check for instances of <br> OR "" something like: if (($row["cb_publications"] != '') || ($row["cb_publications"] != '<br />')) { echo "<p><strong>Publications</strong>:<br />".$row["cb_publications"]."</p>"; } which doesn't actually work (I just need some code that does). I am using a customized page to display the profile information because the Community Builder page was not terribly customizable either. The other solution is to solve the problem at the back end and not have the break tags insert into the database. I've looked for where that is and am stumped. An example of a profile page can be found here: [login to view URL]~westonpa/[login to view URL] The problem wont be visible because I've cleaned the break tags out - just picture one of the areas displaying a title but no content
项目 ID: 2975622

关于此项目

1条提案
远程项目
活跃14 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$26 USD来参与此工作竞标
用户头像
See private message.
$25.50 USD 在14天之内
4.4 (2条评论)
2.5
2.5

关于客户

UNITED STATES的国旗
United States
5.0
22
付款方式已验证
会员自11月 18, 2009起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。