Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

A Way to Turn Colons Off for Field Titles!

  • fader8
  • fader8
  • OFFLINE
  • Posts: 28
  • Thanks: 0
  • Karma: 1
12 years 9 months ago #189912 by fader8
As the thread title says... Presently CB inserts a colon after every field title. It would be wonderful if that could be defeated.

Joomla 1.5.25, CB 1.8rc2, CBSubs 1.2.2, GroupJive 2.5rc, Kunena 1.7.2, php 5.2.5

Please Log in or Create an account to join the conversation.

  • bk6366
  • bk6366
  • OFFLINE
  • Posts: 97
  • Thanks: 22
  • Karma: 4
12 years 8 months ago - 12 years 8 months ago #193019 by bk6366
Core edits aren't advised but if you continue you do so at your own risk.
Backup your site before proceeding:

/administrator/components/com_comprofiler/plugin.class.php

Around line 1859 change this: ':' to '' //blank or '-' //hyphen, etc.
Code:
if ( trim( $translatedTitle ) != '' ) { $results .= $label . $translatedTitle . ( $field->displaytitle != -1 ? ':' : '' ) //change the colon on field name . $labelEnd ; }

CB 1.7.1: @ Line 1859
CB 1.8 @ Line 896

bk
---
J1.7.3 / CB 1.7.1 / PHP 5.2.17 (no, not upgrading yet)
Current J/CB Project

'Terse'
Guide to getting answers
Please note that pm's related to CB issues will go unanswered. That's what the forums are for.
Last edit: 12 years 8 months ago by bk6366. Reason: added v1.8 for upgraded systems
The following user(s) said Thank You: elfif

Please Log in or Create an account to join the conversation.

  • elfif
  • elfif
  • OFFLINE
  • Posts: 4
  • Thanks: 1
  • Karma: 0
11 years 11 months ago #216316 by elfif
In CB 1.9 @ line 931
The following user(s) said Thank You: KittyAnn

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum