How to change CraftCMS 3 category uri name - craftcms

I have category URI named as thank-you-page-1.
How I can rename it to something like my-custom-thank-you and without change Title text?

You can change the slug of a category through the sidebar to the right, below the save button:

Related

Ruby replace html fragments with specified links

I have a Rails Model with field "description" and other Model Person with field "title".
I want to add ability to replace all Person titles into description field to correct links
For example John Smith to <a href='/person/1'>John Smith</a>
Also I want to avoid tag dupliation inside itself.
Of course person name could be an anchor of tag in phrase, for example <a href='any link'>Meet John Smith</a> - that case of course should stay same.
And I want to make that action as button, which could be pressed any times with correct same result - when all single non A-anchor texts will be replaced with links.
How could I reach it? With xpath or regexp maybe?

Remove bloggers automatic 'add URL' feature to menu items

My Blogger template (klarity) automatically adds my domain name infront of any link I want to add to my menu. For example: I want to create a link to my page 'about'. All I need to do is create a list item with a link pointing towards /about.html.
This is a problem when I want to link a menu item with an external domain. So if I want to create a link between the menu item 'shop' and www.myshop.com I cannot simply change the href of the link to www.myshop.com because blogger adds my domain name infront of it, making it look like: www.mydomain.com/www.myshop.com.
From what I understand Blogger does this through the following code: data:post.url or similar. I have looked for that kind of code and tried cutting it out but so far I have not managed to get rid of www.mydomain.com infront of every list item.
How can I remove www.mydomain.com from my menu items? This is the only solution I could think of, if there are any others please do suggest them!
So I actually figured out the problem, it was really easy:
Just change the link so that it looks like this:
My domain
Make sure you don't forget the http, otherwise you are going to get errors (thats's the mistake I made)

How would I edit a resource's attribute with name "xxxxx_id"

I have a table with a column name of form xxxxxxx_id. This isn't a key, it's a number that I want to be able to edit myself from the activeadmin console.
However, it seems that whenever a resource had an attribute with id in the name, it is excluded from the activeadmin console. Removing id from the name resolves this issue, but I would still like to know if it's possible to make it an editable text field.

How to change URL names in Umbraco

This is my first time round using Umbraco and I have created Document Types / Pages using the wrong naming format and now this has transpired into my page URL's, for instance /about-page/. How would I go about changing them to /about as I have searched the back-end admin panel and there dose't seem to be an option to change their link to document values.
Would anyone be able to provide a simple code based example using umbracoUrlAlias or umbracoUrlName how I could change this preferably in Razor.
Thanks
Editing #run yards Solution by digbyswift help in comment
Correct Solution:
Create Property on in Document Types which applies to all pages you want to change the URL
Call the name anything you want e.g Page URL and Possibly give it a new tab.
Call the alias umbracoUrlName
Type as text sting
Should not be Mandatory (As when you start replacing .Url with .umbracoUrlAlias within the views it will need to be present)
Tab as Generic
Click Save on top right on the page
Added screenshot for starter kit on Umbraco v7.2.5
Unless I'm very much misunderstanding your issue, you should just be able to change the name of your page and republish. This doesn't need an additional field, just change the value in the "Properties" tab and republish the page. This will automatically change the URL of the page.
You can also create a property called umbracoUrlName using a TextString property editor. If this has a value then it will generate the URL fragment for the page using this value, rather than the page name. This changes the URL for the page, rather than creating an alias, like umbracoUrlAlias.
Solution:
Create property on in Document Types which applies to all pages you want to change the URL
Call the name anything you want e.g Page URL and Possibly give it a new tab.
Call the alias umbracoUrlAlias
Type as text sting
Make it required (As when you start replacing .Url with .umbracoUrlAlias within the views it will need to be present)
Go into all your pages and rename them using the property you just created
Now with your code, say with the navigation where you have used .Url change it to .umbracoUrlAlias and the new URL's will be used.
Note if you don't use .umbracoUrlAlias the links will still be active i.e. they work but they won't be displayed in the address bar as .Url spits out the original ones associated with the page.
You can apply on URL names in web.config:
In section find:
<add key="umbracoUseDirectoryUrls" value="false" />
this will set url names for new created items to name.aspx
If you set this to 'true' then new items will be named like /name/
Additionaly you might want to avoid of Handling some urls by Umbraco pipline, just use this setting - add URLs which must be bypassed:
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />

How to add translation for Category name in Prestashop?

I understand that when we add a new word in the template using smarty templates syntax like
{l s="Example"}
Will show up for translation in the admin control panel translation page but how can I add translations for Category names, which are added from the admin control panel and not in the template, template simply gets the categories from database.
You simply have to modify your categories, next to the name input field you will see flags, just click and modify corresponding translation.

Resources