13
Kellymac send me a PM about this thread, so i'll post it here:
Quote:
Kellymac, i sure did figure it out. What exactly do you want to do? If you want to remove everything but the 'post reply' button as i wanted, it's a matter of hack&slash. I simply removed everything i didn't have any use for:
(this is XOOPS 2.0.10 don't know if anything changed here, i assume not)
original:
// assign comment nav bar
$navbar = '
';
$xoopsTpl->assign(array('commentsnav' => $navbar, 'editcomment_link' => 'comment_edit.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra, 'deletecomment_link' => 'comment_delete.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra, 'replycomment_link' => 'comment_reply.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra));
// assign some lang variables
$xoopsTpl->assign(array('lang_from' => _CM_FROM, 'lang_joined' => _CM_JOINED, 'lang_posts' => _CM_POSTS, 'lang_poster' => _CM_POSTER, 'lang_thread' => _CM_THREAD, 'lang_edit' => _EDIT, 'lang_delete' => _DELETE, 'lang_reply' => _REPLY, 'lang_subject' => _CM_REPLIES, 'lang_posted' => _CM_POSTED, 'lang_updated' => _CM_UPDATED, 'lang_notice' => _CM_NOTICE));
}
}
My version:
// assign comment navbar
$navbar = '
';
$xoopsTpl->assign(array('commentsnav' => $navbar, 'editcomment_link' => 'comment_edit.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra, 'deletecomment_link' => 'comment_delete.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra, 'replycomment_link' => 'comment_reply.php?com_itemid='.$com_itemid.'&com_order='.$com_order.'&com_mode='.$com_mode.''.$link_extra));
// assign some lang variables
$xoopsTpl->assign(array('lang_from' => _CM_FROM, 'lang_joined' => _CM_JOINED, 'lang_posts' => _CM_POSTS, 'lang_poster' => _CM_POSTER, 'lang_thread' => _CM_THREAD, 'lang_edit' => _EDIT, 'lang_delete' => _DELETE, 'lang_reply' => _REPLY, 'lang_subject' => _CM_REPLIES, 'lang_posted' => _CM_POSTED, 'lang_updated' => _CM_UPDATED, 'lang_notice' => _CM_NOTICE));
}
}
But be careful in using it. for example, i removed the
tags containing the form, This will screw up your templates. So according to your needs, change it accordingly (like adding tables).
I am the BEST.......... at overstating things! -
14
Quote:
dargosch wrote:
Ooops.. sorry landon,
I should have told you that Swedish is my native language, so I did know what that message meant, semantically.
I was just wondering if someone on this forum had more info regarding when it is to be re-opened.
/Fredrik
lol, that's ok, I like making a fool of myself
I am the BEST.......... at overstating things! -
15
underhall is like overhall, or maintance. oppnar 2005-08-15 is something like opening in 2005-08-15.
So it's closed for an upgrade and was suppost to be reopened 4 days ago
I am the BEST.......... at overstating things! -
16
You have to place it in theme.html. That file is used for displaying all pages within xoops.
I am the BEST.......... at overstating things! -
17
for renaming a module, see this
FAQ.
The searchpage look is afaik not templated but hardcoded. So making any changes there would come down to hacking the search.php itself.
I am the BEST.......... at overstating things! -
18
I am the BEST.......... at overstating things! -
19
Someone at dutch support had the same problem, are you using PHP5? PHP5 is not supported. The creator did say he'd update it.
I am the BEST.......... at overstating things! -
20
If nothing changed at all i'm guessing you indeed used the wrong theme to make this edit. It should at least show the image. Check theme dir and try to make this change in the theme.css rather then the theme.html file. look for the class toptable and edit the background there.
I am the BEST.......... at overstating things! -
185 user(s) are online (124 user(s) are browsing Support Forums)
Members: 0
Guests: 185
more...
Stats |
Goal: |
AU$15.00 |
Due Date: |
Jul 31 |
Gross Amount: |
AU$0.00 |
Net Balance: |
AU$0.00 |
Left to go: |
AU$15.00 |
|