equal
deleted
inserted
replaced
101 |
101 |
102 How to change the instance logo ? |
102 How to change the instance logo ? |
103 --------------------------------- |
103 --------------------------------- |
104 |
104 |
105 The logo is managed by css. You must provide a custom css that will contain |
105 The logo is managed by css. You must provide a custom css that will contain |
106 the code below: |
106 the code below: |
107 |
107 |
108 :: |
108 :: |
109 |
109 |
110 #logo { |
110 #logo { |
111 background-image: url("logo.jpg"); |
111 background-image: url("logo.jpg"); |
112 } |
112 } |
113 |
113 |
114 |
114 |
169 |
169 |
170 I get `NoSelectableObject` exceptions, how do I debug selectors ? |
170 I get `NoSelectableObject` exceptions, how do I debug selectors ? |
171 ----------------------------------------------------------------- |
171 ----------------------------------------------------------------- |
172 |
172 |
173 You just need to put the appropriate context manager around view/component |
173 You just need to put the appropriate context manager around view/component |
174 selection. One standard place for components is in cubicweb/vregistry.py: |
174 selection. One standard place for components is in cubicweb/vregistry.py: |
175 |
175 |
176 .. sourcecode:: python |
176 .. sourcecode:: python |
177 |
177 |
178 def possible_objects(self, *args, **kwargs): |
178 def possible_objects(self, *args, **kwargs): |
179 """return an iterator on possible objects in this registry for the given |
179 """return an iterator on possible objects in this registry for the given |