Hello,
I wonder how to show (link) existing CP inside my template. Tried to find on phpwcms-docu, but without success...
To be more clearer, I'll try to explain:
I have structure already made and some test articles inside all structure of my site.
Some of articles need to have some CPs exactly the same, and this is linked with contentpart alias. This is working great! Thanks Oliver
Problem is that on one structure level, those contentpart alias aren't shown. Below is structure level's settings:
top article count: 5
pagination: YES (paginate articles)
articles per page: 5
I figured out how to show those CPs, but I need to include them inside my template (which is now the only template).
But I dont know which RT I need to use inside my template.
Here are the links:
This is not OK.
http://radiom.net/wcms/index.php?vijesti
This is OK!
http://radiom.net/wcms/index.php?aid=2
Anyone have idea?
Thanks in advance.
Best regards!
How to show specific CP inside template?
How to show specific CP inside template?
There is no page like home page...
Re: How to show specific CP inside template?
Hi, the {SHOW_CONTENT:CP,...} RT should solve your problem...maybe this thread is useful for you:
http://forum.phpwcms.org/viewtopic.php? ... &sk=t&sd=a
Especially take a look at this post of flip-flop:
http://forum.phpwcms.org/viewtopic.php? ... d=a#p98512
http://forum.phpwcms.org/viewtopic.php? ... &sk=t&sd=a
Especially take a look at this post of flip-flop:
http://forum.phpwcms.org/viewtopic.php? ... d=a#p98512
Campeones del mundo!
Vegetables!
Vegetables!
Re: How to show specific CP inside template?
Thanks, will try to implement... (I'll let you kow is it working)
Thanks for fast answer!!! 3 minutes... WOW
EDIT:
That is it!
It is working!
Thanks a lot!!!
Thanks for fast answer!!! 3 minutes... WOW
EDIT:
That is it!
It is working!
Thanks a lot!!!
There is no page like home page...
Re: How to show specific CP inside template?
You are welcome
thanks to flip-flop for the hint
thanks to flip-flop for the hint
Campeones del mundo!
Vegetables!
Vegetables!
Re: How to show specific CP inside template?
This is great idea!!! Will try it for sureJensensen wrote: or to setup an --> invisible category / site structure level with a lot of CP's in there for multiple needs and recalled by {SHOW_CONTENT} [see sustia above]
This I need to figure how to do it. Idea is great! But my realization is questionable right now...Jensensen wrote: and/or custom content blocks
or custom nested content blocks
Anyway, this is something I need to do! Definetly!!!
Here is one site I made ( http://www.masine.ba ).
Right now, every block (pictures, and text) are in fact a html, made outside phpwcms, and inserted as html CP.
I know, this is the most supidious way to do it , but then, when I made this site, I didn't have enough time to figure out how to make custom CP blocks.
There is a need to make custom CP blocks for this site.
Be ready for some tips I'll ask if I stuck with this...
Sorry for this...Jensensen wrote: BTW: [sorry for being cautionary] such questions belong NOT to hacks & enhancements BUT rather to --> Support English: http://forum.phpwcms.org/viewforum.php?f=1
Hope there is moderator. She/He will have a lot work cleaning posts after me
Thanks
There is no page like home page...