61
shank
Re: New link into Main menu
  • 2005/12/2 1:11

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


You'll have to use a cloned template set, and add the new links into the template for system main menu.
s l s h a n k l e @ b e l l s o u t h . n e t



62
shank
Re: New messages in theme as smarty; how to?
  • 2005/12/1 2:55

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Save this code as insert.pms.php in the class/smarty/plugins/ folder

<?
function 
smarty_insert_pms()
{
GLOBAL 
$xoopsUser;
$pm_handler =& xoops_gethandler('privmessage');
$uid $xoopsUser->getVar('uid');
$criteria = new CriteriaCompo(new Criteria('read_msg'0));
$criteria->add(new Criteria('to_userid'$uid));
$msgcount $pm_handler->getCount($criteria);
$GLOBALS['xoopsTpl']->assign('msgcount'$msgcount);
}
?>


and in your theme place this code wherever you want thealert to show
<{insert name="pms"}>
<
a href="<{$xoops_url}>/viewpmsg.php">
<{if 
$msgcount 0}>
<{if 
$msgcount 1}>You Have <{$msgcount}> New Messages
<{else}>You have <{$msgcount}> New Message
<{/if}>
<{else}>Private 
Messages
<{/if}></a>
s l s h a n k l e @ b e l l s o u t h . n e t



63
shank
Looking for help building a module
  • 2005/11/28 2:51

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


I am trying to design a module and thought I could figure it out, but it seems to be more than I bargained for.

I can do it with lots of php files and stuff, but would like to make it a real XOOPS module.

I downloaded a skeleton module from xoopermod or whatever it is.

The concept of the module if fairly simple I think.

It is going to be a list of rock climbing routes, but could be used for almost anything that needed to be organized by geographical location I believe.

Is any one willing to give it a look and point me in the right direction?
s l s h a n k l e @ b e l l s o u t h . n e t



64
shank
Re: Automatic alignment...How can I do this?
  • 2005/9/11 3:10

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Set it to 100% instead of a pixel measurement
s l s h a n k l e @ b e l l s o u t h . n e t



65
shank
Re: Change to theme problem!
  • 2005/9/11 2:51

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Go to Admin, System, Preferances. And set it to update templates from them folder.

Also clean out the template_c folder, and do forget to change the preferance back when you get done.
s l s h a n k l e @ b e l l s o u t h . n e t



66
shank
Re: What modules to use for a dealer site ?
  • 2005/9/9 17:58

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Quote:

Know, any tutorial on wrapping pages within the layout ?


Try This.
s l s h a n k l e @ b e l l s o u t h . n e t



67
shank
Re: What modules to use for a dealer site ?
  • 2005/9/9 2:23

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Not sure about the first module, maybe wfsections. Maybe someone will make a suggestion for you on to.

Xoops2.0.13.1 comes with a links module I think.
xcgallery is a good photos module
There is a news module also with 2.0.13.1
What do you mean by "technical info"?
For an about us, personally I would just creat an aboutus.php file and wrap it into the XOOPS layout.
Probably the same with policy
And contactplus is a good contact us module.


Hope that helps.

There are lots of modules in the repository. Install xoops, and try them out. I am sure you will probably find the ones you need.

Let us know.

Steve
s l s h a n k l e @ b e l l s o u t h . n e t



68
shank
Re: Member list
  • 2005/9/8 23:03

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


s l s h a n k l e @ b e l l s o u t h . n e t



69
shank
Re:cell phone identifier / pda.php
  • 2005/9/8 22:52

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Anyone still workin on this besides me?
s l s h a n k l e @ b e l l s o u t h . n e t



70
shank
Re: strange bar on top...
  • 2005/8/30 17:11

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


no problem
s l s h a n k l e @ b e l l s o u t h . n e t




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 15 »



Login

Who's Online

157 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits