Skip to content

Commit

Permalink
Merge pull request #85 from ventrian/feature/New-token-PORTALALIAS
Browse files Browse the repository at this point in the history
new token portalalias
  • Loading branch information
skamphuis authored Dec 22, 2023
2 parents a8bf166 + 3583057 commit e46847d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Components/Layout/TokenProcessor.vb
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@ Namespace Ventrian.NewsArticles
objLiteral.Text = GetModuleLink("MyArticles", moduleContext)
objPlaceHolder.Add(objLiteral)

Case "PORTALALIAS"
Dim objLiteral As New Literal
objLiteral.Text = PortalController.Instance.GetCurrentPortalSettings().PortalAlias.HTTPAlias
objPlaceHolder.Add(objLiteral)


Case "RSSLATESTLINK"
Dim objLiteral As New Literal
Dim authorIDParam As String = ""
Expand Down
Binary file added Installs/NewsArticles.00.13.03.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# News-Articles
This module was originally created by Scott McCulloch of Ventrian.
He made the module open source and put it on GitHub.
After that the module was mainly maintained by [40FINGERS](https://www.40fingers.net/).
After that the was mainly maintained by [40FINGERS](https://www.40fingers.net/).
40FINGERS decided to convert their existing clients to [Open Content](https://opencontent.readme.io/) and stopped using and supporting this module as of 2022-10-01.

So, there is currently no active development for this module.
If someone is wiling to support the module, please contact Scott for access rights.
So there is currently no active development for this module.
If you want to support the module, please contact Scott.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion Templates/Standard/Menu.Item.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Menu.Item -->
<!-- Menu.Item [PORTALALIAS] -->
<div class="Normal" align="center">
[ISSYNDICATIONENABLED]
<span style="float: right;">
Expand Down

0 comments on commit e46847d

Please sign in to comment.