Search found 158 matches

by farhadprm
Sun Sep 21, 2014 10:32 pm
Forum: The Lounge
Topic: Problem with alternate language tags in CMSMS
Replies: 0
Views: 1364

Problem with alternate language tags in CMSMS

Hi, I have a website in three languages ​​with Mlecms and I'm using Sitemap explained by Rolf: https://www.cmscanbesimple.org/blog/create-dynamic-sitemaps-and-robots-txt In Google Webmaster Tools, displays the written "Your site has no hreflang tags." In the header I added: <link rel="...
by farhadprm
Fri Jul 04, 2014 6:14 pm
Forum: Feature ideas
Topic: Feature wishes for CMS Made Simple
Replies: 20
Views: 13289

Re: Feature wishes for CMS Made Simple

Any html template can be converted to a CMSMS template. I completely agree that any html template can be converted to a CMSMS template, but this is easy when dealing with a simple website. Instead, the job becomes difficult if you should do a complex site and customize so many things like gallery t...
by farhadprm
Wed Jul 02, 2014 12:20 pm
Forum: The Lounge
Topic: Persian date Smarty
Replies: 7
Views: 2472

Re: Persian date Smarty

I tried this version and it worked! :) Thank you http://code.google.com/p/smartyjalaliplugin/downloads/detail?name=smarty_jalali_date_plugin_0.3.zip&can=2&q= Ok. There is a difference in last release of Smarty in that the correct Smarty plugins folder is in <site_root>\lib\smarty\libs\plugin...
by farhadprm
Wed Jul 02, 2014 11:23 am
Forum: The Lounge
Topic: Persian date Smarty
Replies: 7
Views: 2472

Re: Persian date Smarty

this is the error message: ERROR: at line 17 in file /var/www/vhosts/domain.it/httpdocs/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php: Syntax error in template "module_db_tpl:News;summaryresponsive-summary-main" on line 17 " {$entry->postdate|jdate_format}" ...
by farhadprm
Wed Jul 02, 2014 11:15 am
Forum: The Lounge
Topic: Persian date Smarty
Replies: 7
Views: 2472

Re: Persian date Smarty

Thank you for your response. I copied the files in (<site_root>\lib\smarty\plugins) but when i call it my site go down. For example, when I edit: {$entry->postdate|cms_date_format} to {$entry->postdate|jdate_format} I recieve error. Maybe I'm wrong code to call it? Thank you Does anyone know how I c...
by farhadprm
Wed Jul 02, 2014 8:06 am
Forum: The Lounge
Topic: Persian date Smarty
Replies: 7
Views: 2472

Persian date Smarty

Hi, I found a smarty plugin to visualize the Persian calendar. Does anyone know how I could integrate it into CMSMS? The link is: http://code.google.com/p/smartyjalaliplugin/downloads/detail?name=smarty_jalali_date_plugin_0.3.zip&can=2&q= There is also a version of CMSMS but is too old and d...
by farhadprm
Tue Jun 03, 2014 8:40 pm
Forum: Closed Issues
Topic: [fixed] Correct abbreviation for Persian in file "fa_IR...
Replies: 1
Views: 1630

[fixed] Correct abbreviation for Persian in file "fa_IR...

Hi,

in the end of file:

Code: Select all

(root)/trunk/lib/nls/fa_IR.nls.php
the abbreviation for persian Language is wrong:

Code: Select all

$nls['htmlarea']['fa_IR'] = 'ja';
the correct abbreviation is: 'fa'

Code: Select all

$nls['htmlarea']['fa_IR'] = 'fa';
Thak you
by farhadprm
Mon Mar 31, 2014 8:12 pm
Forum: Tips and Tricks
Topic: Responsive News Slider
Replies: 3
Views: 4335

Re: Responsive News Slider

Dear Dr.CSS, JohnnyB has already post a sufficiently comprenhensive translation of the topic. What I was wondering is something a little different and I'm sure that with a little modification, we could obtain a "Tumbnaile News Slider". pasmaskas in his topic explains how we could get a &qu...
by farhadprm
Mon Mar 17, 2014 10:26 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] News - Sort by Most Viewed
Replies: 15
Views: 6122

Re: News - Sort by Most Viewed

I solved the problem by making a backup of the news tables in Mysql, uninstalling the module, import the tables and reinstall the News module. I'm going to try again UDT (This time on a development site!). :D Edit 1: UDT does not work for me. I get this error in output: Error: no id Given. I have 1....
by farhadprm
Mon Mar 17, 2014 3:20 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] News - Sort by Most Viewed
Replies: 15
Views: 6122

Re: News - Sort by Most Viewed

Thank you for your reply. Before trying your UDT, I tried with the two other UDT which i found in this link: http://forum.cmsmadesimple.org/viewtopic.php?f=4&t=43328&p=213345&hilit=Sortby+Most+Viewed#p213345 where I changed "Cgblog" in "News". Could the problem due to...
by farhadprm
Mon Mar 17, 2014 2:09 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] News - Sort by Most Viewed
Replies: 15
Views: 6122

Re: News - Sort by Most Viewed

Hi velden, I tried with the previous UDT, not only did not work, but it has created a problem in the News module. Practically in the backend, inside the articles, has vanished the "Summary" and for previous articles inserted "Summary" and "Content" are united in "C...
by farhadprm
Sun Mar 16, 2014 8:02 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] News - Sort by Most Viewed
Replies: 15
Views: 6122

Re: News - Sort by Most Viewed

Hi all, I also need a lot of this function. I tried this UDT (I also corrected a mistake cgblog_id to news_id), but it did not work. Any suggestions? Thanks From the hitcounter help I can see how it counts the hits. But I don't think it will help you sorting the news items. At least not efficiently....
by farhadprm
Sun Mar 16, 2014 5:57 pm
Forum: Tips and Tricks
Topic: Responsive News Slider
Replies: 3
Views: 4335

Re: Responsive News Slider

Thanks for your post pasmaskas.

I would like to know how we could modify your News Slider to get a result like this example:
http://tympanus.net/Development/Elastislide/index.html

Thank you very much
by farhadprm
Thu Mar 13, 2014 4:31 pm
Forum: Tips en Trucs
Topic: Responsive Nieuws Slider
Replies: 5
Views: 28752

Re: Responsive Nieuws Slider

Thanks for your post pasmaskas.

I would like to know how we could modify your News Slider to get a result like this example:
http://tympanus.net/Development/Elastislide/index.html

Thank you very much
by farhadprm
Sun Mar 03, 2013 10:39 pm
Forum: Layout and Design (CSS & HTML)
Topic: Class in {$startform}
Replies: 2
Views: 2040

Class in {$startform}

Hi,
I would like to know how could be put a class inside {$startform}?
I tried this but it did not work:

Code: Select all

{$startform class="navbar-search pull-left"}
I would like to have as a result:

Code: Select all

<form class="navbar-search pull-left">
Thanks

Go to advanced search