Skip to content
Snippets Groups Projects
Commit aeecca16 authored by echicken's avatar echicken :chicken:
Browse files

Include path component of .link pages in menus/submenus.

Probably resolves the "Invalid page" problem reported by W6RAY.
parent 7e5ab9ab
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -19,7 +19,7 @@
?>
<li>
<?xjs if (e.type == 'link') { ?>
<a class="dropdown-item" href="./?page=<?xjs write(e.page); ?>" target="_blank">
<a class="dropdown-item" href="./?page=<?xjs write((path || '') + e.page); ?>" target="_blank">
<?xjs } else { ?>
<a class="dropdown-item" href="./?page=<?xjs write((path || '') + e.page); ?>">
<?xjs } ?>
......
  • That did indeed resolve the issue. The .link files work as they should.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment