Giorgi625 VIP
Total posts: 655
29 Авг 2017 08:17

In markup toolbar Cobalt has item My menu which has dropdown menu. When I chose any of this dropdown menu's items I get page with different tempalte then my Section list pages. from where I can change it's design?

I found only one file

com_cobalt/views/records/tmpl/default_user_block

Is this the only file which I must edit to give that pages view I want?

is not it possible to create copy of this file and edit it set that file as a user mene template?


Sergey
Total posts: 13,748
29 Авг 2017 11:28

Giorgi625 Is this the only file which I must edit to give that pages view I want?

I think so.

Giorgi625 is not it possible to create copy of this file and edit it set that file as a user mene template?

  1. Create your own markup template.
  2. Find in template line 39 <?php echo $this->loadTemplate('user_block');?> and change to <?php echo $this->loadTemplate('my_user_block');?>
  3. Copy default_user_block.php to default_my_user_block.php
  4. Now you can safely edit.

Giorgi625 VIP
Total posts: 655
29 Авг 2017 13:05

Great, thanks

Работает на Cobalt