Hi all -
In a previous installation, we found it very useful to utiltize Tokens as part of each page's title and meta descriptions in a "template site". Then when we copied that DNN portal to create individual franchise sites that used the same set of pages, the page title and meta description would include unique site names rendered from the token ( [Portal:PortalName], etc.), so a page title of "Advanced Cisco Training from [Portal:PortalName]" could replace the token with the specific portal name.
I've realized that functionality of being able to use tokens in the page meta was a function of DNNSharp MyTokens, which is no longer available as a standalone product. Is anyone aware of some open source equivalent add-on to get that functionality?
Thanks! David
Hi Timo,
Thanks for directing me to your Style Helper skin object! I can see where that will be really useful for many purposes.
If I'm understanding your ChangeMeta attribute demo correctly, it looks like it would be basically replacing the default (or user-defined) DNN page title or meta description with whatever content I created within the skin, and could use any of the standard DNN tokens to construct that? Would there be any way to incorporate the text that has been user-created for the page within the page properties and perhaps prefix that with a token value? We'd still like to be able to customize the page titles and meta descriptions per-page, but then include a token value.
I can vouch for Will's token-definition tools created within OpenContent working well when specifically designed to be used within other purpose-built templates he created!
Posted By David Fenske on 10/22/2024 4:56 PM Hi Timo, Thanks for directing me to your Style Helper skin object! I can see where that will be really useful for many purposes. If I'm understanding your ChangeMeta attribute demo correctly, it looks like it would be basically replacing the default (or user-defined) DNN page title or meta description with whatever content I created within the skin, and could use any of the standard DNN tokens to construct that? Would there be any way to incorporate the text that has been user-created for the page within the page properties and perhaps prefix that with a token value? We'd still like to be able to customize the page titles and meta descriptions per-page, but then include a token value. Thanks! David
Well, not exactly that way... The StyleHelper target controls in default.aspx (you pass their ID) There are some for the Meta tags, but the title is injected in another way. Because the Title is injected in another way, SH currently does nto support changing it. (could be a useful addition though ;-)
Also SH does not implement full token replace support, but a limited set of tokens you can find here: https://www.40fingers.net.../DNN-Stylehelper#493
HTH Timo
I have updated the documents https://docs.rocket-cds.o...gration/Rocket-Tools It's not exactly what you ask for, but I think the Page localization is a good way to deal with SEO even when there is only 1 language.
Hi David,
Rocket Tools looks like an amazing project - lots of features. I think for the small functionality I'm looking for, it's a bit too much to get into, but I'll keep it in mind for future projects!
Thanks, David
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.