Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nimble test automation framework #414

Open
wants to merge 346 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
346 commits
Select commit Hold shift + click to select a range
a8b3c92
Bug152608 fix:Front end>> Editor field not showing data at front end …
Dec 27, 2019
2b994de
Bug152608 fix:Front end>> Editor field not showing data at front end …
Dec 27, 2019
d4dc22c
Update type.xml
ankush-maherwal Dec 30, 2019
bf888c8
Update en-GB.com_tjucm.ini
ankush-maherwal Dec 30, 2019
0cf9057
Update itemform.js
ankush-maherwal Dec 30, 2019
5f2db62
Update itemform.js
ankush-maherwal Dec 30, 2019
473d35a
Merge pull request #327 from ChavanAnkitaMahesh/Bug152608
ankush-maherwal Dec 30, 2019
8f83834
Bug152608 fix: Front end>> Editor field not showing data at front end
ankush-maherwal Dec 30, 2019
ad09a06
Merge pull request #331 from ankush-maherwal/10023
ankush-maherwal Dec 30, 2019
f1c59db
Bug#130261 fix: Live > Applicant account > application form > work ex…
Jan 3, 2020
7aae67c
Bug#154085 fix: Created multiple record entries in DB while creating …
Jan 3, 2020
023997c
Task#336 chore: Unbale to listed out record created with Other option
pravinTek Jan 6, 2020
bdb06fe
Bug130261 fix : Live > Applicant account > application form > work ex…
Jan 8, 2020
ceb309e
Bug130261 fix : Live > Applicant account > application form > work ex…
Jan 8, 2020
97b6d44
Bug154793 fix :Functionality to save items depending upon the bit rat…
Jan 8, 2020
ddb9da2
Bug154085 fix : Created multiple record entries in DB while creating …
Jan 8, 2020
768464e
Merge pull request #335 from ChavanAnkitaMahesh/Bug154085
ankush-maherwal Jan 13, 2020
02ac499
Merge pull request #332 from ChavanAnkitaMahesh/Bug130261
ankush-maherwal Jan 13, 2020
5e788f2
Merge pull request #330 from apghalsasi25/Bug#154978
ankush-maherwal Jan 13, 2020
8f2cfa1
Merge pull request #322 from apghalsasi25/Bug#154919
ankush-maherwal Jan 13, 2020
2454ecd
Merge branch 'release-1.2.4' into Bug#154977
ankush-maherwal Jan 13, 2020
3e139ba
Merge pull request #320 from apghalsasi25/Bug#154977
ankush-maherwal Jan 13, 2020
d27837f
Merge pull request #302 from ChavanAnkitaMahesh/Bug152978
ankush-maherwal Jan 13, 2020
b751b19
Merge pull request #300 from ChavanAnkitaMahesh/Bug154594
ankush-maherwal Jan 13, 2020
125eb23
Merge pull request #299 from apghalsasi25/bug#154268
ankush-maherwal Jan 17, 2020
211fba0
Merge pull request #283 from apghalsasi25/Bug#154268
ankush-maherwal Jan 17, 2020
fe3a830
Merge branch 'release-1.2.4' into Bug#154975
ankush-maherwal Jan 21, 2020
feab747
Merge pull request #318 from apghalsasi25/Bug#154975
ankush-maherwal Jan 21, 2020
4447745
Merge branch 'release-1.2.4' into bug#152999_new
ankush-maherwal Jan 21, 2020
b50ebe3
Merge pull request #312 from apghalsasi25/bug#152999_new
ankush-maherwal Jan 21, 2020
0c659f0
Merge branch 'release-1.2.4' into Bug154050
ankush-maherwal Jan 21, 2020
7fe54ce
Merge pull request #294 from ChavanAnkitaMahesh/Bug154050
ankush-maherwal Jan 21, 2020
dad4c11
Bug #154793 fix : Functionality to save items depending upon the bit …
Jan 21, 2020
d840081
Bug #154793 fix : Functionality to save items depending upon the bit …
Jan 21, 2020
33fb62d
Task #156317 chore: File field copy
Jan 21, 2020
55b32cf
Task #156317 chore: File field copy
Jan 21, 2020
11c628a
Update itemform.json.php
ankush-maherwal Jan 21, 2020
22f9221
Update itemform.json.php
ankush-maherwal Jan 21, 2020
9eed39e
Merge pull request #211 from shraddhaSankpal27/release-1.2.3
ankush-maherwal Jan 21, 2020
dcce9f1
Task #152038 chore: On page load check Ucm type compatibility
ankush-maherwal Jan 21, 2020
4c775a9
Merge branch 'release-1.2.4' into Bug154793
ankush-maherwal Jan 23, 2020
e7300d3
Merge pull request #313 from ChavanAnkitaMahesh/Bug154793
ankush-maherwal Jan 23, 2020
29621d7
Bug #154793 fix: Functionality to save items depending upon the bit r…
ankush-maherwal Jan 23, 2020
a89bbd5
Merge pull request #340 from ankush-maherwal/release-1.2.4
ankush-maherwal Jan 23, 2020
ae41c5b
Bug #156457 fix: Front End>> Updated data is not visible in the view …
Jan 24, 2020
83e36c6
Bug #156457 fix: Front End>> Updated data is not visible in the view …
Jan 24, 2020
b9e155e
Bug #156336 fix: Front End>> Name of the color is not visible clearly…
ankush-maherwal Jan 24, 2020
741c9ea
Merge pull request #342 from ankush-maherwal/release-1.2.4
ankush-maherwal Jan 24, 2020
a8aa333
Bug #154919 fix: Local Site>> Getting some technical message once use…
ankush-maherwal Jan 24, 2020
43e85e2
Bug #154919 fix: Local Site>> Getting some technical message once use…
ankush-maherwal Jan 24, 2020
e325a46
Bug #156460 fix: Front End>> User redirect to other menu and getting …
ankush-maherwal Jan 24, 2020
555f2d0
Merge pull request #343 from ankush-maherwal/release-1.2.4
ankush-maherwal Jan 24, 2020
f68f136
Bug #344 fix: Front end>>Text in other field is not wrapped properly …
Jan 28, 2020
59eb059
Bug #157037 fix: Frontend: User receives error on list view when new …
Feb 4, 2020
641c2a5
Merge pull request #347 from apghalsasi25/Bug#157037
ankush-maherwal Feb 4, 2020
a7e3dc0
Merge pull request #341 from apghalsasi25/bug#156457
ankush-maherwal Feb 4, 2020
ec53678
Bug #154304 fix: After click on save as draft error message shown if …
ankush-maherwal Feb 10, 2020
85db05d
Merge pull request #348 from ankush-maherwal/release-1.2.4
ankush-maherwal Feb 10, 2020
cec01ee
Bug #154304 fix: After click on 'save as draft' error message shown i…
ankush-maherwal Feb 19, 2020
d06d9f9
Merge pull request #355 from ankush-maherwal/release-1.2.4
ankush-maherwal Feb 19, 2020
93ee6ba
Update default.php
ankush-maherwal Feb 21, 2020
5666883
Update default.php
ankush-maherwal Feb 21, 2020
0120db4
Merge pull request #346 from apghalsasi25/bug#344
ankush-maherwal Feb 21, 2020
0c86b72
Merge pull request #337 from pravinTek/release-1.2.4
ankush-maherwal Feb 21, 2020
4a6ac47
Merge branch 'release-1.2.4' into Bug154169
ankush-maherwal Feb 21, 2020
c368f9c
Merge pull request #291 from pravinTek/Bug154169
ankush-maherwal Feb 21, 2020
430bac6
Task #156455 feat: Front end>> User getting zero result when the Text…
Feb 24, 2020
838c21f
Task #156455 feat: Front end>> User getting zero result when the Text…
Feb 25, 2020
943b498
Task #156455 feat: Front end>> User getting zero result when the Text…
Feb 26, 2020
8e1a754
Bug #157397 fix: FrontEnd>> User getting blank pop up once tap on but…
Feb 26, 2020
e52192d
Merge pull request #357 from apghalsasi25/Bug#157397
ankush-maherwal Feb 26, 2020
f71dd14
Task #156455 feat: Front end>> User getting zero result when the Text…
Feb 26, 2020
9d85953
Merge pull request #356 from apghalsasi25/Task#156455
ankush-maherwal Feb 27, 2020
e829996
Bug #158265 fix: Front-end>>Form view: Submit buttons get disabled af…
Feb 28, 2020
2de5fcc
Merge pull request #358 from apghalsasi25/Bug#158265
ankush-maherwal Feb 28, 2020
8fd21bf
Bug #123 fix: the migration issue
ankush-maherwal Mar 4, 2020
6f7721a
Bug #123 fix: the migration issue
ankush-maherwal Mar 4, 2020
221dfef
Bug #123 fix: manual merge
ankush-maherwal Mar 4, 2020
1380f46
Bug #154977 fix: Edge>> Pagination should be visible outside the scro…
Mar 6, 2020
33007c9
Merge pull request #361 from apghalsasi25/bug#154977
ankush-maherwal Mar 9, 2020
b5c57ac
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 11, 2020
1d1b731
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 16, 2020
8341d30
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 16, 2020
3af14f2
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 16, 2020
3df10f8
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 16, 2020
88e41a0
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 17, 2020
d816f63
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 17, 2020
30709dd
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 17, 2020
0c9d8b8
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 18, 2020
1c6e535
Task #158681 feat: Update UCM code to use access file in includes to …
ankush-maherwal Mar 18, 2020
70de8b4
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 19, 2020
f6336d5
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 19, 2020
9af9733
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 19, 2020
cd76723
Task #159095 feat: manual merge
ankush-maherwal Mar 19, 2020
2c0298e
Task #159095 feat: manual merge
ankush-maherwal Mar 19, 2020
3f38452
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 19, 2020
5163a62
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 19, 2020
204f076
Task #159095 feat: Log actions of users for creating updating the rec…
ankush-maherwal Mar 20, 2020
e6b55ba
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
ebf70b4
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
695add3
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
c2db0cf
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
31c38b0
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
874c456
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
d9d2f0b
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
b4cc820
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 1, 2020
f258c6c
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 2, 2020
e8f5a66
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 2, 2020
ec33fad
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 3, 2020
2448efd
Bug #156605 fix: The dropdown of tjlist type field didn't get reset. …
ankush-maherwal Apr 6, 2020
bc09d06
Bug #156605 fix: The dropdown of tjlist type field didn't get reset. …
ankush-maherwal Apr 6, 2020
5b4a018
Task #159950 feat: Date range filters to filter records as per the cr…
ankush-maherwal Apr 13, 2020
18117a5
Task #159950 fix: Date range filters to filter records as per the cre…
ankush-maherwal Apr 22, 2020
344a77d
Bug #159554 fix: Loader is missing when the form is submitted to save…
ankush-maherwal Apr 23, 2020
0fafca2
Task #158681 fix: Update UCM code to use access file in includes to c…
ankush-maherwal Apr 24, 2020
649aea2
Bug #161524 fix: MultiSelect : Options in the list getting repeated e…
ankush-maherwal Jun 3, 2020
157b20d
Bug #156605 fix: The dropdown of tjlist type field didn't get reset. …
ankush-maherwal Jun 4, 2020
2a2e036
Bug #156605 fix: The dropdown of tjlist type field didn't get reset. …
ankush-maherwal Jun 5, 2020
e29ef5f
Bug #156605 fix: The dropdown of tjlist type field didn't get reset. …
ankush-maherwal Jun 5, 2020
c92b2a9
Bug #123 fix: access issue for form view
ankush-maherwal Jun 12, 2020
f82d2fb
Bug #123 fix: access issue for form view
ankush-maherwal Jun 15, 2020
bb4c435
Task #162316 feat: Support Parent ID in UCM Import
vijaykhollam Jun 15, 2020
3f36822
Task #162316 feat: Support Parent ID in UCM Import
vijaykhollam Jun 16, 2020
0cc57c9
Update en-GB.com_tjucm.ini
ankush-maherwal Jun 17, 2020
d8f0e40
Update en-GB.com_tjucm.ini
ankush-maherwal Jun 17, 2020
53fee27
Update items.php
ankush-maherwal Jun 17, 2020
7af067d
Task #162316 feat: changes
vijaykhollam Jun 17, 2020
c923076
Merge pull request #365 from vijaykhollam/csv-import
ankush-maherwal Jun 17, 2020
8771d51
Task #162316 feat: Support Parent ID in UCM Import
ankush-maherwal Jun 17, 2020
1ab06f5
Bug #162716: UCM subform should inherit the status of publish/Unpubli…
KishoriBKarale Jun 30, 2020
1f983d4
Bug #162716 fix: UCM subform should inherit the status of publish
KishoriBKarale Jul 6, 2020
fe8f8b4
Task #163118 fix: Other options support for the tj-list field in CSV …
ankush-maherwal Jul 13, 2020
447f4e3
Task #162657 chore: Added trigger for on after publish the record
KishoriBKarale Jul 22, 2020
df01704
Task #123 feat: Support subform fields on list view
ankush-maherwal Jul 22, 2020
8d75474
Merge pull request #364 from ankush-maherwal/actionlogs
ankush-maherwal Jul 22, 2020
b2a5187
Merge remote-tracking branch 'upstream/release-1.2.4' into Trigger
KishoriBKarale Jul 22, 2020
7479a12
Merge remote-tracking branch 'upstream/release-1.2.4' into permission
KishoriBKarale Jul 22, 2020
aa6ac94
Task #162657 chore: Added trigger for on after publish the record
KishoriBKarale Jul 23, 2020
8e03f72
Task #162657 chore: Added trigger for on after publish the record
KishoriBKarale Jul 23, 2020
fc4c35d
Task #369 feat: Add sort functionality using fields value on to the l…
ankush-maherwal Jul 24, 2020
db34a10
Task #369 feat: Add sort functionality using fields value on to the l…
ankush-maherwal Jul 24, 2020
467e8bc
Task #369 feat: Add sort functionality using fields value on to the l…
ankush-maherwal Jul 24, 2020
1b17228
Merge pull request #370 from ankush-maherwal/actionlogs
ankush-maherwal Jul 24, 2020
832834f
Task #163718 feat:solving phpcs errors for various components
Aug 4, 2020
89a8e66
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
e91dfd9
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
1505af4
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
98c1329
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
d1925f5
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
446fc79
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
0bee753
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 11, 2020
4682e36
Feature #163782 feat : Related Field : Auto populate options without …
vijaykhollam Aug 11, 2020
6d1999b
Merge pull request #373 from vijaykhollam/Related-auto-pop
ankush-maherwal Aug 12, 2020
0b7e668
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 12, 2020
bd86501
Merge branch 'release-1.2.4' of github.com:techjoomla/com_tjucm into …
vijaykhollam Aug 12, 2020
d0848fd
Feature #163782 feat : Related Field : Auto Populate options without …
vijaykhollam Aug 12, 2020
d6cd1e6
Merge pull request #374 from vijaykhollam/Related-auto-pop
ankush-maherwal Aug 12, 2020
974edf3
Feature #163782 feat: Related Field : Auto Populate added data withou…
vijaykhollam Aug 13, 2020
a3c1622
Merge branch 'release-1.2.4' of github.com:techjoomla/com_tjucm into …
vijaykhollam Aug 13, 2020
51982bf
Task #163912 chore: copy ucm multiple items
shraddhaSankpal27 Aug 26, 2020
ed18426
Feature #163832 chore: Implement Multiple Copy feature on the fronten…
shraddhaSankpal27 Sep 1, 2020
d4f337c
Task #163912 chore: copy ucm multiple items
shraddhaSankpal27 Sep 2, 2020
9086ad0
Task #163912 chore: copy ucm multiple items
shraddhaSankpal27 Sep 2, 2020
190c3b6
Task #163912 chore: issue in copying file
shraddhaSankpal27 Sep 2, 2020
3658816
Task #163912 chore: Change related with permission
shraddhaSankpal27 Sep 3, 2020
dfe30a3
Task #163912 chore: Seperate js code
shraddhaSankpal27 Sep 4, 2020
74b8084
Feature #164522 feat: Ability to support importing UCM categories whi…
vijaykhollam Sep 5, 2020
93f704b
Task #163912 chore: Comments solved
shraddhaSankpal27 Sep 5, 2020
f68ef3e
Task #163912 chore: Comments solved
shraddhaSankpal27 Sep 5, 2020
ba3f49a
Task #163912 chore: Comments solved
shraddhaSankpal27 Sep 5, 2020
dea7320
Task #163912 chore: Comments solved
shraddhaSankpal27 Sep 5, 2020
9e50ff0
Task #163912 chore: comment solving
shraddhaSankpal27 Sep 7, 2020
00a5d93
Merge pull request #376 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 7, 2020
48b049e
Merge pull request #377 from vijaykhollam/cat-import-support
ankush-maherwal Sep 7, 2020
dadeec5
Merge pull request #375 from vijaykhollam/Related-auto-pop
ankush-maherwal Sep 7, 2020
d0e27c1
Merge pull request #371 from aishwaryab2/task#163718
ankush-maherwal Sep 7, 2020
536a392
Merge pull request #367 from KishoriBKarale/Trigger
ankush-maherwal Sep 7, 2020
2d56803
Bug #164350 fix: User getting error when ACL applies with two differe…
ankush-maherwal Sep 7, 2020
65c4fb7
Merge pull request #378 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 7, 2020
d2e303e
Task #163945 chore: Fixed issue for cluster field option in copy item…
shraddhaSankpal27 Sep 7, 2020
df8c64d
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 7, 2020
7e33146
Task #164574 feat: Add category filter on list view
ankush-maherwal Sep 8, 2020
4236169
Merge pull request #380 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 8, 2020
19fd92e
Merge pull request #379 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 8, 2020
e22119a
Merge pull request #366 from KishoriBKarale/permission
ankush-maherwal Sep 8, 2020
d9a2cfe
Bug #162483 fix: UCM subform field of Item Category showing the categ…
ankush-maherwal Sep 8, 2020
5120e05
Merge pull request #381 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 8, 2020
78e711b
Bug #162483 fix: UCM subform field of Item Category showing the categ…
ankush-maherwal Sep 8, 2020
9b0d7cf
Task #123 fix: manual merge
ankush-maherwal Sep 8, 2020
40bde2c
Merge pull request #382 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 8, 2020
78c7406
Task #123 fix: manual merge
ankush-maherwal Sep 8, 2020
fe07883
Task #123 fix: manual merge
ankush-maherwal Sep 8, 2020
979bc90
Bug #163441 fix: Multiple values in the list field is not reflecting …
ankush-maherwal Sep 8, 2020
e540fa8
Merge pull request #383 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 8, 2020
a3c4e31
Bug #163446 fix: Sorting not working on Number field.
ankush-maherwal Sep 9, 2020
00497b4
Bug #163470 fix: Code is visible at frontend when user fill the sub-form
ankush-maherwal Sep 9, 2020
c7059f9
Merge pull request #384 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 9, 2020
70215f2
Bug #164629 fix: Sorting is not working on the Category field.
ankush-maherwal Sep 10, 2020
84b11bc
Merge pull request #385 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 10, 2020
a9decdc
Bug #164561 fix: Issue with appearing types in copy to dropdown
shraddhaSankpal27 Sep 10, 2020
2d10a9f
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 10, 2020
085e25f
Bug #163471 fix: All records on list view gets hide once user publish…
ankush-maherwal Sep 10, 2020
4edb197
Merge pull request #387 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 10, 2020
6e7c333
Merge pull request #386 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 11, 2020
d10ca5d
Bug #164722 fix: Add button at the bottom opening in the new tab
ankush-maherwal Sep 11, 2020
6376ced
Merge pull request #388 from ankush-maherwal/release-1.2.4
ankush-maherwal Sep 11, 2020
0257d05
Bug #164723 fix: Blank confirmation box opens on screen while deletin…
ankush-maherwal Sep 11, 2020
535b05e
Bug #163469 fix: Owner field is not supporting to sorting functionality
ankush-maherwal Sep 11, 2020
3c086fb
Bug #164702 fix: The image field didn't work with copy to cluster
shraddhaSankpal27 Sep 14, 2020
7b87617
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 14, 2020
6fe87e3
Bug #164732 fix: From the subform - Contents from multiselect field d…
shraddhaSankpal27 Sep 14, 2020
dd237bf
Merge pull request #389 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 15, 2020
3f3b49a
Task #123 fix: manual merge
ankush-maherwal Sep 15, 2020
fa5f504
Bug #164726 fix: System takes time to fetch field value after copy
shraddhaSankpal27 Sep 15, 2020
141eac2
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 15, 2020
352013d
Bug #164740
shraddhaSankpal27 Sep 15, 2020
c6c10f4
Merge pull request #391 from shraddhaSankpal27/filecopy
ankush-maherwal Sep 15, 2020
a63d680
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 15, 2020
01ba70a
Bug #164740 fix: From the subform - File and Image field value didn't…
shraddhaSankpal27 Sep 15, 2020
64deee3
Merge pull request #390 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 16, 2020
d501635
Bug #164726 fix: Add minify items.js file
shraddhaSankpal27 Sep 16, 2020
c81df01
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 16, 2020
ac77331
Merge pull request #392 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 18, 2020
096cb8d
Issue #163832 fix: Add selected cluster id in field value
shraddhaSankpal27 Sep 18, 2020
7e6b66e
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 18, 2020
af0a1aa
Merge pull request #393 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 18, 2020
62e7df6
Bug #165173 fix: UCM copy - the related field data didn't appear in f…
shraddhaSankpal27 Sep 25, 2020
a7a90d5
Merge branch 'release-1.2.4' of https://github.com/techjoomla/com_tju…
shraddhaSankpal27 Sep 25, 2020
254ca33
Merge pull request #394 from shraddhaSankpal27/copyItem
ankush-maherwal Sep 25, 2020
9835a56
Bug #164708 fix: Related field dropdown not open in the FE
vijaykhollam Sep 26, 2020
577249a
Merge pull request #395 from vijaykhollam/Related-auto-pop
ankush-maherwal Sep 29, 2020
f86b736
Task #123 feat: manual merge
ankush-maherwal Oct 5, 2020
995d8ff
Bug #165315 fix: List field not maintaing order as per user update it…
ankush-maherwal Oct 5, 2020
18220e8
Merge pull request #397 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 5, 2020
26b5756
Bug #165619 fix: Drop-down values visible as by default zero in the m…
ankush-maherwal Oct 12, 2020
bc81d6f
Merge pull request #400 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 12, 2020
1e5c111
Bug #164525 fix: Payload issue - with main type Yes/No
ankush-maherwal Oct 12, 2020
3e642e9
Merge pull request #401 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 13, 2020
b0853e1
Bug #164525 fix: Payload issue - with main type Yes/No
ankush-maherwal Oct 13, 2020
4c34a46
Merge pull request #402 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 13, 2020
f2edcf0
Bug #165314 fix: Categories: Unpublished category list is still visib…
ankush-maherwal Oct 15, 2020
503d8d3
Merge pull request #404 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 15, 2020
ed75b7b
Bug #165314 fix: Categories: Unpublished category list is still visib…
ankush-maherwal Oct 15, 2020
7e49277
Merge pull request #405 from ankush-maherwal/release-1.2.4
ankush-maherwal Oct 15, 2020
cc3bcac
Task #168716 feat: Capture field to capture and upload image on the s…
ankush-maherwal Feb 24, 2021
06214b2
Task #168716 feat: Capture field to capture and upload image on the s…
ankush-maherwal Feb 24, 2021
5be707a
Task #169461:Field Creation for UCM
snehaM26 Mar 9, 2021
a62d059
Task #169461:Field Creation for UCM
snehaM26 Mar 10, 2021
e086231
Task #169461:Field Creation for UCM
snehaM26 Mar 23, 2021
ef10a66
Task #169461:Field Creation for UCM
snehaM26 Mar 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/Actions.class
Binary file not shown.
661 changes: 661 additions & 0 deletions src/Actions.java

Large diffs are not rendered by default.

Binary file added src/TestData.xlsx
Binary file not shown.
2 changes: 2 additions & 0 deletions src/components/com_tjucm/administrator/access.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE_COMPONENT_DESC" />
<action name="core.type.createitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_CREATE" description="COM_TJUCM_PERMISSION_TYPE_ITEM_CREATE_DESC" />
<action name="core.type.importitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_IMPORT" description="COM_TJUCM_PERMISSION_TYPE_ITEM_IMPORT_DESC" />
<action name="core.type.viewitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_VIEW" description="COM_TJUCM_PERMISSION_TYPE_ITEM_VIEW_DESC" />
<action name="core.type.edititem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_EDIT" description="COM_TJUCM_PERMISSION_TYPE_ITEM_EDIT_DESC" />
<action name="core.type.edititemstate" title="COM_TJUCM_PERMISSION_TYPE_ITEM_EDITSTATE" description="COM_TJUCM_PERMISSION_TYPE_ITEM_EDITSTATE_DESC" />
<action name="core.type.editownitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_EDITOWN" description="COM_TJUCM_PERMISSION_TYPE_ITEM_EDITOWN_DESC" />
<action name="core.type.deleteitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_DELETE" description="COM_TJUCM_PERMISSION_TYPE_ITEM_DELETE_DESC" />
<action name="core.type.deleteownitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_DELETEOWN" description="COM_TJUCM_PERMISSION_TYPE_ITEM_DELETEOWN_DESC" />
<action name="core.type.copyitem" title="COM_TJUCM_PERMISSION_TYPE_ITEM_COPYITEM" description="COM_TJUCM_PERMISSION_TYPE_ITEM_COPYITEM_DESC" />
</section>
</access>
8 changes: 7 additions & 1 deletion src/components/com_tjucm/administrator/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@
<fieldset name="permissions" description="JCONFIG_PERMISSIONS_DESC" label="JCONFIG_PERMISSIONS_LABEL">
<field name="rules" type="rules" component="com_tjucm" class="inputbox" filter="rules" validate="rules" label="JCONFIG_PERMISSIONS_LABEL" section="component" />
</fieldset>
</config>
<fieldset name="component" label="COM_TJUCM_COPY_ITEM_SETTING_LABEL">
<field name="tjqueue_copy_items" class="btn-group" type="radio" default="0" label="COM_TJUCM_USE_TJQUEUE_WHILE_COPY_ITEM" description="COM_TJUCM_USE_TJQUEUE_WHILE_COPY_ITEM_DESC">
<option value="0">COM_TJUCM_NO</option>
<option value="1">COM_TJUCM_YES</option>
</field>
</fieldset>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function import()

foreach ($options as &$option)
{
$fieldOptions['fieldoption'.$optionCount] = array("name" => $option->options, "value" => $option->value);
$fieldOptions['fieldoption' . $optionCount] = array("name" => $option->options, "value" => $option->value);
$optionCount++;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ public function migrate()
}
else
{
$tjfieldsFieldTable->name = str_replace('.', '_', $updatedUniqueIdentifier) . '_' . strtolower(preg_replace("/[^a-zA-Z0-9]/", "", $field->label));
$tjfieldsFieldTable->name = str_replace('.', '_', $updatedUniqueIdentifier)
. '_' . strtolower(preg_replace("/[^a-zA-Z0-9]/", "", $field->label));
}

$tjfieldsFieldTable->store();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?php
/**
* @package TJ-UCM
* @subpackage com_tjucm
*
* @author Techjoomla <[email protected]>
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/

// No direct access
defined('_JEXEC') or die('Restricted access');

/**
* Migration file for TJ-UCM
*
* @since 1.2.4
*/
class TjHouseKeepingUpdateAlias extends TjModelHouseKeeping
{
public $title = "Update Types Alias";

public $description = 'Update UCM Types alias';

/**
* Subform migration script
*
* @return void
*
* @since 1.2.4
*/
public function migrate()
{
JTable::addIncludePath(JPATH_ROOT . '/administrator/components/com_tjucm/tables');
JTable::addIncludePath(JPATH_ROOT . '/administrator/components/com_menus/tables');
JLoader::import('components.com_tjfields.helpers.tjfields', JPATH_ADMINISTRATOR);

// TJ-Fields helper object
$tjfieldsHelper = new TjfieldsHelper;

$result = array();

try
{
// Get all the UCM types
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('*');
$query->from($db->qn('#__tj_ucm_types'));
$db->setQuery($query);
$ucmTypes = $db->loadObjectlist();

if (!empty($ucmTypes))
{
foreach ($ucmTypes as $ucmType)
{
$ucmTypeTable = JTable::getInstance('Type', 'TjucmTable', array('dbo', $db));
$ucmTypeTable->load($ucmType->id);

// Remove white spaces in alias of UCM types
$updatedAlias = JFilterOutput::stringURLSafe($ucmTypeTable->alias);
$ucmTypeTable->alias = $updatedAlias;
$ucmTypeTable->store();
}
}

// Get all the menus of UCM types
$query = $db->getQuery(true);
$query->select('*');
$query->from($db->quoteName('#__menu'));
$query->where(
$db->quoteName('link') . "=" . $db->quote('index.php?option=com_tjucm&view=itemform') .
"||" . $db->quoteName('link') . "=" . $db->quote('index.php?option=com_tjucm&view=items')
);
$db->setQuery($query);
$menuItems = $db->loadObjectlist();

if (!empty($menuItems))
{
foreach ($menuItems as $menuItem)
{
$menuItemTable = JTable::getInstance('Menu', 'MenusTable', array('dbo', $db));
$menuItemTable->load($menuItem->id);
$oldparams = json_decode($menuItemTable->params);

// Remove white spaces in alias of menus
if (isset($oldparams->ucm_type))
{
$oldparams->ucm_type = JFilterOutput::stringURLSafe($oldparams->ucm_type);
}

$menuItemTable->params = json_encode($oldparams);
$menuItemTable->store();
}
}

$result['status'] = true;
$result['message'] = "Migration successful";
}
catch (Exception $e)
{
$result['err_code'] = '';
$result['status'] = false;
$result['message'] = $e->getMessage();
}

return $result;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="filter">
<field name="search"
type="text"
hint="COM_TJUCM_SEARCH_FILTER_SUBMIT"
label="COM_USERS_FILTER_SEARCH_DESC"
class="js-stools-search-string" />

<field name="state"
type="status"
label="COM_TJUCM_FILTER_STATE"
description="COM_TJUCM_FILTER_STATE_DESC"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>
</fields>
</form>
17 changes: 11 additions & 6 deletions src/components/com_tjucm/administrator/models/forms/type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="ordering" />
<field name="title" type="text" maxlength="255" filter="raw" required="true" label="COM_TJUCM_FORM_LBL_TYPE_TITLE" description="COM_TJUCM_FORM_DESC_TYPE_TITLE" hint="COM_TJUCM_FORM_LBL_TYPE_TITLE" />
<field name="alias" type="text" class="inputbox" generator="title" label="COM_TJUCM_FORM_LBL_TYPE_ALIAS" description="COM_TJUCM_FORM_DESC_TYPE_ALIAS" hint="COM_TJUCM_FORM_LBL_TYPE_ALIAS" />
<field name="state" default="1" type="list" label="JSTATUS" description="JFIELD_PUBLISHED_DESC" class="inputbox" size="1">
<field name="state" default="1" type="list" filter="integer" label="JSTATUS" description="JFIELD_PUBLISHED_DESC" class="inputbox" size="1">
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
<option value="2">JARCHIVED</option>
Expand All @@ -21,23 +21,28 @@
<field name="modified_date" type="timecreated" label="COM_TJUCM_FORM_LBL_TYPE_MODIFIED_DATE" description="COM_TJUCM_FORM_DESC_TYPE_MODIFIED_DATE" hidden="true" hint="COM_TJUCM_FORM_LBL_TYPE_MODIFIED_DATE" />
<field name="version_note" type="text" label="JGLOBAL_FIELD_VERSION_NOTE_LABEL" description="JGLOBAL_FIELD_VERSION_NOTE_DESC" class="inputbox" size="45" labelclass="control-label" />
<fields name="params" label="COM_TJUCM_FORM_LBL_TYPE_PARAMS" description="COM_TJUCM_FORM_DESC_TYPE_PARAMS" hint="COM_TJUCM_FORM_LBL_TYPE_PARAMS">
<field name="is_subform" type="radio" class="btn-group" default="0" label="COM_TJUCM_FORM_LBL_TYPE_IS_SUBFORM" description="COM_TJUCM_FORM_DESC_TYPE_IS_SUBFORM" hint="COM_TJUCM_FORM_LBL_TYPE_IS_SUBFORM">
<field name="is_subform" type="radio" class="btn-group" filter="integer" default="0" label="COM_TJUCM_FORM_LBL_TYPE_IS_SUBFORM" description="COM_TJUCM_FORM_DESC_TYPE_IS_SUBFORM" hint="COM_TJUCM_FORM_LBL_TYPE_IS_SUBFORM">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="allowed_count" type="number" label="COM_TJUCM_FORM_LBL_TYPE_ALLOWED_COUNT" description="COM_TJUCM_FORM_DESC_TYPE_ALLOWED_COUNT" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOWED_COUNT" showon="is_subform:0" />
<field name="allow_auto_save" type="radio" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_ALLOW_AUTO_SAVE" description="COM_TJUCM_FORM_DESC_TYPE_ALLOW_AUTO_SAVE" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOW_AUTO_SAVE" showon="is_subform:0">
<field name="allowed_count" type="number" default="0" filter="integer" label="COM_TJUCM_FORM_LBL_TYPE_ALLOWED_COUNT" description="COM_TJUCM_FORM_DESC_TYPE_ALLOWED_COUNT" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOWED_COUNT" showon="is_subform:0" />
<field name="allow_auto_save" type="radio" filter="integer" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_ALLOW_AUTO_SAVE" description="COM_TJUCM_FORM_DESC_TYPE_ALLOW_AUTO_SAVE" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOW_AUTO_SAVE" showon="is_subform:0">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="allow_draft_save" type="radio" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_ALLOW_DRAFT_SAVE" description="COM_TJUCM_FORM_DESC_TYPE_ALLOW_DRAFT_SAVE" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOW_DRAFT_SAVE" showon="allow_auto_save:0[AND]is_subform:0">
<field name="allow_draft_save" type="radio" filter="integer" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_ALLOW_DRAFT_SAVE" description="COM_TJUCM_FORM_DESC_TYPE_ALLOW_DRAFT_SAVE" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOW_DRAFT_SAVE" showon="allow_auto_save:0[AND]is_subform:0">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="publish_items" type="radio" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_PUBLISH_ITEMS_BY_DEFAULT" description="COM_TJUCM_FORM_DESC_TYPE_PUBLISH_ITEMS_BY_DEFAULT" hint="COM_TJUCM_FORM_LBL_TYPE_PUBLISH_ITEMS_BY_DEFAULT">
<field name="publish_items" type="radio" filter="integer" class="btn-group" default="1" label="COM_TJUCM_FORM_LBL_TYPE_PUBLISH_ITEMS_BY_DEFAULT" description="COM_TJUCM_FORM_DESC_TYPE_PUBLISH_ITEMS_BY_DEFAULT" hint="COM_TJUCM_FORM_LBL_TYPE_PUBLISH_ITEMS_BY_DEFAULT">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="bitrate_on" type="radio" filter="integer" class="btn-group" default="0" label="COM_TJUCM_FORM_LBL_TYPE_ALLOW_BITRATE_ON" description="COM_TJUCM_FORM_DESC_LBL_TYPE_ALLOW_BITRATE_ON" hint="COM_TJUCM_FORM_LBL_TYPE_ALLOW_BITRATE_ON" showon="allow_auto_save:1[AND]is_subform:0">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="bitrate_seconds" type="number" label="COM_TJUCM_FORM_LBL_TYPE_BITRATE_SECONDS" description="COM_TJUCM_FORM_DESC_LBL_TYPE_BITRATE_SECONDS" hint="COM_TJUCM_FORM_LBL_TYPE_BITRATE_SECONDS" showon="bitrate_on:1"/>
<field name="layout" type="componentlayout" label="COM_TJUCM_FORM_LBL_TYPE_LAYOUT" description="COM_TJUCM_FORM_DESC_TYPE_LAYOUT" useglobal="true" extension="com_tjucm" view="itemform" />
<field name="details_layout" type="componentlayout" label="COM_TJUCM_DETAILS_LBL_TYPE_LAYOUT" description="COM_TJUCM_DETAILS_DESC_TYPE_LAYOUT" useglobal="true" extension="com_tjucm" view="item" />
<field name="list_layout" type="componentlayout" label="COM_TJUCM_LIST_LBL_TYPE_LAYOUT" description="COM_TJUCM_LIST_DESC_TYPE_LAYOUT" useglobal="true" extension="com_tjucm" view="items" />
Expand Down
13 changes: 0 additions & 13 deletions src/components/com_tjucm/administrator/models/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ class TjucmModelItem extends JModelAdmin
// Use imported Trait in model
use TjfieldsFilterField;

/**
* Constructor.
*
* @param array $config An optional associative array of configuration settings.
*
* @see JController
* @since 1.6
*/
public function __construct($config = array())
{
parent::__construct($config);
}

/**
* Get an array of data items
*
Expand Down
79 changes: 78 additions & 1 deletion src/components/com_tjucm/administrator/models/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

jimport('joomla.application.component.modeladmin');

use Joomla\CMS\MVC\Model\BaseDatabaseModel;

/**
* Tjucm model.
*
Expand Down Expand Up @@ -48,6 +50,9 @@ class TjucmModelType extends JModelAdmin
*/
public function __construct($config = array())
{
$config['event_after_delete'] = 'tjUcmOnAfterTypeDelete';
$config['event_change_state'] = 'tjUcmOnAfterTypeChangeState';

parent::__construct($config);
}

Expand Down Expand Up @@ -305,7 +310,8 @@ public function save($data)
}

// Remove white spaces from alias if any
$data['alias'] = str_replace(" ", "_", trim($data['alias']));
// $data['alias'] = str_replace(" ", "_", trim($data['alias']));
$data['alias'] = JFilterOutput::stringURLSafe($data['alias']);

if (!empty($data['id']))
{
Expand Down Expand Up @@ -362,6 +368,13 @@ public function save($data)

if (parent::save($data))
{
$id = (int) $this->getState($this->getName() . '.id');
$data['typeId'] = $id;
$dispatcher = JDispatcher::getInstance();
JPluginHelper::importPlugin('actionlog', 'tjucm');
$isNew = ($data['id'] != 0) ? false : true;
$dispatcher->trigger('tjUcmOnAfterTypeSave', array($data, $isNew));

return true;
}

Expand Down Expand Up @@ -531,4 +544,68 @@ public function delete(&$pks)

return true;
}

/**
* Method to validation before copy items
*
* @param object $sourceClient Source client.
* @param object $targetClient Tareget client.
*
* @return Boolean
*
* @since __DEPLOY_VERSION__
*/
public function getCompatibleUcmTypes($sourceClient, $targetClient)
{
$validUcmType = array();

if (!$sourceClient && !$targetClient)
{
return false;
}

// Get the source ucm type and target ucm type fields list
BaseDatabaseModel::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_tjfields/models');
$tjFieldsFieldsModel = BaseDatabaseModel::getInstance('Fields', 'TjfieldsModel', array('ignore_request' => true));

// Get source UCM Type fields
$tjFieldsFieldsModel->setState('filter.client', $sourceClient);
$sourceFields = $tjFieldsFieldsModel->getItems();

// Get destination UCM Type fields
$tjFieldsFieldsModel = BaseDatabaseModel::getInstance('Fields', 'TjfieldsModel', array('ignore_request' => true));
$tjFieldsFieldsModel->setState('filter.client', $targetClient);
$targetFields = $tjFieldsFieldsModel->getItems();

$count = 0;

if (count($sourceFields) == count($targetFields))
{
foreach ($sourceFields as $sourceField)
{
$prefix = str_replace(".", "_", $sourceClient);
$sourceFieldName = explode($prefix . "_", $sourceField->name);

foreach ($targetFields as $targetField)
{
$prefix = str_replace(".", "_", $targetClient);
$targetFieldName = explode($prefix . "_", $targetField->name);

// Check source and destination field name and field types are equal
if ($sourceFieldName == $targetFieldName && $sourceField->type == $targetField->type)
{
$count ++;
continue;
}
}
}
}

if (count($sourceFields) == $count)
{
return true;
}

return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function addToolbar()

$canDo = TjucmHelper::getActions();

JToolBarHelper::title(JText::_('COM_TJUCM_TITLE_ITEM'), 'item.png');
JToolBarHelper::title(JText::_('COM_TJUCM_TITLE_ITEM'), 'icon-pencil');

// If not checked out, can save the item.
if (!$checkedOut && ($canDo->get('core.edit') || ($canDo->get('core.create'))))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function addToolbar()
$state = $this->get('State');
$canDo = TjucmHelper::getActions();

JToolBarHelper::title(JText::_('COM_TJUCM_TITLE_ITEMS'), 'items.png');
JToolBarHelper::title(JText::_('COM_TJUCM_TITLE_ITEMS'), 'list');

// Check if the form exists before showing the add/edit buttons
$formPath = JPATH_COMPONENT_ADMINISTRATOR . '/views/item';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ protected function addToolbar()

$canDo = TjucmHelper::getActions();

JToolBarHelper::title(JText::_('COM_TJUCM_TITLE_TYPE'), 'type.png');
$component_title = JText::_('COM_TJUCM_COMPONENT');
JToolbarHelper::title(
$component_title . ": " . JText::_('COM_TJUCM_PAGE_' . ($checkedOut ? 'VIEW_TYPE' : ($isNew ? 'ADD_TYPE' : 'EDIT_TYPE'))),
'pencil-2 article-add'
);

// If not checked out, can save the item.
if (!$checkedOut && ($canDo->get('core.edit') || ($canDo->get('core.create'))))
Expand Down
Loading