Where is sidebar module code is located?
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Where is sidebar module code is located? |
|
appelflap
Joined: 2009-06-16
Posts: 23 |
![]() |
What do you mean with 'sidebar code'? There are many different places where code is stored that can appear in the sidebar. If you only want to change the looks you have to change your theme: themes/enteryourthemenamehere/views/sidebar.html.php . It contains the part that calls the different sidebar blocks. The blocks that are shown depend on your custom site configuration. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Main code, one which populates list of known widgets. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
So in your template you call $theme->sidebar_blocks() and that calls Theme_View::_call("sidebar_blocks") which is located here: That code in turn calls xxx_theme::sidebar_blocks() on every individual module's theme class, eg the image_block theme helper: --- |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Thanks! |
|