1
ejykluang
Please help!!! How to move it?
  • 2005/12/2 1:38

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


Can anyone helps me to move the "Events" to the left side at the pic shows below.


Resized Image

2
rabideau
Re: Please help!!! How to move it?
  • 2005/12/2 3:00

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Did you modify one of the templates?

It looks like you may have a problem within the template that displays this page.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
ejykluang
Re: Please help!!! How to move it?
  • 2005/12/2 12:00

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


What template(Which template - notification or ...) can cause this ? Can you please tell me more? Thanks

4
hammered
Re: Please help!!! How to move it?
  • 2005/12/2 12:43

  • hammered

  • Just popping in

  • Posts: 4

  • Since: 2005/11/18


hi, do you need to edit the archive system_notification_list.html that this located in the folder modules > system. I

wait to have helped...

5
JMorris
Re: Please help!!! How to move it?
  • 2005/12/2 12:49

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, welcome to XOOPS!

As a general rule, you should never edit templates directly. Instead, you should clone your default template set and set your custom template set as active, then make your changes in the new template set. This gives you a falback in case things go bad with your edits.

To ensure your changes take affect, set Preferences Main »» General Settings »» "Update module template .html files from themes/your theme/templates directory?" to "Yes".

Go into the Template Set Manager, go to System under your new template set and edit the system_notification_list.html template.

After you're done making your changes, set "Update module template .html files from themes/your theme/templates directory?" to No and enjoy.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

6
ejykluang
Re: Please help!!! How to move it?
  • 2005/12/2 12:57

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


I don't modify anything.

Quote:

<h4><{$lang_activenotifications}></h4>
<form name="notificationlist" action="notifications.php" method="post">
<table class="outer">
<tr>
<th><input name="allbox" id="allbox" onclick="xoopsCheckGroup('notificationlist', 'allbox', 'del_mod[]');" type="checkbox" value="<{$lang_checkall}>" /></th>
<th><{$lang_event}></th>
<th><{$lang_category}></th>
<th><{$lang_itemid}></th>
<th><{$lang_itemname}></th>
</tr>
<{foreach item=module from=$modules}>
<tr>
<td class="head"><input name="del_mod[<{$module.id}>]" id="del_mod[]" onclick="xoopsCheckGroup('notificationlist', 'del_mod[<{$module.id}>]', 'del_not[<{$module.id}>][]');" type="checkbox" value="<{$module.id}>" /></td>
<td class="head" colspan="4"><{$lang_module}>: <{$module.name}></td>
</tr>
<{foreach item=category from=$module.categories}>
<{foreach item=item from=$category.items}>
<{foreach item=notification from=$item.notifications}>
<tr>
<{cycle values=odd,even assign=class}>
<td class="<{$class}>"><input type="checkbox" name="del_not[<{$module.id}>][]" id="del_not[<{$module.id}>][]" value="<{$notification.id}>" /></td>
<td class="<{$class}>"><{$notification.event_title}></td>
<td class="<{$class}>"><{$notification.category_title}></td>
<td class="<{$class}>"><{if $item.id != 0}><{$item.id}><{/if}></td>
<td class="<{$class}>"><{if $item.id != 0}><{if $item.url != ''}><a href="<{$item.url}>"><{/if}><{$item.name}><{if $item.url != ''}></a><{/if}><{/if}></td>
</tr>
<{/foreach}>
<{/foreach}>
<{/foreach}>
<{/foreach}>
<tr>
<td class="foot" colspan="5">
<input class="formbutton" type="submit" name="delete_cancel" value="<{$lang_cancel}>" />
<input class="formbutton" type="reset" name="delete_reset" value="<{$lang_clear}>" />
<input class="formbutton" type="submit" name="delete" value="<{$lang_delete}>" />
<input type="hidden" name="XOOPS_TOKEN_REQUEST" value="<{$notification_token}>" />
</td>
</tr>
</table>
</form>


7
JMorris
Re: Please help!!! How to move it?
  • 2005/12/2 13:01

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


That part of my reply was to hammered's question.

The rest of the reply *should* apply to your situation as well.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

8
hammered
Re: Please help!!! How to move it?
  • 2005/12/2 13:06

  • hammered

  • Just popping in

  • Posts: 4

  • Since: 2005/11/18


the line is this:

<th><{$lang_event}></th>

to modify:

<div align="left"><{$lang_event}></div>

9
ejykluang
Re: Please help!!! How to move it?
  • 2005/12/2 13:20

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


So sad, it is also like that....

Quote:

<h4><{$lang_activenotifications}></h4>
<form name="notificationlist" action="notifications.php" method="post">
<table class="outer">
<tr>
<th><input name="allbox" id="allbox" onclick="xoopsCheckGroup('notificationlist', 'allbox', 'del_mod[]');" type="checkbox" value="<{$lang_checkall}>" /></th>
<div align="left"><{$lang_event}></div>
<th><{$lang_category}></th>
<th><{$lang_itemid}></th>
<th><{$lang_itemname}></th>
</tr>
<{foreach item=module from=$modules}>
<tr>
<td class="head"><input name="del_mod[<{$module.id}>]" id="del_mod[]" onclick="xoopsCheckGroup('notificationlist', 'del_mod[<{$module.id}>]', 'del_not[<{$module.id}>][]');" type="checkbox" value="<{$module.id}>" /></td>
<td class="head" colspan="4"><{$lang_module}>: <{$module.name}></td>
</tr>
<{foreach item=category from=$module.categories}>
<{foreach item=item from=$category.items}>
<{foreach item=notification from=$item.notifications}>
<tr>
<{cycle values=odd,even assign=class}>
<td class="<{$class}>"><input type="checkbox" name="del_not[<{$module.id}>][]" id="del_not[<{$module.id}>][]" value="<{$notification.id}>" /></td>
<td class="<{$class}>"><{$notification.event_title}></td>
<td class="<{$class}>"><{$notification.category_title}></td>
<td class="<{$class}>"><{if $item.id != 0}><{$item.id}><{/if}></td>
<td class="<{$class}>"><{if $item.id != 0}><{if $item.url != ''}><a href="<{$item.url}>"><{/if}><{$item.name}><{if $item.url != ''}></a><{/if}><{/if}></td>
</tr>
<{/foreach}>
<{/foreach}>
<{/foreach}>
<{/foreach}>
<tr>
<td class="foot" colspan="5">
<input class="formbutton" type="submit" name="delete_cancel" value="<{$lang_cancel}>" />
<input class="formbutton" type="reset" name="delete_reset" value="<{$lang_clear}>" />
<input class="formbutton" type="submit" name="delete" value="<{$lang_delete}>" />
<input type="hidden" name="XOOPS_TOKEN_REQUEST" value="<{$notification_token}>" />
</td>
</tr>
</table>
</form>

10
jdseymour
Re: Please help!!! How to move it?

After making the changes (if using cloned templates) go to System Admin -Preferences - General Settings and select Yes by "Update module template .html files from themes/your theme/templates directory?"

Turn it back off after your changes show.

Login

Who's Online

179 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 179


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits