RedDot: Linking, referencing, lists and 'partial pages' - content-management-system

UPDATED
Using RedDot CMS, linking to a 'sub-page' (page within a page) directly will display JUST that sub-page, not within the context of its main parent. Referencing that sub-page WILL display it as I require.
I have a List linked to several pages via keywords. The template containing that list displays a link for each item. Clicking on any of these links results in a view of JUST the sub-page that is directly linked.
I require those links to display the sub-page within the context of its parent - e.g. the page on which its main link resides.
Let's say the base page has an ID of 100. It has a list containing sub-pages 201, 301, and 401. Respectively, each sub-pages' main link is 200, 300, and 400. When I view 100, I see that base page with a series of links to each page. However, clicking on any of those links displays page 201, 301, or 401. I require those links to point to pages 200, 300, and 400.
I cannot use target containers because each sub-page has a different parent.

I've just replicated the same thing on Reddot and have had a bit of a think about this, Is what you're after actually possible. As I understand it you're linking to the sub-page because that is where the keywords are assigned, but that sub-page could be contained in one ore more parent page.
If on your site the sub-page and the parent page are always one-to-one related then why have a sub-page at all. If the same sub-page is used in more than one parent would you want all the parent pages to be linked in your list?
UPDATE:
One idea, which is a bit of a hack is that you add an anchor to each sub-page that you then link to the preferred parent page, then instead of displaying the list normally you loop through the list using the render tags and display a link to the page in the anchor and not the subpage.

Related

Apache Sling content include - CQ5

I have cq5 content page below content tree in crxde.
The content page has a header, a footer and one component in the body section.
I am trying to get the only content that authored in that specific component (No header, No footer, No Edit bar of component)
I tried following, but it produced the whole page with header, footer and component.
<sling:include path="/content/site-content/disclaimers/risk-considerations.html" />
then, I tried this, there is no header, footer but it still displays Component edit bar.
<sling:include path="/content/site-content/disclaimers/risk-considerations.content.html" />
How could I achieve only returning authored content into another page?
Based on what you need, reference component as Abhishek said fits your use-case. Given that you won't want to hardcode a path within a component or page you would use a dialog to get the path to HTML to include, reference component does that for you in addition to that your use-case of disabling edit-bar/behavior is taken care of within the component.
But in case you are constrained to use your existing approach, then to disable editbar you would need to update your component script to change the mode prior and post inclusion. You can refer to reference component for same. You can also refer to stackoverflow answers here and here

Sub page content rendering using vhs?

Requirement is simple , Want to render the content of sub page in main page.
Is it possible using vhs extension ?
I want to render all the sub-page content in [9]Zweckverband Parent Page.
Requirement is fully dynamic , sub-pages can increase and we need to render all the sub page content in parent [9] page.
we can render the menu using vhs , and can render the page content using vhs.
We need to combine both the coding to achieve this requirement.
Thanks in advance !
You can just render a menu of the subpages, but instead rendering a menu item for each of them, render their content (and maybe a headline or something). Rendering the content of an arbitrary page can be done with
<v:content.render pageUid="{currentPage}" column="0"/>
Other content retrieval viewhelpers should also have the pageUid parameter, so you could use them as well.
One thing that could come up is caching: If a subpage is changed, the rendering result of the main page changes. But probably TYPO3 won't recognize that, because the content on the main page itself didn't change. You might want to look into the clearCacheCmd and the like to solve that.

How to insert different text with different format on each page in Libre Office Writer?

How can I add a different text to each header and footer of each page in LibreOffice Writer? If I edit the header of a page, the text automatically changes on the others. I want them to behave independently.
EDIT: What I would like to achieve is this: let's say I have 7 pages, the first one doesn't have neither a header or a footer, it's just a simple page with an image.
The second page should have an "INDEX" header and a footer at the bottom of the page with the page number "2" on the right. The third page should have another header, or better a header with a different text, different text-size and with italic style, and the footer should have the page number "3", and so on.
If I click Insert->Fields->Number of pages I get the total of the pages of my document and this is not what I am looking for. But also clicking on Insert->Fields->Number of page doesn't help cause if I have e.g. the "INDEX" page and I click on Insert->Fields->Number of page, I get the number "3" instead of the number "2". Also I have noticed that my footer style is different on some pages, how can I make it the same for every page?
For different page numbering, you will have to use page styles. If your document contains a front page, one or more index pages, and the main content pages, you could create three different page styles (frontmatter, index, maincontent). To change from one page style to the next one, you need to set manual page breaks, telling LibreOffice which page style to use after the page break: Menu Insert -> Manual Break:
Using the "Style" ComboBox, you can select the page style to use for the pages following the break.
For each page style, you can set different headers / footers, e.g. to hide page numbering on the front page. Also, you can set the page numbering to start with 1 instead of the "physical" page number (for example, if the front page doesn't count as page 1, you could set the following page style to start with 1 instead 2).
The most important point is diving the document in logical units using page styles. After this is done, you can set different paragraph styles for each page element (header, footer), allowing to set a different text size only for the header of the "index" part of your document.

Use the sitemap content element to load content of the referenced pages

I use the sitemap content element so that the editor can explicitly reference to individual pages in my page tree. Of course those pages do contain content elements (Textpic, Media, all the good stuff...) in their "normal" section. I need advice on how to modify the sitemap content element that it will output the content of the referenced pages.
I know there is already a plugin called "kb_sitemap" which basicaley does this job... but it does not handle the output of images or media (flash-, quicktime movies..) elements which is absolute necessary. The rendering relevant stuff is handled by Css Styled Content (CSC) which is necassary for me because it renders the media content element.
Do you use templavoila ?
Ok, go to page properties -> General tab (bottom part of the tab) and then you'll find all containers that possibly contain CEs, click to the lil folder icon and you may select content elements from any other page.
EDIT: added screenshot, page properties...
Note, showcase, maincontent, right content are just my names for my TV elements, could of course be name differently.

Joomla: How to show a different image on every page

I'm new to Joomla, but I figured out how to set it up and create my first joomla template which only includes the content area and a top menu.
Now I want to display a different images on every page.
I do not know how to do it in Joomla, because as far as I know I can only write articles (with images in them, which is not what I want) and include them in the Menu Items as Layout: Article.
Can I somehow create my own parameters for the Layout: Article and use them in my template? The cms user should be able to decide which image to show on each "page".
You can do it by means of a module. You can define for which menu position each module is visible. You can put any article inside a module with a Article as Module extension
You can find a lots of modules at http://extensions.joomla.org/ which you can install from your administrator and enable it on a position to show different images on different pages.
check this page
http://extensions.joomla.org/extensions/photos-a-images/images-rotators
Header Image
https://support.pillwax.com/open-source/doku.php?id=joomla:header_image
This allows you to place your images in a folder and name them according to the page. You can match to articleid, menuid, category, section, or even show a rotating random image.
You would then just need to publish the module in the correct position.