If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
Hi there. I want to stick the news envelope up next to the Continue button on the Metallic 2006 left skin. I'm knee deep in xml and have got lost, anyone with any clues?
It should be possible, open footer.xml and copy these lines:
<pre class="ip-ubbcode-code-pre"> <!-- new news --> <container><attachment class="test_global_attachment" get_property="mgru" value="-1" set_property="hidn" skip_if_null="false" skip_if_resetting="false" priority="1"/> <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="2"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" layout_children="true" /> <layout class="centre_in_parent_attachment" alignment="all" inset="0" layout_children="true" priority="1" /> <layout class="fit_children_attachment" alignment="all" offset="0"/> <!-- the normal "no news" icons this gets hidden if there is "new news"--><widget class="action_button" id="news" appearance="notifications/news" auto_size="all"> <event id="click_event" event_id="NEWS" event_target="scrn"/> <attachment class="test_global_attachment" get_property="mgru" mode="1" value="0" set_property="hidn"/> </widget> <!-- the new news icon, this gets hidden if there is no new news --><widget class="action_button" id="news" appearance="notifications/new news" auto_size="all"> <event id="click_event" event_id="NEWS" event_target="scrn"/> <attachment class="test_global_attachment" get_property="mgru" mode="0" value="0" set_property="hidn"/> <attachment class="get_global_attachment" get_property="mgru" set_property="hint"/> </widget> </container></pre>
Paste the code above into the header.xml file, you may need to adjust this code:
To arrange the news icon where you want - currently alinged to the left of the screen. It may need some playing around as the header seems to like stuff arranged in a certain way - may be best to paste it into one of the existing containers - navigation or menus, or just above these.