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.098 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started