Search found 1899 matches
- Mon Jun 18, 2012 5:02 pm
- Forum: Modules/Add-Ons
- Topic: Is it possible to save changes on a page without submitting?
- Replies: 6
- Views: 2329
Re: Is it possible to save changes on a page without submitt
I don't think Dr.CSS meant use the WYSIWYG copy/paste. He meant use the "copy page" button to create an exact duplicate of the page you want to work on. Then make the changes you want, let others review, etc. When it's ready for publication, you can do 1 of 2 things: 1. copy the entire HTM...
- Fri Mar 30, 2012 2:47 am
- Forum: Modules/Add-Ons
- Topic: Restricted Content and News
- Replies: 6
- Views: 2493
Re: Restricted Content and News
So what is your question?
On the "restricted" page, simply call the News module {cms_module module='News' category='yourcategory'}.
If the user has permission to be on that page, then he'll see the news. Otherwise, he won't.
On the "restricted" page, simply call the News module {cms_module module='News' category='yourcategory'}.
If the user has permission to be on that page, then he'll see the news. Otherwise, he won't.
- Thu Mar 22, 2012 8:02 pm
- Forum: Modules/Add-Ons
- Topic: Birthday Listing
- Replies: 16
- Views: 6444
Re: Birthday Listing
you'll need to update to 1.10.x before you're likely to get any help. The 1.9 series is no longer supported.
- Wed Mar 21, 2012 3:10 am
- Forum: CMSMS Core
- Topic: Missing {while} and {for}, is there any replacement?
- Replies: 2
- Views: 1268
Re: Missing {while} and {for}, is there any replacement?
It is missing by design. You can add it in yourself, if you feel it would be useful on your site.Tantalus wrote:Hello,
I've found {while} and {for} in the smarty docu, but in cmsms it missing.
- Thu Mar 15, 2012 2:37 am
- Forum: Modules/Add-Ons
- Topic: Splash Page Module?
- Replies: 3
- Views: 1910
Re: Splash Page Module?
if it were me, I would write it all in PHP and include it at the top of my default template by calling a UDT like {check_cookie}. the pseudocode would look something like this if (the cookie already exists) redirect to the desired page else create a cookie which will expire in 24 hours (or whatever ...
- Thu Mar 15, 2012 12:50 am
- Forum: Modules/Add-Ons
- Topic: Splash Page Module?
- Replies: 3
- Views: 1910
Re: Splash Page Module?
how about just setting a 24hr cookie, and using template code on the default page to see if the cookie exists, and if it does, you automatically redirect to the real "homepage" (which in this case would be different from the default page)
- Tue Mar 13, 2012 7:15 pm
- Forum: Modules/Add-Ons
- Topic: Custom content based on induvidual Front End User
- Replies: 11
- Views: 3907
Re: Custom content based on induvidual Front End User
sorry - try just {$username} instead.
so
{if $ccuser->loggedin()}
{redirect_page page=$username}
{* where the page alias == the logged-in user's username *}
{/if}
so
{if $ccuser->loggedin()}
{redirect_page page=$username}
{* where the page alias == the logged-in user's username *}
{/if}
- Fri Mar 09, 2012 8:45 pm
- Forum: Modules/Add-Ons
- Topic: Custom content based on induvidual Front End User
- Replies: 11
- Views: 3907
Re: Custom content based on induvidual Front End User
For example: {if $ccuser->loggedin()} {if $ccuser->username('userid')} {redirect_page page='userid'} {/if} {/if} Even easier: {if $ccuser->loggedin()} {redirect_page page=$ccuser->username()} {* where the page alias == the logged-in user's username *} {/if} You could also do this via userid instead...
- Thu Mar 08, 2012 3:56 am
- Forum: Modules/Add-Ons
- Topic: Custom content based on induvidual Front End User
- Replies: 11
- Views: 3907
Re: Custom content based on induvidual Front End User
{if $ccuser->username('the_users_username')}
{* content only for that specific user *}
{/if}
{* content only for that specific user *}
{/if}
- Sat Mar 03, 2012 9:54 pm
- Forum: Modules/Add-Ons
- Topic: Set Captcha to come up after 3 login attempts in FEU
- Replies: 3
- Views: 1542
Re: Set Captcha to come up after 3 login attempts in FEU
To my knowledge, this is not a feature of FEU or CC, and would therefore require that the module editor add the feature (probably would be a sponsored feature), or that you hack the source (not recommended as it renders your installation unsupported, and your changes will be lost during an upgrade i...
- Sat Mar 03, 2012 9:52 pm
- Forum: CMSMS Core
- Topic: password protect specific pages of a sites
- Replies: 3
- Views: 1645
Re: password protect specific pages of a sites
If you're a complete n00b, please at least take the time to find your CMSMS version before attempting anything more complicated. Gotta walk before you can run...
Hint - look at the footer of any admin page.
Hint - look at the footer of any admin page.
- Fri Mar 02, 2012 12:07 pm
- Forum: Modules/Add-Ons
- Topic: Smarty tag not working with Products Module
- Replies: 8
- Views: 2843
Re: Smarty tag not working with Products Module
Otherwise edit your Products template where it says: {$entry->details} to {eval var=$entry->details} Then you are able to add {Gallery} in your WYSIWYG Products area and it will return Module instead of plain text. Thank you, uniqu3! That's what I was trying to say in my post above, but I'd forgott...
- Fri Mar 02, 2012 2:24 am
- Forum: Modules/Add-Ons
- Topic: Smarty tag not working with Products Module
- Replies: 8
- Views: 2843
Re: Smarty tag not working with Products Module
When you say that the Gallery tag works if placed in the template, are you talking about the page template or the Products summary/detail template?
- Thu Mar 01, 2012 4:21 am
- Forum: Modules/Add-Ons
- Topic: Smarty tag not working with Products Module
- Replies: 8
- Views: 2843
Re: Smarty tag not working with Products Module
In the product description, try replacing
{Gallery dir='comfort'}
with
{capture name='gallery'}{Gallery dir='comfort'}{/capture}{eval var=$gallery}
{Gallery dir='comfort'}
with
{capture name='gallery'}{Gallery dir='comfort'}{/capture}{eval var=$gallery}
- Sat Feb 18, 2012 5:24 am
- Forum: Modules/Add-Ons
- Topic: [FEU] check if user is allowed to view this page
- Replies: 6
- Views: 20568
Re: [FEU] check if user is allowed to view this page
you can with a little Smarty magicmcDavid wrote:that's not an option, because you don't get redirected back to the page you are looking for after logging in.