maybe this will work too:
{assign var='files' value='uploads/album/*.html'|glob}
{foreach from=$files item='file'}
.....
{/foreach]
Search found 106 matches
- Wed Sep 25, 2019 8:07 pm
- Forum: Modules/Add-Ons
- Topic: Link all files in a given folder? CMSMS 2.X
- Replies: 4
- Views: 1411
- Wed Sep 25, 2019 5:59 pm
- Forum: The Lounge
- Topic: Pretty URL .htaccess rewrite subdomain to directory
- Replies: 4
- Views: 8350
Pretty URL .htaccess rewrite subdomain to directory
hi guys, i need help figuring out how to .htaccess rewrite subdomain to directory and keep subdomain in url For example, i need the result of this url: https://mywebsite.com/ reviews /name to appear like this: https:// reviews .mywebsite.com/name The content of https://mywebsite.com/reviews/name is ...
- Wed Sep 11, 2019 11:28 pm
- Forum: Modules/Add-Ons
- Topic: CGBlog question
- Replies: 0
- Views: 999
CGBlog question
What happens if the author (FEU) edits his username/email? are we going to lose all the associated articles?
- Thu Feb 14, 2019 9:40 pm
- Forum: Modules/Add-Ons
- Topic: CGFeedback How can de websiteowner reply on comments
- Replies: 8
- Views: 3050
Re: CGFeedback How can de websiteowner reply on comments
i had similar experience a while back, i added the cgfeedback module into one of the admin templates. If i well remember i had the feedbacks (comments) attached to uploads from the Uploads module. When the admin accessed the detailed view of a specific upload, i added the a cgfeedback view within my...
- Sun Feb 10, 2019 6:12 pm
- Forum: Modules/Add-Ons
- Topic: New Module pretty url uknown issue
- Replies: 3
- Views: 1772
Re: New Module pretty url uknown issue
Thanks for the reply, I anded up giving up and upgraded the whole site and the modules. It's now working normally.
- Sun Feb 10, 2019 6:09 pm
- Forum: Modules/Add-Ons
- Topic: Lise and Frontend Users [[Solved]]
- Replies: 0
- Views: 1952
Lise and Frontend Users [[Solved]]
This is a solution I found useful in reply to this older topic: https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=78127 The current LISE 1.3.1 in CMSMS 2.2.9.1 doesn't allow you to create a FEU field to select existing users and display them in a dropdown so I had to make a UDT and inside I ad...
- Tue Feb 05, 2019 7:39 pm
- Forum: Modules/Add-Ons
- Topic: Orders Module Email Confirmations
- Replies: 4
- Views: 1721
Re: Orders Module Email Confirmations
the Orders module uses the CMSMailer module to email out:
$cmsmailer =& $this->GetModuleInstance('CMSMailer');
the From values should be taken from the CMSMailer values.
If that doesnt work, not sure how to help.
$cmsmailer =& $this->GetModuleInstance('CMSMailer');
the From values should be taken from the CMSMailer values.
If that doesnt work, not sure how to help.
- Tue Feb 05, 2019 7:22 pm
- Forum: Modules/Add-Ons
- Topic: New Module pretty url uknown issue
- Replies: 3
- Views: 1772
New Module pretty url uknown issue
Hi guys i'm working on the News module and the summary view is showing all the links correctly but when clicking on the link the url ads additional values: https://xxx.com/news/10/90/Test/[b]?page=news/10/90/Test/[/b] instead of: https://xxx.com/news/10/90/Test/ Does anyone have a solution for this?...
- Thu Oct 25, 2018 5:37 pm
- Forum: General Discussion
- Topic: The requested URL was not found on this server (Content)
- Replies: 2
- Views: 2264
Re: The requested URL was not found on this server (Content)
I think there's a big bug here. I noticed that the error is triggered by the word "from" actually, it's the letter 'm' in "from". if i type "collected from you" i get redirected to the error. if i type "collected froM you" saves ok This is very frustrating!! C...
- Thu Oct 25, 2018 5:22 pm
- Forum: General Discussion
- Topic: The requested URL was not found on this server (Content)
- Replies: 2
- Views: 2264
The requested URL was not found on this server (Content)
Hey guys, i'm getting this annoying problem: when saving simple text in the content area of a page i inexplicably get the error below. url: admin/moduleinterface.php Not Found The requested URL was not found on this server. for example if i type: <h3>Users Outside of the United States and Canada:</h...
- Thu Oct 25, 2018 5:13 pm
- Forum: General Discussion
- Topic: Uppercase letter in URL.
- Replies: 2
- Views: 2252
Re: Uppercase letter in URL.
My recommendation would be to create 301 redirects in htaccess to your lowercase urls. I don't think it's a cmsms2 issue
- Thu Sep 06, 2018 5:40 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: css minified?
- Replies: 10
- Views: 5265
Re: css minified?
(It looks like the hardcoded 'tmp/cache' will miss when $config['tmp_cache_location'] is set). You're making a good point, i was not aware of this $config option. btw, i already have a working version that grabs the data directly from the database but it will only convert [[root_url]] to $config['r...
- Wed Sep 05, 2018 7:06 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: css minified?
- Replies: 10
- Views: 5265
Re: css minified?
I created a plugin that would minify the existing default {cms_stylesheet} here: http://dev.cmsmadesimple.org/projects/cssminifier to use it, you need to add the following into the template: {capture assign=stylesheets}{cms_stylesheet nolinks=true}{/capture} {cssMinifier css=$stylesheets} next versi...
- Wed Sep 05, 2018 3:13 am
- Forum: Layout and Design (CSS & HTML)
- Topic: css minified?
- Replies: 10
- Views: 5265
Re: css minified?
Thanks for the feedback, in fact I do need to silence the seo experts
I'm going to give it a try. I'm also going to try using the [[jsmin]] tag. Lets see if it helps.
I'm going to give it a try. I'm also going to try using the [[jsmin]] tag. Lets see if it helps.
- Wed Sep 05, 2018 1:01 am
- Forum: Layout and Design (CSS & HTML)
- Topic: css minified?
- Replies: 10
- Views: 5265
css minified?
Hi all, does anyone knows how to minify the default {cms_stylesheet} ?
is it possible to minify the css files?
thanks
is it possible to minify the css files?
thanks