Search found 18 matches

by genepilot
Mon Jun 15, 2009 8:19 pm
Forum: Modules/Add-Ons
Topic: tinyMCE adding http://mce_host/ to href when href is a module tag!
Replies: 3
Views: 4007

Re: tinyMCE adding http://mce_host/ to href when href is a module tag!

The reason for this is that IIRC is you need to switch the link mod from to {cmslinker} in the admin settings of tinyMCE ... I have not had this issue before but I think I saw this and IIRC that was the fix... Hope this helps.. Cheers jeremyBass If I am understanding you correctly, you're saying to...
by genepilot
Mon Jun 15, 2009 7:28 pm
Forum: Modules/Add-Ons
Topic: tinyMCE adding http://mce_host/ to href when href is a module tag!
Replies: 3
Views: 4007

tinyMCE adding http://mce_host/ to href when href is a module tag!

I am using a CMS Module to generate the url in some of my links. But, when tinyMCE encounters href="{cms_module modeul='myModule' action='myAction'}" it adds 'http://mce_host/' to the front of the href! The end result is that whenever anything is edited on that page, the saved link ends up...
by genepilot
Mon Apr 27, 2009 7:14 pm
Forum: Modules/Add-Ons
Topic: Error when adding record field of type 'SET' (ENUM)
Replies: 1
Views: 618

Re: Error when adding record field of type 'SET' (ENUM)

I am shocked that nobody else has had the need (or at least found a solution) for creating tables in the method.install.php which contain a type of SET for mySQL.  :o
by genepilot
Mon Apr 27, 2009 7:13 pm
Forum: Developers Discussion
Topic: Adding a type 'SET' as a mySQL type isn't working!
Replies: 4
Views: 2217

Re: Adding a type 'SET' as a mySQL type isn't working!

It is CMSMS related because it is part of the process to create a table for CMSMS.  I have been creating queries for mySQL for years that successfully add a type SET to mySQL tables.  But, whenever I try using the process to create a table that is built into CMSMS, I always get back an error. I can'...
by genepilot
Mon Apr 20, 2009 6:17 pm
Forum: Modules/Add-Ons
Topic: Error when adding record field of type 'SET' (ENUM)
Replies: 1
Views: 618

Error when adding record field of type 'SET' (ENUM)

Whenever I try to create a Table in method.install.php that contains a field type of 'SET':   mySetField SET('choice1','choice2','choice3') DEFAULT 'choice1' I'm getting an error! Does anybody know how to successfully format this type to get the install to successfully add this type of field? Thanks...
by genepilot
Thu Oct 30, 2008 5:49 pm
Forum: Developers Discussion
Topic: How do you return to the same tab in the admin section?
Replies: 4
Views: 1563

Re: How do you return to the same tab in the admin section?

Thanks guys! I actually went a bit of a different route with this.  Since I was using forms to carry information back and forth between lists and edit/add forms, I used the following code: $lPath = $_SERVER['SCRIPT_NAME'].'?module=Topics&active_tab=assets'; This is what I plugged into the action...
by genepilot
Wed Oct 29, 2008 9:31 pm
Forum: Developers Discussion
Topic: How do you return to the same tab in the admin section?
Replies: 4
Views: 1563

How do you return to the same tab in the admin section?

Every time that I do a submittal in the admin section on a tab that isn't the default tab, I get sent back to the first (default) tab!! I'm using: $active_tab = (isset($params['active_tab'])) ? $params['active_tab'] : 'states'; But nothing seems to be getting passed in to get us back to the same tab...
by genepilot
Wed May 21, 2008 9:43 pm
Forum: Developers Discussion
Topic: How do I see what's going wrong on module install?
Replies: 5
Views: 1726

Re: How do I see what's going wrong on module install?

Okay, it finally submitted properly (created the tables and populated one).

The error that I made was that in:
function GetName()
{
return 'submitMgr';
}
I didn't set the proper name.

But, now I'm curious why my global variable was not properly set after it got run.
by genepilot
Wed May 21, 2008 9:36 pm
Forum: Developers Discussion
Topic: How do I see what's going wrong on module install?
Replies: 5
Views: 1726

Re: How do I see what's going wrong on module install?

Thos methods are commented out in the xxx.module.php file. Here is how I know it's not getting executed:  in my method.install.php file I have the following lines before any code is getting executed: global $gInstallErrors; $gInstallErrors = "Starting Install\n"; Then in my xxx.module.php ...
by genepilot
Wed May 21, 2008 9:26 pm
Forum: Developers Discussion
Topic: How do I see what's going wrong on module install?
Replies: 5
Views: 1726

Re: How do I see what's going wrong on module install?

This is one of my own making from the skeleton.

It turns out that non of my method.install.php code is getting executed! ????

Anybody know any reason why this would happen?
by genepilot
Wed May 21, 2008 8:51 pm
Forum: Developers Discussion
Topic: How do I see what's going wrong on module install?
Replies: 5
Views: 1726

How do I see what's going wrong on module install?

I'm doing a module install using the same table creation code that I sued on a different module on a different site.

Something is going wrong but I don't know how to get feedback on what is failing during the module install!!!

How do I do this?

Thanks,
Brett ???
by genepilot
Sun Apr 20, 2008 6:48 pm
Forum: Developers Discussion
Topic: Long URLs, generating and parsing
Replies: 7
Views: 2805

Re: Long URLs, generating and parsing

http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Optional_Settings helps? ;) No really, there is no documentation there for interpreting/creating  deep urls. As a reminder, here is what I have in mind: http://www.mysite.com/category/subcategory/anotherCategory/myPage.html Figuring...
by genepilot
Sun Apr 20, 2008 4:06 pm
Forum: Developers Discussion
Topic: Long URLs, generating and parsing
Replies: 7
Views: 2805

Re: Long URLs, generating and parsing

How can't you find the installation manual in the documentation ? Pierre M. I'm afraid that what you are referring to isn't as apparent to some others as it is to you. I looked in the sections that could be interpreted as being the 'installation manual' and did not find any documentation referring ...
by genepilot
Fri Apr 18, 2008 4:11 pm
Forum: Developers Discussion
Topic: Long URLs, generating and parsing
Replies: 7
Views: 2805

Re: Long URLs, generating and parsing

Hi Pierre, Sorry about the long delay in replying, I was off on another demanding project. I can't seem to find the 'installation manual'.  Could you point me in the right direction? I spent a some time trying to hunt down this information before and found myself going in circles.  I know that what ...
by genepilot
Tue Apr 01, 2008 3:45 pm
Forum: Developers Discussion
Topic: Long URLs, generating and parsing
Replies: 7
Views: 2805

Long URLs, generating and parsing

I want to use long urls (search engine friendly) of a form like: http://www.mysite.com/category/subcategory/anotherCategory/myPage.html I'm using mod_rewrite. Can somebody point me in the right direction to figure out how to both generate these long urls and getting the system to allow them? Thanks!...

Go to advanced search