Search found 93 matches

by admsh
Sun Feb 12, 2012 1:32 pm
Forum: CMSMS Core
Topic: news: how to create a link to articles by same author
Replies: 3
Views: 1975

news: how to create a link to articles by same author

not sure if this is possible - i have a "Author" custom field in news. each article lists the authors at the top. i want to make the name a link to a page where articles authored by that person will show up.

possible?
by admsh
Tue Aug 23, 2011 2:45 pm
Forum: CMSMS Core
Topic: [SOLVED] 1.9 bug? news module checkboxes get unchecked.
Replies: 2
Views: 1133

Re: 1.9 bug? news module checkboxes get unchecked.

it's been fixed in the latest version of the news module. you can apply the patch described here:
http://dev.cmsmadesimple.org/bug/view/6215

should also be fixed in the latest beta (1.10).
by admsh
Sat Aug 20, 2011 9:35 pm
Forum: Layout and Design (CSS & HTML)
Topic: Showing something only on 3rd level pages?
Replies: 0
Views: 798

Showing something only on 3rd level pages?

I'm trying to display a piece of code only on 3rd level pages. It's easy with the menu module, of course, because one can specify [start_level='3'], for example, but how can this be done using smarty?
by admsh
Mon Jul 18, 2011 6:10 pm
Forum: Modules/Add-Ons
Topic: FormBuilder: Add class to field instead of containing DIV
Replies: 7
Views: 3209

Re: FormBuilder: Add class to field instead of containing DI

this one: http://docs.jquery.com/Plugins/validation if the required class could be added to the form element, it would look like this: <__script__> $(document).ready(function(){ $("#commentForm").validate(); }); </__script> as it is now it would have too look like this: <__script__> $(docu...
by admsh
Mon Jul 18, 2011 3:47 pm
Forum: Modules/Add-Ons
Topic: FormBuilder: Add class to field instead of containing DIV
Replies: 7
Views: 3209

Re: FormBuilder: Add class to field instead of containing DI

yes, i'm sure. one can specify the fields to validate using their name attribute, but then making a field required in formbuilder's back-end makes no difference on the validation...

if the fields themselves got the "required" class attached to them, no other code would be needed...
by admsh
Sat Jul 16, 2011 4:13 pm
Forum: Modules/Add-Ons
Topic: FormBuilder: Add class to field instead of containing DIV
Replies: 7
Views: 3209

FormBuilder: Add class to field instead of containing DIV

I'm trying to add jquery validation to a form instead of using formbuilder's built in validation. Problem is the validation plugin identifies required fields by their class (.required), and FormBuilder adds a class to the DIV containing the form elements... Tried looking in the form template but can...
by admsh
Tue May 17, 2011 12:07 pm
Forum: Layout and Design (CSS & HTML)
Topic: show content block only if not child of certain parent-page
Replies: 2
Views: 1302

show content block only if not child of certain parent-page

I'm trying to NOT show a content block on pages that are child-pages of a certain category on my site. I know how to hide a content block if the page alias is this or that, but how do I change the code to not show the content block on any page that is a child-page of a certain category? This is the ...
by admsh
Sun May 08, 2011 3:31 pm
Forum: The Lounge
Topic: htaccess redirect doesn't work with default .htaccess
Replies: 4
Views: 2275

htaccess redirect doesn't work with default .htaccess

I'm trying to redirect old html pages to their new locations on the newly-built cmsms website using .htaccess 301 redirect. I think the code is conflicting with the default syntax from the .htaccess file that was in the docs directory (brand new install of 1.9.4.1) I'm trying to use this code: Redir...
by admsh
Sun May 08, 2011 2:28 pm
Forum: CMSMS Core
Topic: Search - results template - add content?
Replies: 0
Views: 700

Search - results template - add content?

I'm sorry for double posting - I've realised this should be posted here and don't see a way to delete the post on the modules board - I'm trying to add a few lines of the page content to the search results template. I wonder if there's a solution to do this? I've tried adding "$entry->content&q...
by admsh
Sat May 07, 2011 10:27 pm
Forum: Modules/Add-Ons
Topic: Search - results template - add content?
Replies: 9
Views: 5095

Search - results template - add content?

I'm trying to add a few lines of content to the search results template. I wonder if anyone knows of an easy solution to do this? I've tried adding "$entry->content" to the template, like this, but it doesn't seem to work: {foreach from=$results item=entry} <li>{$entry->title} - <a href=&q...
by admsh
Sat May 07, 2011 10:24 pm
Forum: Layout and Design (CSS & HTML)
Topic: [SOLVED] Current page URL?
Replies: 3
Views: 1707

Re: Current page URL?

THANK YOU!!!
works like a charm.
by admsh
Sat May 07, 2011 3:40 pm
Forum: Layout and Design (CSS & HTML)
Topic: [SOLVED] Current page URL?
Replies: 3
Views: 1707

[SOLVED] Current page URL?

sorry if this has been asked before 1000+ times, i can't seem to find an answer by searching.

how do i print the current page URL on my page? i'm creating social media links and need the current page URL as part of the code...
by admsh
Sat Apr 30, 2011 3:20 pm
Forum: Layout and Design (CSS & HTML)
Topic: [SOLVED] Show content block on page only if not empty?
Replies: 8
Views: 3219

[SOLVED] Show content block on page only if not empty?

I'm creating a layout with boxes, and in each box there is a content block. My problem is, that even when the content block is empty, the box shows up (each box is a DIV, with padding). I'm looking for a way to only show the box if the content block actually has content in it... I've tried playing w...
by admsh
Tue Mar 15, 2011 3:57 am
Forum: CMSMS Core
Topic: exclude news category?
Replies: 2
Views: 1264

exclude news category?

i'm looking for a way to exclude a news category from showing. if i only include the categories i want to show (by listing all but the one i want to hide, with commas), news items are shown in that order (the order in which i've listed the categories i want to show). i want items to be shown normall...

Go to advanced search