Etherpad: Added links for selected text is getting vanish when trigger /getHtml api - etherpad

I selected text and made that text link using "ep_embedded_hyperlinks2". Now I want to get all content that is in pad. Trying with  /pads/getHTML api.
This returns all text but no link/url which I made. Is there any way I can get that link/anchor along with all content from etherpad.
https://i.stack.imgur.com/ZapWn.png
Thanks in advance

Related

Apex - Display Text on Page

I need to add some Pages to our Oracle Apex Application, which have to work as sort of an Instruction for new people in the Team. When I add a Static Content, to the page, I can add some text to it. But when I start a new line in the Source Box, this new line does not show up in Apex.
Do I need to use something different for text, or?
Kind Regards
Elias
The help section in the page builder shows that this region expects html. It's perfectly possible to put in plain text without any html but as you state, newlines aren't guaranteed.
Basic example of text with a line break as region source for static content region:
<p>
Hello<br>
World
</p>
Depending on the requirement, it's possible to use any html element, css (inline or defined in page header), javascript etc

Adding custom text to each Collection listed on homepage

IN BIGCARTEL: Is there a way to add CUSTOM TEXT to each individual collection that is displayed on the home page? I want this text to only appear when the collections are listed on the home page and not anywhere else.
Adding the additional text to the collection name in the product section does not solve this.
Adding a custom HTML on the homepage appends the same custom text to all collections. Again not right.
Any advice on creating a text that appears only with a particular collection, and only on the homepage?
If you are using JavaScript, try this:
if(~window.location.pathname.indexOf('index'){
// your code
}
The code above will run it only on index.html, which is your homepage.

netsuite - inline html

I am trying to use a custom column as a hyperlink to a external site. Meaning,
In PO detail page, I want to add a custom column and I want the value of it to have the following HTML content.
Try Google
So when I go to the PO detail page I want to have a link to google.com.
How can I do this? I tried this as Inline HTML, Free-form Text and Rich text. none of them gave me a link.
I found 1 way of doing this using .
1. I added a Inline HTML field.
2. I added the default value for that as a <iframe> block which sends data to my service point.
3. In the service point I created the link (<a>) neede for that PO and print it.
That worked for me.
I had this same problem and finally found the answer. You need to create a field as Inline HTML and then enclose the link and the url in single quotes, concatenating with double pipes:
'Search Google'
More help can be found here:
http://www.netsuiterp.com/2019/06/highlighting-url-link-custom-field.html

Building a list of downloadable items in Orchard 1.6

I'm fairly new to Orchard and I'm wondering about the "best" way of building a basic list of documents with a download link?
Say the scenario is this, I want to make a list of newsletters, the news letter are in PDF format and the users should be able to download then straight from the list view.
An admin, should easily be able to add a new newsletter and it should turn up in the list.
My current train of thought is to, all through the dashboard,
create a content type "Newsletter" with a title field and a Media picker field, using the media picker field to upload the PDF file.
Then create a query, with the filter on Content type "Newsletter"
Create a projection pointing to the query
However, this only gives me a list of content items, showing their title as links back to the actual content item.
I've tried adding a layout to the query and set it to display properties instead of content. By doing that I can get a list where I can control the "output" a bit more. And I've gotten it to list the title and by doing a Rewrite and putting in the MediaPicker.Url, it also displays the URL in the list. This is all good but here I get stuck..
As the MediaPicker.URL outputs the url in the format like ~/media/default/xyz/filename.pdf, I cant just put it into a a href, it doesn't give a correct download link to the file.
Soo, question is, am I thinking and doing this totally the wrong way or am I missing something obvious? All ideas and suggestions and more then welcome.
Use or adapt the following template override in your theme:
#{
var url = Model.ContentField.Url;
}
#if(Model.ContentField.Url != null) {
if (url.StartsWith("~/")) {
url = Href(url);
}
<div class="media-picker-field attachment-pdf">
<span>download</span>
</div>
}
Modify the text as needed. This template was a Fields.MediaPicker-PDF.cshtml that was used for a media picker field named PDF.

display an extrafield over product image with virtuemart when typed by user (something like tshirt designer)

i need to display an extrafield (virtuemart standard attribute) on flypage over the product image.
I need it as a "customization print option" to display what user want to write over product!
I need the field under other extrafield (as it is normally), but let it appear over image only when user write on it! Is it possible?
Or is there some other solution for this?
Here's the example:
I'm using:
Joomla V 1.5.14
Virtuemart V1.1.6
code are welcome, i'm not so expert!
thank you
The first solution that comes to mind is to use Mootools (since VM already loads it) to update a blank div that you position over the top of the image. This is a built in function in Mootools.
http://mootools.net/docs/core/Element/Element#Element%3areplaces

Resources