-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Menu external links #4053
Conversation
CREATE TABLE `menu_links` ( | ||
`linkId` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, | ||
`linkName` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, | ||
`linkUri` text COLLATE utf8_unicode_ci NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about linkOrder so they can be sequenced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
@@ -25,7 +25,7 @@ private static function renderMenuItem(MenuItem $menuItem) | |||
{ | |||
?> | |||
<li> | |||
<a href="<?= $menuItem->getURI() ?>"> | |||
<a href="<?= $menuItem->getURI() ?>" <?= $menuItem->isExternal() ? "target='_blank'" : "" ?>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
this looks good - merge when you're happy with it. Still need a way to create links. |
What's this PR do?
Screenshots (if appropriate)
What Issues does it Close?
Closes #2028
Any background context you want to provide?
Some users wants external links built into the CRM.
Where should the reviewer start?
How should this be manually tested?