- Posts: 10
COMMUNITY FORUM
change order of tabs in Add Item window
- Tamas Darvas
- Topic Author
- Offline
- New Member
Less
More
14 years 8 months ago #79640
by Tamas Darvas
change order of tabs in Add Item window was created by Tamas Darvas
How can I change the order of the tabs, which are displayed in the Add Item window?E.g.: I want Extra Fields on the first place. Already tried to mess with ./views/item/tmpl/form.php around line 351 and shuffle the <li> tags. Doing that I was able to change to tab order, but the content under the tabs did not relocate, so it was a mess.Any thoughts?
Please Log in or Create an account to join the conversation.
- Gobezu Sewu
- Offline
- Senior Member
14 years 8 months ago #79641
by Gobezu Sewu
Replied by Gobezu Sewu on topic change order of tabs in Add Item window
not without hacking the admin views
have a look at administrator\components\com_k2\views\item\tmpl\default.php
starting from row # 247 and downwards
don't forget to keep the tab-bar itself (found on row # 249-259) in the same order as the contents
have a look at administrator\components\com_k2\views\item\tmpl\default.php
starting from row # 247 and downwards
don't forget to keep the tab-bar itself (found on row # 249-259) in the same order as the contents
Please Log in or Create an account to join the conversation.
- Gobezu Sewu
- Offline
- Senior Member
14 years 8 months ago #79642
by Gobezu Sewu
Replied by Gobezu Sewu on topic change order of tabs in Add Item window
hey forgot to tell, for the front end you would need to check
com_k2\views\item\tmpl\form.php
but starting at row # 350
com_k2\views\item\tmpl\form.php
but starting at row # 350
Please Log in or Create an account to join the conversation.
- Tamas Darvas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
14 years 8 months ago #79643
by Tamas Darvas
Replied by Tamas Darvas on topic change order of tabs in Add Item window
Thanks for the tips (also thanks for the answers to my other 2 questions in the separate threads), I will check and do what you recommended.
Gobezu Sewu said:hey forgot to tell, for the front end you would need to check com_k2\views\item\tmpl\form.php
but starting at row # 350
Gobezu Sewu said:hey forgot to tell, for the front end you would need to check com_k2\views\item\tmpl\form.php
but starting at row # 350
Please Log in or Create an account to join the conversation.
- Tamas Darvas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
14 years 8 months ago #79644
by Tamas Darvas
Replied by Tamas Darvas on topic change order of tabs in Add Item window
still not working see uploaded file with the modified order in both files: tabs.txt
Please Log in or Create an account to join the conversation.
- Tamas Darvas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
14 years 8 months ago #79645
by Tamas Darvas
Replied by Tamas Darvas on topic change order of tabs in Add Item window
Hi, not sure if you had time to check out my previous reply with the doc attached, stating, that the re-ordering is still a problem. Whenever you you have a minute... Thanks.
Gobezu Sewu said:hey forgot to tell, for the front end you would need to check com_k2\views\item\tmpl\form.php
but starting at row # 350
Gobezu Sewu said:hey forgot to tell, for the front end you would need to check com_k2\views\item\tmpl\form.php
but starting at row # 350
Please Log in or Create an account to join the conversation.