Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

create_by in title 06 Nov 2016 17:08 #14676

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Not sure if its somethoing I have ticked or done, but I keep seeing numbers in the page title on the browser bar.

Looked into it, and I am seeing this in the diusplayFunctions of view.html.php
// Define the title
		$this->_prepareDocument(JText::_('PAGE_TITLE')), $this->item, 'created_by');

Hence the completely random number. Is this something I have done wrong as its on every view?
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

create_by in title 06 Nov 2016 17:50 #14677

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
I think no, it's something new and wrong in the Builder.
I had to remove this from the last generated code (3.0.7)
//  Define the default title

// new method
// $this->_prepareDocument(JText::_('JBREEDING_LAYOUT_PORTEE_ACTUELLE'), $this->item, 'id_etalon');

// old method
$this->params->def('title', JText::_('JBREEDING_LAYOUT_PORTEE_ACTUELLE'));
$this->_prepareDocument();
that works fine

@Jocelyn,

Is there a reason to push $this->item, 'id_xxxx' in the Title ???

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

Last edit: by liubov.

create_by in title 10 Nov 2016 20:04 #14691

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
The item title has been recently added.

It uses the default field of the table. The star in the builder.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.074 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started