How i can display content from specific content block in another template?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Kristaps

How i can display content from specific content block in another template?

Post by Kristaps »

Ok i have page structure something like this
Page 1
- subpage 1
- subpage 2
- subpage 3

Each subpage consists of 5 content blocks, for example:
{content block="1"},{content block="1"},{content block="1"},{content block="1"},{content block="1"}

And the problem is that i don't know how to get content from subpages in Page, for example my page should look like this:
Page 1
  Subpage 1 Title
  Subpage 1 Content block=""1"
  Subpage 1 Content block=""2"

  Subpage 2 Title
  Subpage 2 Content block=""1"
  Subpage 2 Content block=""2"

  Subpage 3 Title
  Subpage 3 Content block=""1"
  Subpage 3 Content block=""2"

Is there any possibility do to like that? To get selected content from subpages on page 1 ????
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: How i can display content from specific content block in another template?

Post by RonnyK »

Did you check ContentAliases,

http://dev.cmsmadesimple.org/projects/contentaliases/

Ronny
Kristaps

Re: How i can display content from specific content block in another template?

Post by Kristaps »

I've tested it, but that's not what i want.
I just need specific content from subpages on first page.
It's just like product catalog where you have title, some description, price and then it all links to subpage 1 with the same title, description and price.
Kristaps

Re: How i can display content from specific content block in another template?

Post by Kristaps »

Example:
http://saite.fyfi.net/lat/info/apskatit-kvartalu/

How i can get specific content from subpages?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How i can display content from specific content block in another template?

Post by calguy1000 »

The easiest way would be to write a UDT that extracted it using the API
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cyberman

Re: How i can display content from specific content block in another template?

Post by cyberman »

fyfi wrote: And the problem is that i don't know how to get content from subpages in Page,
Maybe this thread can help

http://forum.cmsmadesimple.org/index.ph ... l#msg72842
Kristaps

Re: How i can display content from specific content block in another template?

Post by Kristaps »

nope, it didn't help. still searching for solution.
Locked

Return to “CMSMS Core”