× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Problem detected: time_created

1 year 8 months ago #10069 by infoal
Problem detected: time_created was created by infoal
I have a component created in which I have used the special field "time_created".
When creating a new item, the creation date is stored in this variable, but when I edit the item it updates it again when it shouldn't, since the purpose of this field is to store the creation date. After checking I found that the component re-renders the creation date when editing and this is a bug. Can you revise this to leave it fixed in the next update?

Path where I found it:
administrator\components\com_offers\views\offer\tmpl\edit.php

Line I have removed:
<?php echo $this->form->renderField('date_published'); ?>

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

1 year 8 months ago #10070 by Ryan Minnig
Replied by Ryan Minnig on topic Problem detected: time_created
You will probably have to share more information or code in your component for a proper response to be formulated.
One thing I do in my development is to launch multiple instances of Joomla on my local machine using WAMP (Windows 10) and then use MELD as a diff tool to compare the effects of the different CC configuration settings.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.