1
radarx
$link.title - What Needs done
  • 2004/3/27 2:00

  • radarx

  • Just popping in

  • Posts: 19

  • Since: 2004/3/23


in the mylinks section, there's a little function that goes something like this:

<{$link.title}>

I need to know how to edit what that spits out.

Please direct me to the right area, I cannot find the damn thing.

2
Mithrandir
Re: $link.title - What Needs done

It is not a function - it is a Smarty way of outputting a variable; in your case it is the title index of the link array.

If you need to edit it, you should go tot the PHP page feeding the template and find where it assigns a value to this array index.

3
radarx
Re: $link.title - What Needs done
  • 2004/3/27 18:24

  • radarx

  • Just popping in

  • Posts: 19

  • Since: 2004/3/23


Cool. Which php page is feeding it though? I can't find it. I've searched the
/public_html/modules/mylinks/
module folder, and can't seem to find it. Is it outside the module folder?

I thought it would be in /public_html/modules/mylinks/include, but still nothing.

I must be missing something simple.

4
Dave_L
Re: $link.title - What Needs done
  • 2004/3/27 20:26

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


If what you want to change is in a block, you can identify the .php file using xoops_version.php. Look for the $modversion['blocks'] definitions.

If it's not a block that you want to change, the .php file will be in the URL when you view the page.

5
builderb
Re: $link.title - What Needs done
  • 2004/3/27 21:22

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


it depends on where you want it to be changed. There are basically three files that defind the "title" tag. /mylinks/index.php and /mylinks/viewcat.php and /mylinks/singlelink.php

If you can provide more detail on what you want to output I can tell you exactly what you need to do.

Builderb

6
radarx
Re: $link.title - What Needs done
  • 2004/3/28 0:38

  • radarx

  • Just popping in

  • Posts: 19

  • Since: 2004/3/23


Got it all figured out.

In case anyone would like to know this for future reference, in the php files that feed the templates (in the case of the mylinks module they are the index.php, singlelink.php, and viewcat.php)

You need to remove the following:

$new = newlinkgraphic($time, $status);
$pop = popgraphic($hits);

From all the files.

They have their own lines, and are close to the bottom.

The more I work with xoops, the more I love it. Not only does this community kick ass, its far far easier to work with than anything I've ever used before.

You can check out all the work I'm doing with XOOPS to customize it to my needs athttp://www.beated.com (still a work in progress)

Or at another page of minehttp://www.rantmorgan.com

Login

Who's Online

170 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 170


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