71
Runeher
Re: <link rel="image_src" href="" />
  • 2010/6/15 17:02

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Ok, I found the solution and it turned out to be an easy one...lol

if(isset($xoTheme) && is_object($xoTheme)) 
$xoTheme->addLink'image_src" type="image/jpeg" href="'.XOOPS_URL.'/modules/yourmodule/images/someimage.jpg');
}


If you use this in core.php in preloads or directly in index.php before

include_once XOOPS_ROOT_PATH."/footer.php";


you will control how a link from the module (index.php if you only add it there) will show on ie. Facebook, etc... instead of the option of scrolling through 15 unrelevant images from the site... :)



72
Runeher
Re: Sliders module - Bug report
  • 2010/6/15 7:07

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


actually it should be:

<img src="<{$xoops_url}>/modules/slider/images/slides.png" alt="" />
... :)



73
Runeher
Re: a very simple question
  • 2010/6/15 7:02

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


So you see... XOOPS is never stuck... :)



74
Runeher
Re: "Custom" Change themes in header
  • 2010/6/15 6:55

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


You can link images tohttp://yoursite.com/?xoops_theme_select=theme_color_1

and so on... theme_color_1 being the name of your first theme...

if you are using it as xoops banner you need to hack the _blank in banner system to prevent it from opening in a new window...

(If I understand you correctly...lol)



75
Runeher
Re: a very simple question
  • 2010/6/15 6:41

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Or make a 'blank' module and assign the block to show only in that module... Then you can edit the module from blocks admin... ;)




76
Runeher
Re: Paid Work - Finish of an module
  • 2010/6/10 17:56

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


There is also a list of people that you can contact... :)



77
Runeher
Re: How to get block name
  • 2010/6/10 13:11

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


$modversion['blocks'][1]['file'] = "your_module_block.php";
$modversion['blocks'][1]['name'] = "Name of Block"
$modversion['blocks'][1]['description'] = "Description of Block"
$modversion['blocks'][1]['show_func'] = "your_module_show";


in xoops_version.php ?



78
Runeher
PHP is 15 years
  • 2010/6/9 12:31

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


PHP was released by Rasmus Lerdorf on June 8, 1995. His original usenet post is still available online :)



79
Runeher
Webcam module - Need testers...
  • 2010/6/8 18:11

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Hi, I'm composing a webcam module to take a webcam shot of the visitor and save it in a gallery...
Hopefully the english is ok, but if it sounds 'norwegian' please do tell me...lol
If you have any kind of problem, please let me know...

Test it here!



80
Runeher
Re: Hey Guys
  • 2010/6/7 12:27

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


oh, ok, thanks for clearing that up... got puzzled here for a moment... :)

wizzkid, just install news module and test it out... you can add as many new pages as you like... blocks are more static... :)




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 47 »



Login

Who's Online

135 user(s) are online (98 user(s) are browsing Support Forums)


Members: 1


Guests: 134


heyula,

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