Search found 13 matches
- Thu Aug 11, 2011 12:37 am
- Forum: Tips and Tricks
- Topic: Redirecting old Query String URLs to CMSMS pretty urls
- Replies: 6
- Views: 6188
Re: Redirecting old Query String URLs to CMSMS pretty urls
@skulks So I am looking at your code and tried to replicate on my server, and I am able to do what you need. RewriteCond %{QUERY_STRING} ^.*page=list.*$ RewriteRule ^index http://localhost/cmsmadesimple-1.9.4.2/uploads/index.html? [R=301,L] I added the ? just after the html. It shouldn't affect anyt...
- Thu Aug 11, 2011 12:15 am
- Forum: Tips and Tricks
- Topic: Redirecting old Query String URLs to CMSMS pretty urls
- Replies: 6
- Views: 6188
Re: Redirecting old Query String URLs to CMSMS pretty urls
...so I couldn't use your code as is and I had to try a load of different things but after a while I seem to have worked it out: RewriteCond %{QUERY_STRING} ^.*page=foo.*$ RewriteRule ^(.*)$ http://www.example.com/the/pretty/url/path/to/your/new/page/? [R=301,L] Thanks again, I wouldn't have know w...
- Mon Jun 13, 2011 6:06 pm
- Forum: [locked] Accessability and Usability
- Topic: cmsms mobile edition
- Replies: 14
- Views: 26882
Re: cmsms mobile edition
We have been working this type of modification as well. We wound up using the enhance.js (progressive enhancement) that filters out whether a device can handle certain levels of .js and .css. Then you can specify ranges of devices to load certain style sheets (media queries) and separate .js files a...
- Tue May 24, 2011 11:44 pm
- Forum: Modules/Add-Ons
- Topic: Cataloger - Category index list (show menutext)
- Replies: 2
- Views: 1130
Re: Cataloger - Category index list (show menutext) [SOLVED]
Ah yes - that was perfect.
[menutitle] was what i was after.
final syntax:
Thanks again for the code.
[menutitle] was what i was after.
final syntax:
Code: Select all
{section name=numloop loop=$items}
<li>
<a href="{$items[numloop].link}">{$items[numloop].menutitle}</a>
</li>
{/section}
- Mon May 23, 2011 8:32 pm
- Forum: Modules/Add-Ons
- Topic: Cataloger - Category index list (show menutext)
- Replies: 2
- Views: 1130
Cataloger - Category index list (show menutext)
I am using a slimmed down version of the Printable-Catalog-table_based template to show a list of my catalog items in my default menu template. Is there any way to show the menutext field instead of the title field for the list of categories? here is my cuurent template code for the list: {section n...
- Sat Mar 05, 2011 12:38 am
- Forum: Modules/Add-Ons
- Topic: Getting data from a module?
- Replies: 2
- Views: 998
Re: Getting data from a module?
@ Hoshy Thank you for your response. Quite helpful. I never would have known that $gCMS was deprecated. Is there a new dev doc somewhere? We just want to get a list of the current $items in the cataloger db. I'll look to see if they are db variables. Not sure. Essentially Just want a list of all $it...
- Fri Mar 04, 2011 9:12 pm
- Forum: Modules/Add-Ons
- Topic: Getting data from a module?
- Replies: 2
- Views: 998
Getting data from a module?
Hi All - Was wondering if someone could give me the syntax to get data from a module. We have Cataloger installed and want to print all Cataloger itesm to GCB. I tried making a UDT accessing $gCMS, but it only gives me an object. I can't get into any of the arrays within the object. This code in a U...
- Mon Feb 28, 2011 8:41 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder required fields not displaying error...[solved]
- Replies: 2
- Views: 1013
Re: Formbuilder required fields not displaying error...[SOLV
Sorry all -
it was an issue with the .htaccess file and mod_rewrite.
It is fixed now.
Make sure to use the <if mod_rewrite> code int he .htaccess file.
-steff
it was an issue with the .htaccess file and mod_rewrite.
It is fixed now.
Make sure to use the <if mod_rewrite> code int he .htaccess file.
-steff
- Mon Feb 28, 2011 8:21 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder required fields not displaying error...[solved]
- Replies: 2
- Views: 1013
Re: Formbuilder required fields not displaying error...
I have located part of the issue.
In terms of the required fields not working.
If I turn off "mod_rewrite" the field validation does seem to work...
Is there a way to make FormBuilder work with Pretty Urls?
cheers,
Steff
In terms of the required fields not working.
If I turn off "mod_rewrite" the field validation does seem to work...
Is there a way to make FormBuilder work with Pretty Urls?
cheers,
Steff
- Mon Feb 28, 2011 7:45 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder required fields not displaying error...[solved]
- Replies: 2
- Views: 1013
Formbuilder required fields not displaying error...[solved]
Hello All - I have installed formbuilder on CMSMS 1.8.2 and my form doesn't seem to recognize that fields are required. A user can just submit the form. So that is issue 1. Is there something else I need to set up to make fields required? Even the email from again field fails to do anything...??? Th...
- Wed Feb 23, 2011 9:09 pm
- Forum: Tips and Tricks
- Topic: Redirecting old Query String URLs to CMSMS pretty urls
- Replies: 6
- Views: 6188
Re: Redirecting old Query String URLs to CMSMS pretty urls
Hi -
I am not sure that canonical urls are at issue here.
I am not rerouting previous or current cmsms pages.
I am rerouting old php pages from a former site that
have been cached by google but do not exist anymore.
How would a canonical url be used for page that doesn't exist?
-steff
I am not sure that canonical urls are at issue here.
I am not rerouting previous or current cmsms pages.
I am rerouting old php pages from a former site that
have been cached by google but do not exist anymore.
How would a canonical url be used for page that doesn't exist?
-steff
- Mon Feb 14, 2011 9:55 pm
- Forum: Tips and Tricks
- Topic: Redirecting old Query String URLs to CMSMS pretty urls
- Replies: 6
- Views: 6188
Redirecting old Query String URLs to CMSMS pretty urls
All - This took me about an hour and a half to figure out, so I wanted to post for other users who use CMSMS and are coming from old php sites. Pretty URLs (mod_rewrite) does not correctly interpret 301 redirects in the .htaccess file when the original url has a query string in it: index.php?someID=...
- Fri Dec 17, 2010 1:15 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Printing the "Section" header of the page you are viewing.
- Replies: 1
- Views: 1074
Printing the "Section" header of the page you are viewing.
Hi All- I have been searching around and can't find a complete answer to my issue. My hierarchy looks like this: Products (sectionheader) - product 1 page - product 2 page - product 3 page Solutions (sectionheader) - solutions 1 page - solutions 2 page - solutions 3 page All I am trying ...