Orchard CMS Update/Regenerate Permalinks after autoroute update - orchardcms

I had no choice and needed to change a production site autoroute link for a certain Content Type and now i need to regenerate all the content permalinks for that specific type.
There are about 100 items in the content list.
is there a way to force bulk regenerate for all the contents?
maybe command line? or a module?
I'm using Orchard 1.8.1
Thanks!

Related

Hybris store creation

Hi I have done with initial setup of hybris and now I am seeing apparel store. Now could you please someone answer how should I proceed further to completely customize the apparel store site. I wanted to remove all the products and I wanted to add my own products and categories . Also where should I change the URL from apparelstore to my own customized URL?
You need to create your own accelerator module. There is a trail called "commerce trail" on the hybris wiki/help pages that helps you with the initial setup of a module.
I suggest to follow the help section about how to customize the accelerator (e.g: b2c accelerator customization). Generally speaking, you can use the ant modulegen command to generate the extensions for your very own accelerator.
For your own products/categories, you should provide them on impex files. The current data you're seeing is from the apparelstore extension that adds products, categories, site configuration & cms content for the apparel store. So in case you don't want that, you need to remove the apparelstore extension (or don't run projectdata for it) and then provide your own data. You can check that extension also and see how the data is created, to use it as a guide, but also the ant modulegen should generate some impex file templates that you can use. Look in hybris/bin/ext-data/apparelstore/resources/apparelstore/import.
Finally, for your urls, please check the CMSSite url parameters, this are the urls that 'activate' the site for the given request. Also search for properties like website.{siteid}.http= & website.{siteid}.https= that you also need to update for everything to work fine.

How can I edit the Blog Content Definition in Orchard CMS to add an image to the blog's home page?

It seems like it would be a common desire to have an image associated with an Orchard CMS blog.
How can (or should?) I modify the Content Definition of type Blog to add an image to the blog's home page?
Go to content definition, edit the blog content type, and add a media library picker field.

Do I need to create an Orchard 'Custom Theme' to Style a site with bespoke HTML/CSS?

I have HTML/CSS complete - conventional stuff.
I now need a CMS for this site. To use Orchard for this do I need to create a Custom Theme? (eg as in this article
http://www.deepcode.co.uk/2011/05/real-world-orchard-cms-part-2-creating.html
Or are custom themes for people that want to make something re-usable?
If there is an easier way to put Orchard CMS in a totally custom design - what is it?
Thx
You definitely need to create your own theme. You could start with an existing theme and modify it, but if you've already got a static HTML/CSS design then you're probably best off starting from scratch.
For more information on theming you can check out:
Writing a new theme - Orchard Documentation
Theming Orchard - A blog post I wrote a while ago
Studying the code of some existing themes can be a nice way to see how a theme is made up.
You should not directly modify the base template files inside Orchard modules. These are made to be overridden in your theme and modifying them directly will make updating Orchard very tricky.

Which Magento Domain Objects Use Layout XML Updates?

Is there a canonical list (public or private-that-you're-willing-to-share) of Magento objects (and their database persistance tables) that allow you add Layout XML Updates to the system? I realize there's an almost infinite number with third party modules, but I'm specifically interested in what ships with CE, Professional, and Enterprise Edition.
In case that's not clear, consider Magento's CMS pages. In the CMS admin there's a textarea for
Layout Update XML
in the Design tab.
This XML is persisted to the database with the CMS Page object, and these updates are added to the Layout object when that page is loaded.
There's multiple places in the Magento admin where this happens. I'm looking for a list of all of them.
I had trouble filtering by a specific branch with Google's search operators, but this is a decent start: https://www.google.com/search?q=%22custom_layout_update%22+site%3Asvn.magentocommerce.com
Not many that I can see,
Mage/Catalog/Model/Category.php
Mage/GoogleBase/Model/Attribute.php
And the CMS module as mentioned above.

Sharepoint second page library

Sharepoint 07 has nice page library. You can create templates and then just by pressing Site-> 'Create a page' get a choice with page templates.
However if one tries to create second library, for example, document library, in the same site (node), then it is not possible to choose element type as "page". Only "wiki-pages" and "pages with web-parts"!
So, is it possible to get 2 or more page libraries in the same node?
It seems very inconvenient to create the hole new site or new node only just for page library.
The SharePoint Publishing Infrastructure can only handle a single Pages library per Web site, it's a physical limitation of the software.
You could create sub webs to separate out your content more, or create new Content Types inheriting from the "Page" content type, and add in extra columns to store metadata to further categorize your pages. You'd then add this new content type to the Pages library, and you can slot your new content into this content type to categorize it.
Luckily, I have discovered another solution. Using Metalogix Content Matrix I was able to copy and paste the 'Page' Library renaming it and Viola...it works! I'm able to edit pages without getting the "The SPListItem provided is not compatible with a Publishing Page" Error. Whohoo! I hope this helps you.

Resources