Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyayak authored Jun 1, 2022
1 parent 5321246 commit e3629d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@

2) Set up the sitemap.php file
- [ ] Set up all infoblocks so that they correctly form links to pages.
-[ ] Enable All infoblocks that need to be output to a file
- [ ] Enable All infoblocks that need to be output to a file
`php
$arBlocks[] = array(
'IBLOCK_ID' => 1,
'SECTION' => 'Y',
'DETAIL' => 'Y'
);
`
-[ ] Add all menu files used on the site
- [ ] Add all menu files used on the site

`
$sitemap->AddPagesFromMenuFile('.top.menu.php', $http.$host);
`
-[ ] Add Pages
- [ ] Add Pages
`
$sitemap->AddPage($http.$host.'/stock/');
`
-[ ] Add ignored pages (pages that should not be included in the file)
- [ ] Add ignored pages (pages that should not be included in the file)
`
$sitemap->AddIgnorePage($http.$host.'/hidden/');
`
Expand Down

0 comments on commit e3629d7

Please sign in to comment.