Search found 10 matches

by jdwork
Mon Nov 09, 2009 9:34 am
Forum: Developers Discussion
Topic: call a udt from a udt (reuse a dbconnect user defined tag in a user defined tag)
Replies: 3
Views: 2395

Re: call a udt from a udt (reuse a dbconnect user defined tag in a user defined tag)

:-[ Yes, using the same config would remove that redundancy wouldn't it.  Could it be as simple as: $dbconnect = mysql_connect($db_hostname,$db_username,$db_password); . . . mysql_select_db("studentdb", $con); Maybe it'll also fix my error. cmsmadesimple  string(61) "Smarty error: una...
by jdwork
Fri Nov 06, 2009 6:59 pm
Forum: Developers Discussion
Topic: call a udt from a udt (reuse a dbconnect user defined tag in a user defined tag)
Replies: 3
Views: 2395

call a udt from a udt (reuse a dbconnect user defined tag in a user defined tag)

I searched for calguy1000's example as stated in other post but did not find it.   I use the news module to display pages generated by UDTs. (Kids parents, kids birthday, kids favorites, Kids siblings)  I though it a rather clever idea.  Now, I am trying out virtualmin, on another server, and virtua...
by jdwork
Wed Apr 15, 2009 6:46 pm
Forum: CMSMS Core
Topic: Calling UDT or GCB in GCB or UDT
Replies: 2
Views: 1284

Calling UDT or GCB in GCB or UDT

  I am trying to reuse a UDT-{dbconnect} for my queries in another UDT-{emergencystudentlist}.  Tried GCB as well.  I place the tag at the top of my query udt with a print statement, but the resulting page merely prints out the name of the UDT. How does one call a GCB or a UDT inside another UDT or ...
by jdwork
Mon Feb 16, 2009 7:47 pm
Forum: CMSMS Core
Topic: [SOLVED] calling a javascript (image, onclick, global content)
Replies: 1
Views: 1432

Re: calling a javascript (image, onclick, global content)

SOLVED Instead of calling the Global Content Block (containing array, variables & function) onClick, I added it to the page. {call global with array variables & function} <img onclick="ms_cal.addDates(myArray)" src="uploads/images/calculator_icon.gif" alt="" wid...
by jdwork
Mon Feb 16, 2009 6:23 pm
Forum: CMSMS Core
Topic: [SOLVED] calling a javascript (image, onclick, global content)
Replies: 1
Views: 1432

[SOLVED] calling a javascript (image, onclick, global content)

Hello,   I have a javascript calendar and it works perfectly.  When the page opens a lovely multi-select calendar is availble. {global_content name='calculon'}   <link rel="stylesheet" type="text/css" href="uploads/epoch_styles.css" />   {literal}   <__script__ type=&qu...
by jdwork
Fri Feb 13, 2009 5:09 am
Forum: CMSMS Core
Topic: user defined tag and {literal} {/literal} help
Replies: 1
Views: 1004

user defined tag and {literal} {/literal} help

I have a javascript calendar that I wanted to put into a user defined tag. I pasted the script between {literal} {/literal} tags into a proper web page and it works fine. When I paste the code into a user defined tag I get a syntax error on the curly brace } line 1. I tried the documentation sample:...
by jdwork
Fri Jan 30, 2009 8:06 pm
Forum: Modules/Add-Ons
Topic: user defined tag error
Replies: 2
Views: 874

Re: user defined tag error

Solved it!

It seems I cannot use {register} as a user defined tag. 

I changed the tag name to {postit} and all is well.

cheers
by jdwork
Sat Jan 17, 2009 12:02 am
Forum: Modules/Add-Ons
Topic: user defined tag error
Replies: 2
Views: 874

user defined tag error

hello, I am trying to post some data from my form and I am using a user defined tag on my thank you page UserDefinedTag = postdatatest I've tried: echo '   foreach($_POST as $k => $v){      echo "$k => $v ';   } '; producing warning: # Warning: Unexpected character in input: ''' (ASCII=39) stat...
by jdwork
Wed May 07, 2008 5:47 am
Forum: Feature ideas
Topic: user created vcard emailed to admin
Replies: 0
Views: 2095

user created vcard emailed to admin

HIHi:   I've been looking around for some way to get users to input into a form that will email me a vcard to stick in my address book. There is a vcard.pl script, and there is a phpvcard function but I was hoping for something that was more cohesive with cms made simple.  I looked over the formbuil...
by jdwork
Tue Jan 16, 2007 6:58 am
Forum: Layout and Design (CSS & HTML)
Topic: A little Menu Help; Howto distribute the menu items evenly
Replies: 6
Views: 2650

A little Menu Help; Howto distribute the menu items evenly

Hello CMS:   You have wicked product!  ;D Exactly what I need.  I have Ubuntu 6.06 LAMP with CMS Maui.  Everything worked out of the box, zero headaches, and what a beautiful install script. I am using the template CSSMenu Top + 2 Columns with Layout: Top Menu + 2 Columns & Navigation: CSSMenu H...

Go to advanced search