Search found 27 matches

by appleyard
Fri Oct 11, 2013 8:30 pm
Forum: CMSMS Core
Topic: "news_url" error after update
Replies: 1
Views: 1182

"news_url" error after update

I recently updated an installation of CMSMS from 1.8.2 to 1.11.7. All modules (core modules plus CGSimpleSmarty & CGExtensions) were updated to their latest versions as well. After the update, the news summary page is returning the error "Undefined index: news_url in .../modules/News/action...
by appleyard
Mon Jun 13, 2011 6:57 pm
Forum: CMSMS Core
Topic: Strange MenuManager performance issues
Replies: 0
Views: 725

Strange MenuManager performance issues

I love MenuManager, and I use it a lot. I have an attorney site where the right-hand column has two panels ("Practice Areas" and "Attorneys") both of which are populated dynamically using MenuManager. I have enabled caching where it makes sense and think I'm using best practices ...
by appleyard
Mon Mar 14, 2011 3:14 pm
Forum: CMSMS Core
Topic: UDT to populate News field definition on NewsArticleAdded
Replies: 6
Views: 3409

Re: UDT to populate News field definition on NewsArticleAdde

ZOMG, this is awesome! Thank you so much!! Let me work on incorporating this in my site and I'll post the full UDT later. You're the best, Wishbone!
by appleyard
Fri Mar 11, 2011 10:23 pm
Forum: CMSMS Core
Topic: UDT to populate News field definition on NewsArticleAdded
Replies: 6
Views: 3409

Re: UDT to populate News field definition on NewsArticleAdde

I've found some examples on the forums that use UDTs to update MySQL tables ( here and here , for example) but none dealing with the News module in particular. I realize I'm probably waay out of my league, and the thought of overwriting database info is scary. Any help you can provide would be great...
by appleyard
Fri Mar 11, 2011 8:59 pm
Forum: CMSMS Core
Topic: UDT to populate News field definition on NewsArticleAdded
Replies: 6
Views: 3409

Re: UDT to populate News field definition on NewsArticleAdde

For what it's worth, my Field Definition "shorturl" has id "4" in the MySQL table "cms_module_news_fielddefs."
by appleyard
Fri Mar 11, 2011 5:49 pm
Forum: CMSMS Core
Topic: UDT to populate News field definition on NewsArticleAdded
Replies: 6
Views: 3409

UDT to populate News field definition on NewsArticleAdded

Hopefully someone can help me out or point me in the right direction... I'm writing a UDT that will fire on the event NewsArticleAdded to: 1) generate a short URL via YOURLS 2) generate a tweet using Twitter's API that uses the short URL No problem so far. However, I want CMSMS to *remember* the sho...
by appleyard
Wed Dec 22, 2010 7:08 pm
Forum: CMSMS Core
Topic: Fatal error with cms_content_tree::getRootNode()
Replies: 2
Views: 1023

Re: Fatal error with cms_content_tree::getRootNode()

Yes. TinyMCE and FormBuilder are still on older versions, but I can't see how those would cause this, especially since I've disabled WYSIWYG editors. (And when I try to upgrade FormBuilder via Module Manager, it gives me a fatal error related to nusoap memory exhaustion, which sounds like a whole 'n...
by appleyard
Wed Dec 22, 2010 6:54 pm
Forum: CMSMS Core
Topic: Fatal error with cms_content_tree::getRootNode()
Replies: 2
Views: 1023

Fatal error with cms_content_tree::getRootNode()

Recently upgraded an installation of CMSMS to 1.9.2. Noticed that the {sitemap} tag wasn't working anymore so switched to {site_mapper}. Now the page gives this error: Fatal error: Call to undefined method cms_content_tree::getRootNode() in /[my server path]/modules/MenuManager/action.default.php on...
by appleyard
Wed Dec 22, 2010 3:38 pm
Forum: CMSMS Core
Topic: UDTs/GCBs in MenuManager?
Replies: 0
Views: 666

UDTs/GCBs in MenuManager?

Is it not possible to use user defined tags or global content blocks (or, I guess, any Smarty tags) in Menu Manager? I'm creating a portfolio site that uses a jQuery slider to navigate between content panels, so technically all the content is on one page. To make it easier on others in my company wh...
by appleyard
Wed Dec 22, 2010 2:48 pm
Forum: CMSMS Core
Topic: Link parameter to set different template?
Replies: 3
Views: 1701

Re: Link parameter to set different template?

Thanks, I'll try that!

However, I'm still curious: is there not a way to serve content in a different template based on the results of an {if} statement or Javascript check? That would be helpful for my printing issue, but also for serving a touch-optimized site to mobile devices, etc.
by appleyard
Tue Dec 14, 2010 4:40 pm
Forum: CMSMS Core
Topic: Link parameter to set different template?
Replies: 3
Views: 1701

Link parameter to set different template?

Hi there, I'm trying to set up a "print page" link on my site, and the {print} tag will not work for me for several reasons. (I use Textile formatting in my main content block, there are additional custom content blocks, etc.) It seems like the easiest thing to do would be to create a temp...
by appleyard
Fri May 21, 2010 4:16 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] Form Builder: Populate field value with Smarty info?
Replies: 5
Views: 4045

Re: [SOLVED] Form Builder: Populate field value with Smarty info?

Of course, that's if you want a field that the user will see and can be edited.

If you just want to edit what will show up in the actual subject line of the email when it's submitted, you would edit that in the "Email Subject Line" of the "Send To" / Email Results field.
by appleyard
Fri May 21, 2010 4:11 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] Form Builder: Populate field value with Smarty info?
Replies: 5
Views: 4045

Re: [SOLVED] Form Builder: Populate field value with Smarty info?

You don't need to modify the form template at all. You do it when you call the {FormBuilder} tag in your content. Just add value_FIELDNAME='DEFAULT VALUE' to that and replace the caps with your info. So, if the alias of your form is 'contact', the field you want to populate is labeled 'Subject', and...
by appleyard
Wed May 19, 2010 6:48 pm
Forum: Developers Discussion
Topic: node->image not working [solved]
Replies: 6
Views: 3474

Re: node->image not working [solved]

I'm having the same issue. {$node->image} is not working in my Menu Manager, though another menu on the same site that uses {$node->thumbnail} works fine. Adding the "loadprops" boolean didn't help. I'm using "{$node->alias}.jpg" as a stopgap measure for now, but it would be nice...
by appleyard
Tue May 18, 2010 7:29 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] Form Builder: Populate field value with Smarty info?
Replies: 5
Views: 4045

Re: Form Builder: Populate field value with Smarty info?

Never mind, I figured it out. You can set default values for specific fields using the module parameters, e.g. {FormBuilder form='name' value_FIELDNAME='Default value'} I just had to capture the info I wanted into a variable and use that. So to populate the Subject field with the title, I used: {cap...

Go to advanced search