problem about cmsmadesimple-Collection of common programming errors


  • Syntax Error
    upgrade smarty3 cmsmadesimple
    I’m new to CMSMS and taking an older installation through a painful upgrade path to get it to the current version. One of the major changes involves using Smarty 3 for it’s templating engine. This change has broken a couple of the existing templates.The related CMSMS module is called “Product and Inventory Manager” which looks like it’s part of “Calguys Module Extensions”Here’s the error message I’m getting:Syntax Error in template “module_db_tpl:ProductsWithLocation;summary_default” on line 26

  • Gideon
    smarty cmsmadesimple
    Using CMS Made Simple, I use User Defined Tags (UDT) to insert PHP into my pages.I have one UDT with around 2000 lines of code which I noticed began to fail to load at all (no elements from that tag are being produced) once I exceeded a certain point. I can remove any one definition of a variable, even and the whole thing will work again.Does anyone know if there is a limit to the amount of code one tag can hold, or more likely the amount of time taken to call that tag? I can’t find any referenc

  • air4x
    php smarty smarty3 cmsmadesimple
    Hopefully someone can help me with this. I am using smarty within CMSMS and have something called a User Defined Tag running within my page. This contains the following code: $db = cmsms()->GetDb(); $menu = $smarty->get_template_vars(‘page’); $user_id = $smarty->get_template_vars(‘userid’); if (!isset($user_id)) { $user_id = -1; } // Getting menu items from DB $query = ‘SELECT * FROM ‘. cms_db_prefix() .’module_tools_options WHERE active = 1 AND user_id = ? AND menu = ? ORDER BY so

Web site is in building

I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money