Search found 17 matches

by jatinder
Mon Jul 02, 2007 12:32 pm
Forum: CMSMS Core
Topic: Help me choose a FAQ module
Replies: 1
Views: 1105

Help me choose a FAQ module

Hello, I need a FAQ module for one of the sites I am developing using CMSMS. A search turned up four FAQ modules. 1. http://dev.cmsmadesimple.org/projects/faq/ 2. http://dev.cmsmadesimple.org/projects/faqx/ 3. http://dev.cmsmadesimple.org/projects/pifaq/ 4. http://dev.cmsmadesimple.org/projects/glo...
by jatinder
Fri Jun 29, 2007 12:41 pm
Forum: CMSMS Core
Topic: Edit templates => White screen [SOLVED]
Replies: 4
Views: 1454

Re: Edit templates => White screen [SOLVED]

If you are on cPanel based hosting, you can view the errors from the cPanel itself by clicking on "Error Log". To enable error reporting, add this entry in your .htaccess file. php_flag error_reporting E_ALL & ~E_NOTICE php_flag log_errors 1 To display the errors in the browser itself,...
by jatinder
Wed Jun 27, 2007 8:25 pm
Forum: CMSMS Core
Topic: [SOLVED] News module - Summary & Detailed Template help
Replies: 2
Views: 1374

Re: News module - Summary & Detailed Template help

Something like this should work: {foreach from=$items item=entry} <h2>{$entry->title}</h2> <small>Posted by {$entry->authorname} on {$entry->formatpostdate}</small> <p>{$entry->summary}</p> <p><a href="{$entry->link}">Full Article</a> | <a href="{$entry->link}">{count_news_commen...
by jatinder
Wed Jun 27, 2007 2:33 pm
Forum: CMSMS Core
Topic: [Sorted] How to change the word "Search:" in front of the search text box
Replies: 10
Views: 2583

Re: [Nearly Sorted] How to change the word "Search:" in front of the search text

You can control the width of the input box using CSS.

Can't provide more detailed help unless you post the link to your website.
by jatinder
Wed Jun 27, 2007 2:04 pm
Forum: CMSMS Core
Topic: Changing the search box!?
Replies: 2
Views: 1193

Re: Changing the search box!?

Why do you want to hardcode the name and id attributes. Doesn't something like this work?

Code: Select all

{$startform}

{$label}: {$inputbox}<input name="submit" value="{$submittext}" type="submit" class="inputbox" />{$hidden}

{$endform}
by jatinder
Wed Jun 27, 2007 1:58 pm
Forum: CMSMS Core
Topic: moving from development to active
Replies: 6
Views: 1798

Re: moving from development to active

Yes you were right - but if you use relative URL (like default CMSms install) this should be no problem
Well, on my default install, the WYSIWYG editor always uses absolute paths for internal links as well as image source paths.
by jatinder
Wed Jun 27, 2007 7:31 am
Forum: CMSMS Core
Topic: moving from development to active
Replies: 6
Views: 1798

Re: moving from development to active

There's a section in wiki for that http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Copying_To_a_New_Server The wiki does not mention anything about replacing the URLs in the database dump. This is important. Otherwise you will end up with broken links and images with wrong source...
by jatinder
Wed Jun 27, 2007 6:11 am
Forum: CMSMS Core
Topic: Edit templates => White screen [SOLVED]
Replies: 4
Views: 1454

Re: Edit templates => White screen

Usually, white screens are caused in PHP when an error occurs and the error_reporting is set to 0.

Set error_reporting to E_ALL and then try again.
by jatinder
Wed Jun 27, 2007 5:36 am
Forum: CMSMS Core
Topic: moving from development to active
Replies: 6
Views: 1798

Re: moving from development to active

I do this manually: Edit the config.php file and set the paths. The file is pretty self explanatory and you should be able to fgure out which paths to change and what values to set. Download a SQL dump of your database Search and replace all instances of mysite.com/cmsmadesimple with mysite.com in t...
by jatinder
Wed May 23, 2007 5:39 am
Forum: CMSMS Core
Topic: form code for NMS module
Replies: 1
Views: 935

Re: form code for NMS module

The form creation code can be found in functions.admintabs.php file. For example, the _DisplayAdminUsersTab function displays the "Add User" form. CreateInputText function is used to create the textfields. Usage  example of this function: $this->smarty->assign('email', $this->CreateInputTe...
by jatinder
Wed Apr 25, 2007 5:09 pm
Forum: CMSMS Core
Topic: How can I change page template from a module?
Replies: 3
Views: 1321

Re: How can I change page template from a module?

Thanks for the replies, but I have managed to solve the problem on my own. It involves passing the "showtemplate" parameter from the module. If the value of this parameter is "false", CMSMS will not use the template associated with the page. Then I can echo any output I want from...
by jatinder
Wed Apr 25, 2007 2:23 pm
Forum: CMSMS Core
Topic: How can I change page template from a module?
Replies: 3
Views: 1321

How can I change page template from a module?

Hello, Is it possible to change the page template from a module's action file? Suppose I have a page products.html in which I have embedded a custom module "Products". Now, is it possible to change the page template from a module's action file. That is, the page will have different templat...
by jatinder
Sat Apr 14, 2007 6:12 pm
Forum: Tips and Tricks
Topic: Speed up your CMSMS site
Replies: 20
Views: 23468

Re: Speed up your CMSMS site

You can leave the caching for modules now Vin, your code is actually caching the modules. The index.php I posted, does not cache the modules. Some modules don't work properly if you cache their output. For example, the validation on FeedbackForm won't work if the module output is cached. Edit : I h...
by jatinder
Sat Apr 14, 2007 3:56 am
Forum: Tips and Tricks
Topic: Speed up your CMSMS site
Replies: 20
Views: 23468

Updated index.php

I have made another modification to the index.php page. The pages are now cached only when they are marked as "Cachable". So I guess even News pagination should work now if you set the particular page as non cachable. Can somebody please confirm this? I am also posting the modified admin/e...
by jatinder
Fri Apr 13, 2007 4:36 pm
Forum: Tips and Tricks
Topic: Speed up your CMSMS site
Replies: 20
Views: 23468

Re: Speed up your CMSMS site

It's just the permanent cache. The pagination of News doesn't work, and the content is not updated immediately (sigh).
Oh yes, it does  :). I have another hack for the admin section which deletes the cache file when a page is updated.

I will check with the pagination though. Thanks for the link.

Go to advanced search