I'm trying to figure out how to created localized text using the $custom_sms_text in the TextMeTheApp feature in Branch.io
Am I correct that I need to setup a separate link for each language in order to use this?
The value you ass to the $custom_sms_text is valid only for that link. So if you wish to have content in different languages, you will have to create an individual link for each language and add $custom_sms_text parameter to each link.
Related
I'm trying to add a link to a button in Shopify, but I can't get it to work.
I created a new template file in Templates called "page.alternate.liquid"
Then I try to link to it from header using this:
LINK
The output doesn't add any link at all, just a regular text.
To view an alternate template, you have two options:
1) On the resource in question, choose the template that the resource should default to using the selector on the right-hand side.
(Note: this only shows if you have at least 1 appropriate alternate theme in the live theme, and will only list the alternate templates in the currently-live theme)
2) When linking to the resource, add view=<template-suffix> to the querystring of the link.
Example: To link to an alternate page template templates/page.inverted_colours.liquid, your link URL would be /pages/about-us?view=inverted_colours
In your case in the question, that would look something like LINK
This article on Shopify partners blog might help as well: https://www.shopify.ca/partners/blog/shopify-alternate-templates
Hope this helps!
By default shopify creates all links in the format of .../products/a-pair-of-wolves
I want to change all links and create any future links in the format of .../products/a+pair+of+wolves
Is there a way to do this without using url redirects?
This is not possible. Shopify removes special characters and format it in nicer way for CEO.
Eg: if you pass black+passport+c+ # -- yo &cover as handle (using admin panel or REST API) you will get black-passport-c-yo-cover.
I am trying to create a simple bbcode-enabled text-editor with just couple codes, but I need to create some custom codes and buttons for them such as [cut=#{line}]#{text}[/cut] and [talk]#{text}[/talk].
And I could not find any manual showing how to do that in markitup.
UPDATE
I'm using rails on server-side and I have already set up bb-ruby to treat those custom bb-codes safely, I just need to include them in the markitup setup.
You can download a BBCODE Set and add your custom button to it.
The documentation , section Magic Markups is explaining how to add and customize buttons.
I'm looking for a solution for a problem...
I need a Sharepoint Field wich contains multiple link, stored in a simple way (like ';' separation).
Does anybody know if there are project 'bout custom field with multiple link and Asset picker to choose the link?
I'd like to use the Asset Picker to choose a single link, and then catch the result and append it to my custom field value.. I googled a lot looking for "how" call the asset picker from code... I hope is something like a simple dialog, but i cannot understand how to do it!
Thanks for any suggestion (about projects similar to this or how to use the asset picker)!!
I've generated a website documentation of my project with Sandcastle. This website uses frames so when I click though sites my URL in browser does not change.
I would like to have URL changed in browser when I browse through website documentation generated with Sandcastle. Why? Because I would like to link to concrete subpages of documentation from other parts of my developer environment.
And further more I would like to have this links permanent. So when I generate once again documentation from new version of my project, links will not change so that I will not need to change all links to new.
Is this possible and how to acomplish this?
If you add the code below to the top of SplitScreen.js the browser will "inject" the TOC frame and focus on the content you linked directly to (using the trick Vitaly Shibaev showed).
if (window==top) {
window.location = "/?topic=" + (window.location.pathname.substring(1));
}
This code works it the documentation is placed at the root of your website - if you have it in a sub-folder you need to expand on "/?topic" and remove the sub-folder part from the pathname part.
With this change you can use the "direct links". I also expect people who find you via Google get a better experience (getting the content they searched for AND the TOC bar).
In order to create correct links to specific subpages of documentation you may use similar request: $DOCUMENTATION_ROOT$/Index.aspx?topic=html/$TOPIC_ID$.htm
E.g. http://www.ewoodruff.us/shfbdocs/Index.aspx?topic=html/8dcbb69b-7a1a-4049-8e6b-2bf344efbbc9.htm
instead of http://www.ewoodruff.us/shfbdocs/html/8dcbb69b-7a1a-4049-8e6b-2bf344efbbc9.htm
Vitaliy and mawtex have solved the 'how to link to documentation subpages' part of your question.
The "making links permanent so they do not change when regenerating documentation" part of your questions is solved automatically, since the html file names created are based on a hash of the topic name by default. I.e. If you do not change the part of your code that you are documenting, then it will use the same file name.
You can change the way that html file names are generated, but all given methods are based on the member name or a hash of the topic ID, so links shouldn't break if the code hasn't changed.
See Sandcastle Help File Builder's NamingMethod documentation for more info.