Am I missing something? When inserting links to other resources, it seems like there should be a "resource picker" that auto inserts the [[~id]] tag for internal links. Is such a "picker" available from the TinyMCE editor in MODX Revolution?
I mean I don't mind using the resource syntax, but I don't see my users being comfortable having to learn and remember it.
When I click on the "Insert/edit link" button, this is the dialog I get:
Clicking on the "Browse" button to the right of "Link Url" gives me the following dialog:
I don't see anything that allows me to pick a resource.
I'm using MODX Revolution 2.2.1-pl (traditional) on IIS 7.5. There could be a possible issue there.
I figured it out, I was definitely missing something. The "Insert/edit link" dialog has a search box which auto completes as you type the name of existing documents into it. Selecting a document from there inserts the document's ID with the proper syntax.
There should be.
When editing text if you highlight a word to be used as a link and then click on the Edit/Insert link icon (a chain link) there is a "Link List" select box that contains all your resources selecting one will populate the link url with the [[~id]] of the selected resource.
In the MODX Revo manager better use the ACE-Editor (Extras/Package/download extras choose Ace) for buiding up your template.
Now you may drag a Ressource from the Ressource-Tree on the left and drop it into your code in the Ace-Window.
This is the easiest way to create a Ressource-Link.
Related
I am trying to update the name of my website. Since I've only been working with TYPO3 for a short time, I don't know much about it yet.
As an admin backend user, go to Amin Tools ➜ Settings and click button "Configure options" in the box Configure Installation-Wide Options. Search for the keyword sitename.
In the section System, you'll find the input field that lets you change the global site name:
[SYS][sitename] = ...
Save the new name by clicking the button "Write configuration" and reload the backend to see the change.
In VSTS attachment can be uploaded for workitems. Those attachments are displayed in a seperate tab.
I found no way to reference those attachments from within the description of the workitems.
So how to do it?
drag and drop the attachment to your browsers URL text field
(optional:) remove the &download=true&api-version=5.0-preview.2 part at the end
use this URL to create a link in your comment
I did not find another way yet and maybe it is not so logical :). But as workaround you may download an attachment from work item. Then you may copy a download link from your browser download page and use it on description field.
A workaround that I found to this which shows a selected text within the comment as clickable and opens the attachment if you click on it is:
find and copy the attachment url from browser Developer Tools,
select the part of the text in Discussion box that you like to link to the attachment to,
paste the attachment url to Address box in Create Link popup. You can get to this by using three dots (...) in Discussion section toolbox (More Tools) and select Create Link which allows you to paste the address.
This is amazing that AzureDevops does not have this ability. It's disappointing and makes working with the product so much more difficult. I really cannot imagine how they use this product internally.
You could inspect the attachment url in chromedev tools, then copy the url, the element will look like
<div class="grid-cell-contents-container">
<span class="attachment-icon bowtie-icon bowtie-file-content"></span>
filename.filetype
Then just remove the &api-version=5.0-preview.2 part at the end
Come on Microsoft! You're better than this.
It is now possible maybe. Goto attachments and click on list view
List view of attachments of a workitem
Then just left-click on the file of your choice and drag it
This would appear to be the least "hacky" way, as it relies entirely on the Azure DevOps UI:
Go to the attachments list of the work item.
While you hover over an attachment, three vertical dots with tooltip "More actions" will be shown:
from where you can open a submenu:
In there, click "Copy attachment link".
If you paste this link to a text-only context, you will get only the attachment filename, but if you paste it into a rich-text editor with support for links, such as the Description field or Discussion comments in the work item, the attachment filename will appear as a clickable link.
I want to get the id of an element in google forms. I found on the internet that it can be done by right clicking on the element and opening inspect element. It is working for older forms but, for new forms, it doesn't show any id attribute. I am posting both images of inspect element.
Old forms:
New forms:
In new form google have replace id with name attribute.So do one thing, write something in textbox then rightclick on textbox and open inspect element, Here you will find item tag with name attribute which is the key you want
For eg,
<input name="entry.123456" >
Maybe I can help you in finding the id's of the element.
After submitting the form you can look for headers{Form Data} in the network section of developer tools.
You will find something like this..
entry.102708304: "Your response"
102708304 is the id..
Hope my answer was useful. Thank You.
Try pressing Ctrl+U when on the Google Website. In Firefox this will show up the complete HTML Code where you can search better. There has to be set an Id, because otherwise the text in the element couldn't be accessed
hi this has changed a bit,
you need to get a pre filled link via 3 dot menu then prefilled link , copy it into an editor and confirm these entries.
I could not find it visible anywhere in the source code and there are a ton of JS names that seem random and 0 name inputs on my form
My breadcrumbs are broken because of incorrect link to home page.
Please tell me, how can I change the "Link to document" parameter manually.
I use umbraco 4.7.2
I need the omain name only on home page and full absolute pathes on internal pages.
Thanks.
Right Click on on Home Content and select Manage Hosting.
Enter Domain Name and select Language and click on Add New Domain / Update button.
Your "link to document" field is set to "/" which from your question sounds like what you wanted? If not you have a few options.
Check out these settings that you can use for giving a page an alternative url or name:
http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlname
One of those might best suit your issue. umbracoUrlAlias allows you to pick a different url that can be used to render the same page (handy for correcting incorrect urls).
I'd highly recommend installing the 301 redirect package to avoid some of these issues in the future: http://our.umbraco.org/projects/developer-tools/301-url-tracker
Cheers
Pete
I am trying to hide some options in "User Information" from My Account by using hook. I just want to hide it using CSS (style="display:none"). User Information is present in the right side of My Account Page.
I want to know, in which page I should make changes? While creating hook which page I should select for hiding those links like "Organizations, Sites, etc." Please help...
You have to choose the tab you want by writing them in the portal-ext.properties as follow :
#
# Input a list of sections that will be included as part of the user form
# when updating a user in the My Account portlet.
users.form.my.account.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.my.account.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.my.account.miscellaneous=announcements,display-settings,comments,custom-fields
Each field will be linked to its jsp. For exemple, "details" will display details.jsp.
Since your problem is finding the jsp file, you should do these :
download the Liferay source, and add the portal-trunk as a Liferay Project in Eclipse
Navigate through the portal to your desired file (manage my account), and get the url from your browser
Search for the "struts_action" attribute in the usl. For this case, it's "/my_sites/view"
This is very helpful as the first parameter indicates the portlet that controls the jsp page.
The second parameter usually is the jsp you are searching for
Find that file in the portal trunk and search for the html component you want to edit. it might be in the page itself, or it could be on an included one, or a sibling one (provided as a tab)
For your case, it's "/portal-trunk/portal-web/docroot/html/portlet/users_admin/edit_user.jsp"
It is not possible to remove those options using CSS. We can do the following simple java code for removing those tabs... The page which we need to edit is "/portal-trunk/portal-web/docroot/html/portlet/users_admin/edit_user.jsp".
List<String> identificationList = new ArrayList<String>();
for(String identificationItem : identificationSections){
identificationList.add(identificationItem);
System.out.println(identificationItem);
}
identificationList.remove("websites");
identificationList.remove("instant-messenger");
identificationList.remove("social-network");
identificationList.remove("sms");
identificationList.remove("open-id");
identificationSections = new String[identificationList.size()];
for(int i = 0; i < identificationList.size(); i++){
identificationSections[i] =identificationList.get(i);
}
Its easy to hide those links by using the simple java code written above.