11
chefry
Re: Sitemap new pages
  • 2010/6/4 9:46

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


actually it's a bunch of cloned WRAPS modules I want to add to the sitemap

12
DonCurioso
Re: Sitemap new pages

Hi,

recommend to use Quick Pages, you´ll find a good module there

Regards
HispaXoops | Xoops España

That's the way i like it! | Nada mejor que una Alhambra bien helada con aceitunas...

13
chefry
Re: Sitemap new pages
  • 2010/8/19 16:43

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I tried doing a plugin for publisher, but it's not working.

Any ideas? What am I doing wrong? I just modified the smartsection plugin to make it

Quote:

// Desc: Sitemap Plugin for Publisher
// Author: karedokx (karedokx@yahoo.com)

function b_sitemap_publisher(){
$xoopsDB =& Database::getInstance();

$block = sitemap_get_categoires_map($xoopsDB->prefix("publisher_categories"), "categoryid", "parentid", "name", "category.php?categoryid=", "weight");

return $block;
}

?>

14
trabis
Re: Sitemap new pages
  • 2010/8/19 17:54

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


It looks good, maybe you forgot to change the file name to publisher.php

15
chefry
Re: Sitemap new pages
  • 2010/8/19 19:26

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


nope, did that

And i updated the sitemap module in the control panel

It belongs in the sitemap>>plugins subdir, right?

16
trabis
Re: Sitemap new pages
  • 2010/8/19 20:08

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I've tested your code on my localhost and it works fine.
If your sitemap module display other modules, then:
- you have a typo on publisher.php filename
- your publisher.php does not have read permissions
- you don't have publisher installed

17
chefry
Re: Sitemap new pages
  • 2010/8/20 7:09

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


the file is named publisher.php
permissions are set to 777
publisher is installed

18
trabis
Re: Sitemap new pages
  • 2010/8/20 16:29

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I believe you have to set publisher to show in mainmenu.
Go to modules admin and set 'order' (or 'weight') to a number higher than 0.

19
chefry
Re: Sitemap new pages
  • 2010/8/20 17:18

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


You're right

that fixed it

Thanks Trabis

20
moorels
Re: Sitemap new pages
  • 2011/8/14 12:32

  • moorels

  • Just popping in

  • Posts: 1

  • Since: 2011/8/14


yes you will need to make a site-map plugin for each module

cheers

Login

Who's Online

325 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

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

Latest GitHub Commits