I have a range of sites that use their own backend layouts. The problem is the BE layout list shows all the BE layouts for all the sites. Is there a way to just show the layouts intended for use with each site?
Yes it is possible in the Page TSConfig. See the documentation here or by the Options
The only thing you have to do to set this option value in the Page TSConfig:
options.backendLayout.exclude = <comma_separated_id_list>
Example:
options.backendLayout.exclude = 1,2
Related
Kentico 12, not MVC:
I have a page template that is used on several pages. On some of those pages I want to display a form. (a biz form from the Forms application) I don't necessarily want the same form on each of those pages. I need a way to specify which form to display. I expect I could create a field in the page type to specify the form name, but it would be nicer to be able to have designers add a page with the form on it, and have a repeater display that page in a webpartzone on the aforementioned page template. I'm not sure how to do this, though. Anyone have an example or suggestions?
If you’re using portal engine, then you should easily be able to add an editor zone to your template. Content editors can then add the online form widget to individual pages. The widgets work at page level rather than template level, so should give the control you
The page from the docs will show how to setup an editor zone:
https://docs.kentico.com/k12/developing-websites/preparing-widgets-for-users/setting-up-widget-zones-on-pages
In addition to adding a widget zone, you can simply add an editable text webpart to the template and in the WYSIWYG editor you can click on the BizForm icon to insert that widget there. This doesn't require you to change the page template to a widget zone template.
We are working on a custom solution to use content from AEM instance. Using HTTP API(http://localhost:4502/api/content/sites/geometrixx/en.json) we can get details of page but not the content in a custom solution. I am wondering if using HTTP API we can also get page content. If no, which API we can use to get the content of pages. Can anyone please suggest.
With most pages you can make it end with ".infinity.json" to see all the details of the page. You can also add numbers such as ".1.json" to see 1 level of info, or ".2.json" to see two levels of detail. Some nodes are handled by specific servlets that may limit this behavior or give other options, but generally you can use this to view your own custom pages/nodes.
Also see
https://sling.apache.org/documentation/bundles/rendering-content-default-get-servlets.html#default-json-rendering
https://gist.github.com/nateyolles/c683f8b39ca1e4688b38
I have a Liferay site. I have several pages that needs to be tagged so I can get them in a custom portlet.
I also need to present a page with an alphabetic index of the tagged pages.
I have read documentation and I have seen that Liferay can put a tag or a category only on "assets" (web content, etc.) and not on a page/layout.
Can you suggest me a way to do it?
You are right about tag/category, these can't be applyed to layout (unfortunately).
The best alternative is to use custom attribute and define the extra fields for the page.
See this image
You can read the custom attribute for the page using ExpandoBridge API.
Here an example to read an extra attribute within the theme velocity template.
#set ($customField= $layout.getExpandoBridge().getAttribute("CustomFieldKey"))
Note: Remember to set the permissions on each custom attribute. It's very important!
I have converted a joomla website to wordpress. All categories and joomla articles are converted as wordpress categories and blog post. Now I want to show this posts (articles) with different menus. But I saw I can assign catagories in word press menu. But How can I display a single post with a menu ?
Like I have about us post , for which I want to create a menu. How can I do that ? I can convert those to pages. But I dont want to loose tags and URLs . Can anyone help please ?
Thanks
You can add any post to a menu from the "posts" box in the menu admin screen. If you don't see that box, go to the screen options for the menu screen and check "posts".
There is an option named Custom Links in wordpress menu configuration. Just name label as "About Us", and give your post link in url field.
create separate page template for every single menu. In these page templates write a php code to fetch content from single category. Create pages in admin and assign a page template to each page into admin. This will fetch content from different category on different menu that u want.
On a corporate website managed with TYPO3 there are shortcuts defined which lead to a page on the site.
Example:
Corporate website is www.acompany.com
Then there is a site www.acompany.com/coolproduct which is redirecting the user to www.acompany.com/products/productgroup3/product25.htm for example.
Where in TYPO3 can such "shortcut" links be defined?
Most probably some page in the page tree has set type to: Shortcut which causes that it points some other page or resource, it's also possible that is set as Link to External URL and there is full URL given.
Check the page tree in the backend and find your coolproduct page in it. Then check the site's properties and change if required to other value/type.
It's also possible that this URL is generated by some plugin or TypoScript, but in this case you'll need to investigate it yourself.
Simplest way to find these kinds of things is actually using the search engine in the TYPO3 backend. You will find it in the upper right corner.
If this fails, what I do is install PhpMyAdmin from the extension repository. Once you have PhpMyAdmin you can use it's search functionality to find anything in the database using a search query of: '%coolproduct%' and selecting all tables. In the results look for the 'pid' field. It tells you on which page in TYPO3 the found item is located.
Does the page use the extension realURL? If so, there might be realURL redirects defined.
Have a look at page -> info -> RealUrl -> Redirects
Maybe you the user has defined this link redirection in many pages, you can search for it in the database exactly in the tt_content table.
You can set shortcut for your domain to any page of your site, so when user enter only your domain name in url then it redirects to page which you set in shortcut.
For that edit your domain and set shortcut to any page of your page tree.