Add a template from a non-storefront cartridge to Demandware Content Slot Configuration? - demandware

I'm using the Demandware Business Manager to create a new content slot configuration for a pre-existing content slot following the Demandware DiD Instructor Guide (pg. 152). My issue is that I'm being told to add a content slot configuration to "merchant-product" using a template that is in the "training" cartridge. However, when I try to add a template, the pop up (from clicking [...]) only allows me to view templates that are within the storefront cartridge.
This template is in the "training" cartridge because the instructions indicated to put it in the "training" cartridge instead of the "storefront" cartridge. I have included the "training" cartridge in my site settings as per the instructions. Why does this cartridge not appear as an available cartridge to use templates from?
How do I add this (non-storefront) cartridge in so that I may use a template from it?

Please follow the instruction below.
Go to your Sandbox - Business Manager.
On the left nav, navigate to Sites -> Manage Sites -> [Select your
Site/Store Name e.g. SiteGenesis]
Click on it, then you will see some tabs some as General, Settings,
Cache, and Security.
Go click Settings tab.
On the Cartridges text field, you will something like this:
sitegenesis_storefront_richUI:sitegenesis_storefront_core
Add your cartridge name having this separation of colon symbol.
Saves Changes and apply.
Make sure to clean your cache after doing this.
Try again to access your cartridge outside of storefront app and let me know.

To solve please copy slots folder under templates/default/ folder.

Related

Service Unavailable (503) No TypoScript template found

I tried to install the introduction package in Typo3 cms.
But I receive the following error:
Service Unavailable (503) No TypoScript template found!
You might need to include the package into your core template in Typo3.
Whenever you are using a new package/extension which having template files, you are needed to added those in your root template.
Go to Template Menu in the typo3 backend
Select the root page from the treelist on the left side panel (it might be Congratulations).
Choose the info/modify from the top list
click on Edit the whole template record button.
Choose the includeTab
Add the package related to it.

How to create a page extension in Directus 7

I have a working Directus CMS environment and would like to include some custom pages in there as well. According to the documentation!, I "can build page modules for custom dashboards, reporting, point-of-sale systems, or anything else".
The CMS is downloaded from directus, installed in localhost and then moved with FTP to the server as my client doesn't have terminal access allowed.
I already tried the boilerplate from https://github.com/directus/extension-toolkit, created a vue page with it, ran npm to transpile it, but now I don't know where to put it. If I put it to public > extensions > custom > pages (I put here the whole created folder), it's not shown anywhere and I can't really find any tutorial or help on how to do it. Not even in the docs.
You have to copy only the dist subdirectory of the extension to your server.
Example:
directus-extensions create page orders
directus-extensions build
rsync ./dist/ root#example.com:/var/www/directus/public/extensions/custom/pages/orders/
You should now see your page extension listed in the sidebar when you log in to your Directus app (provided your user role is configured to display extensions in the sidebar).

TYPO3 Service Unavailable (503)

I installed a copy of a TYPO3 project. So, I'm using an existing TYPO3 database.
When running the home page of the site, I get the 'standard error':
Service Unavailable (503)
The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured.
More information regarding this error might be available online.
which refers to following site: https://wiki.typo3.org/Exception/CMS/1294587217
But when I modify the setup of the template of the root as given in the link. I get an empty page with "HELLO WORLD" and the whole website is gone.
The old root setup code was:
config.contentObjectExceptionHandler = 0
page.meta.description.data = page:description
page.meta.keywords.data = page:keywords
How can I solve this problem without losing the rest of the website? Using TYPO3 8.7
Addition to the db install I also copied the extension folders to the typo3conf/ext folder and edited the PackageStates.php with the path to the extensions.
I see the extensions in the extensions tab the status is 'local'.
1st: make sure you have the correct configuration of all domains (as it is a copy it can not run with the same domain, otherwise you will switch between servers unpredictably.
2nd: enter list mode and look for multiple template records in your web root page. Multiple records will result in ignoring all but one record. maybe you just edit the wrong one. Normally the content is not lost but only inaccessible for the moment.
3rd: have you activated all the extensions which are active in the source installation? especially any site extension, which probably include the configuration for the TypoScript page object.
4th: you can use the TSOB (TypoScript Object Browser) and the template analyzer to view the active or resulting typoscript.

Can't create new sites and pages in Teamsite

I've just installed Teamsite on Linux CentOS 6.5. I've used Silent Installer and mostly default properties (install.properties), I logged in as a root user and everything seems to be good but the problem occurs when I'm trying to create New site or New page. I click as a usual File -> ... and there is only New File, New Branch etc. but there is no New Page or New Site button. Do you know what could went wrong during the installation or what can I do to "restore" this buttons and create sites/pages? Thx.
Ensure you are under a Workarea. Create a workarea under a branch and give it a try.
If you are already under a Workarea, then this would the issue with your license. Have you generated right licence from the official license website from HP Autonomy.
The Features are tied to License what you have. Just to cross verify if you do not see SiteMap TAB next to Content and Workflow ( just above file menu ) that indicated you are missing a full licence.
Please generate new licence and try deleting old and start Teamsite server issuing iwreset -a command.
Let me know if this helps.

How to distribute Eclipse Update Site

I can't find a free repository allowing to distribute Eclipse Update Site.
The main requirement is that it should provide access to raw content so that Eclipse can use the URL to retrieve all the binaries of my projects.
GitHub provided access to raw url but it seems it stopped.
Do you know if bitbucket does it? any different solution?
Actually, you can host an eclipse update site easily on github using raw url. I know because I have done it recently and it works.
It is true that you get a 404 when you try to access the repos 'raw' directory. However, that is actually not a problem because when you use the Eclipse (or Marketplace) installer to install something from an update site the installer does not access the folder directly. Rather it will only access files like 'catalog.xml'. This means that if you point the Eclipse installer at your raw update-site folder then it will be able to read the contents of the site without any problem.
Here is an example:
https://github.com/kdvolder/thirdparty-p2-repo/tree/4bb37ca4de6cd001f400c2913421b8c4b49538e1/target/repository
The corresponding raw url is this:
https://raw.githubusercontent.com/kdvolder/thirdparty-p2-repo/4bb37ca4de6cd001f400c2913421b8c4b49538e1/target/repository
Yes, that will give a 404 when you click it. But that is okay, just open "Help >> Install New Software" and paste the link into the "Work with" field of the dialog and it works fine:
It works because raw urls like this one are all the installer needs:
https://raw.githubusercontent.com/kdvolder/thirdparty-p2-repo/4bb37ca4de6cd001f400c2913421b8c4b49538e1/target/repository/category.xml
Github also allows this. You need to create github page and upload your p2 repository there. On the website github pages is explained how to achieve that. Just scroll and the steps will appear on the page (fancy javascript). For your project there is a second repository, where you have to put your repository.
I prefer to use sourceforge for the update site of my Eclipse projects. I recently published a blog post detailing all the steps to achieve that http://www.lorenzobettini.it/2015/01/publish-an-eclipse-p2-repository-on-sourceforge-with-rsync/