Search found 20 matches

by RHF
Mon Mar 04, 2013 5:45 pm
Forum: The Lounge
Topic: Smarty {foreach} being relocated in template
Replies: 1
Views: 1180

Smarty {foreach} being relocated in template

I have run into a situation which I do not understand. I put the following code in my Content block, and the program works perfectly, displaying the Authors and Titles (from a database) exactly as expected based on the style sheet. <table> <tbody> <tr><th>Author</th><th>Title</th></tr> {foreach from...
by RHF
Wed Feb 20, 2013 5:42 pm
Forum: Modules/Add-Ons
Topic: For Form Builder, how do I get value of form_id in UDT
Replies: 2
Views: 956

Re: For Form Builder, how do I get value of form_id in UDT

Thanks rotezecke, Unfortunately, {get_template_vars} does not show form_id directly. It turns out that it is located in the 'actionparams' Array in get_template_vars. So, you can get it with the following: $actparams = $smarty->get_template_vars('actionparams'); $form_id = $actparams['form_id']; Thi...
by RHF
Mon Feb 18, 2013 2:30 pm
Forum: Modules/Add-Ons
Topic: [solved] FormBuilder 0.7 - Change the destination email
Replies: 9
Views: 5298

Re: [solved] FormBuilder 0.7 - Change the destination email

Thanks Manuel,
I really appreciate your response. Unfortunately, even when I uncheck the box, I still do not get the form_id using $params['form_id']. If I do a var_dump($params), I get the form variables but not the smarty variables. A great puzzle.
Bob
by RHF
Sun Feb 17, 2013 4:23 pm
Forum: Modules/Add-Ons
Topic: [solved] FormBuilder 0.7 - Change the destination email
Replies: 9
Views: 5298

Re: [solved] FormBuilder 0.7 - Change the destination email

Hi Manuel, I have been trying to use the method you describe in your article and have run into a problem with the second and third lines in your code: $form_id = $params['form_id']; if($form_id = 4) { The variable $form_id is not being properly set with the above, and I had to resort to the followi...
by RHF
Thu Feb 14, 2013 7:34 pm
Forum: Modules/Add-Ons
Topic: For Form Builder, how do I get value of form_id in UDT
Replies: 2
Views: 956

For Form Builder, how do I get value of form_id in UDT

This is very basic stuff, but I cannot seem to get the value of the Form Builder Smarty variable form_id in my UDT. I have seen a couple of references that use something like $gCms = cmsms(); $formid = $params['form_id ']; but this is not working for me. (The form field values are accessible through...
by RHF
Fri Jan 11, 2013 12:13 am
Forum: [locked] Installation, Setup and Upgrade
Topic: Problems upgrading from 1.11.2 to 1.11.4
Replies: 65
Views: 27877

Re: Problems upgrading from 1.11.2 to 1.11.4

Rolf wrote:@RHF
Clear cache
Of course! By the way, the updated Menu Manager did fix the problem. I was able to make the simple-navigation.tpl cachable again and can still edit the pages.
Thanks.
by RHF
Thu Jan 10, 2013 8:16 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: Problems upgrading from 1.11.2 to 1.11.4
Replies: 65
Views: 27877

Re: Problems upgrading from 1.11.2 to 1.11.4

I believe there is already a new version of Menu Manager that fixes this issue. Either download it via Module Manager or get it from the Forge. HTH. ;) Thanks, Jo. I downloaded the latest version of Menu Manager via the Module Manager and it seemed to work, but I no longer have access to the Menu M...
by RHF
Thu Jan 10, 2013 4:32 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: Problems upgrading from 1.11.2 to 1.11.4
Replies: 65
Views: 27877

Re: Problems upgrading from 1.11.2 to 1.11.4

I had a similar problem on one of my sites after upgrading from 1.11.3 to 1.11.4. I was unable to edit some of the pages on the site. As several people have said, I fixed this by opening Menu Manager and disabling "Cachable" for the Default template: simple_navigation.tpl. (Of course, I di...
by RHF
Mon Aug 27, 2012 1:35 pm
Forum: CMSMS Core
Topic: [SOLVED] News Link to an Existing Page
Replies: 3
Views: 1387

Re: News Link to an Existing Page

Thanks very much. I used both of your suggestions. Essentially I created a new Field Definition, called PageAliasLink. In the Summary template, in <div class="NewsSummaryLink"> I test the value of this field. If it is non-null, I set a cms_selflink to the value. Otherwise, I use the normal...
by RHF
Sun Aug 26, 2012 3:40 pm
Forum: CMSMS Core
Topic: [SOLVED] News Link to an Existing Page
Replies: 3
Views: 1387

[SOLVED] News Link to an Existing Page

I often have a News item that references an event that already has an existing page on the site. I would like for the News item link to open the existing page rather than open a new page and show the Summary/Detail information. I have experimented with different options, including using the existing...
by RHF
Sun Feb 26, 2012 8:22 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: How to Configure CMSMailer with XAMPP and Gmail - solved
Replies: 1
Views: 1252

Re: How to Configure CMSMailer with XAMPP and Gmail - solved

Thanks jsh11a. I was having problems with CMSMailer and XAMPP and your solution worked perfectly.
by RHF
Tue Jan 17, 2012 10:38 pm
Forum: Modules/Add-Ons
Topic: FormBuilder Print Question
Replies: 0
Views: 633

FormBuilder Print Question

A quick question about FormBuilder, a fine product which I greatly appreciate. I have a form for purchasing tickets to play performances. After the Submit button is clicked, the submission template displays the tickets purchased and the total price. A PayPal link is then provided for purchasing the ...
by RHF
Mon Dec 12, 2011 5:35 pm
Forum: Tips and Tricks
Topic: Previous and next article in news details page
Replies: 20
Views: 36779

Re: Previous and next article in news details page

This is cool can it be modified into CGBlog? sure, here is modified prev_next UDT for CGBlog: ... Hi osxfil. I have been using your prev_nest UDT for CGBlog and really like it. However, after upgrading to 1.10, it is broken on my site. From the upgrade notes, it appears the problem may be due to us...
by RHF
Tue Oct 18, 2011 3:43 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: Can I create a second website with same CMSMS software?
Replies: 2
Views: 1317

Re: Can I create a second website with same CMSMS software?

Edit: I had an incorrect session.save_path setting in the php.ini file. After fixing that, everything worked fine. Sorry for the noise. uniqu3, I have a similar question as OP, and I am trying to do exactly as you suggest. My hosting service allows pointing a domain to a subdirectory, for example ro...
by RHF
Mon Sep 05, 2011 8:06 pm
Forum: CMSMS Core
Topic: Stylesheet for News
Replies: 2
Views: 933

Re: Stylesheet for News

Ah, I see! So, if a News article is displayed on a "Home" page, the stylesheet should be associated with the template for the "Home" page. Thanks very much.

Go to advanced search