Hi,
I have a home page with a dynamic menu {menu} but I want every menu item to have a description that is set when editing a page like this: {content block="Page description"}
So, in the menu template, I want something like this:
{$node->menutext}{$node->block="Page description"}
Is that possible?
get {content block="??"} from other pages
Re: get {content block="??"} from other pages
Hello,
to "get {content block="??"} from other pages" there are helpers in some CGmodule (see their help page) and/or some UDT somewhere (a search away) in the forum.
Pierre M.
to "get {content block="??"} from other pages" there are helpers in some CGmodule (see their help page) and/or some UDT somewhere (a search away) in the forum.
Pierre M.
Re: get {content block="??"} from other pages
If I may suggest: the Plug-in content_dump is a good one for achieving this with little effort. However, you should be firm in Smarty as this plug-in really just provides the data. However, please be aware that it is not supporting postgres at the moment and the start_id Parameter is not reliable with large amounts of content (the cause is a wrong regexp in the query). Apart from this, it is absolutely reliable.
Both issues are on the list. The issue with start-id will hopefully be fixed soon. The conversion to ADODB allowing e.g. Postgres will still take a while.
The wiki-page provides more information on what's possible: http://wiki.cmsmadesimple.org/index.php ... ntent_dump
I use it on all my production sites, however, it is still in Version 0.8. If the functionality is critical, you might want to consider
Best
Nils
Both issues are on the list. The issue with start-id will hopefully be fixed soon. The conversion to ADODB allowing e.g. Postgres will still take a while.
The wiki-page provides more information on what's possible: http://wiki.cmsmadesimple.org/index.php ... ntent_dump
I use it on all my production sites, however, it is still in Version 0.8. If the functionality is critical, you might want to consider
Best
Nils
Re: get {content block="??"} from other pages
In the future, I wouldn't blame him at all if he didn't, given your attitude.simplesimon wrote: Are you really a Support Guru?
I'd like to do the same thing as the OP. "somewhere" and "some" module are so lame. It would be better had you not even answered.
No, CGmodule and GCB have nothing to do with each other. I believe Pierre was referring to the CGExtensions module.simplesimon wrote: AFAIK, putting the data from block "{content block="??"}" in a menu item has nothing to do with GCB - if that's what you mean by CGmodule.
As is often the case, you're not the first person to ask these questions; a forum search will turn up the answer you're looking for, and you don't have to worry about getting "lame" support from those who volunteer their time to help those in need.
Re: get {content block="??"} from other pages
It sounds like the first post was about a way to add a simple bit of text but I'm not sure if they want it to show with the menu text or as a hover tip box or just a title tip, but there is a place for page description in the options tab that can be called in the menu template...simplesimon wrote: I'd really appreciate a point in the right direction - other than a point to "somewhere". For right now I am using extra attribute 1, but it's short and doesn't doesn't have a WYSIWYG editor. So it's a bit of a pain for normal users.
Any help is much appreciated! Thank you!
{content block=""} can not be called in the menu manager as it only looks thru the content > pages page and makes an output of the pages the way you ask for them in the menu, ul li or just a links...
The things that can be called in the menu manager are available to you when you go to make a new menu template in the second tab...
Re: get {content block="??"} from other pages
Thank you jmcin51.jmcgin51 wrote: As is often the case, you're not the first person to ask these questions; a forum search will turn up the answer you're looking for, and you don't have to worry about getting "lame" support from those who volunteer their time to help those in need.
@simplesimon : I pointed the original poster to CGxxx modules and I've just tried to search +site:forum.cmsmadesimple.org +'other content block' +calguy on Google ; the 33th result is http://forum.cmsmadesimple.org/index.ph ... #msg136669 which (s)he can use to read the help pages of the CGxyz module as I suggested. Notice the original poster hasn't complained (yet?) and may have found the CGmodules/extensions. I don't claim the 'support guru' title, I understand it is overstated, it has been given to me by Calguy when he coopted me in the support team. Cool, we are friendly with people who read the manual/help pages.
Pierre M.