Page 1 of 1

Multiple basic newbie problems

Posted: Sat Dec 09, 2006 4:08 pm
by axu-h
It's not the system being difficult, it's about me being stupid. I, finally, after discovering what's ftp, chmod, and many other things, got the CMSMS 1.0.2 installed. Even managed to do something for the layout, but then the problems and questions came. So:

1. How to set the search module result page?

2. How to set the news detail page? I can read the full news articles trough sidebar summarybox link, but not trough menu link. When I click the link on the menu, it just gives a summarypage, and a link to details. So whats the call for detailed news to be displayed on a page?

Re: Multiple basic newbie problems

Posted: Sat Dec 09, 2006 5:21 pm
by reneh
From the search helppage:
(optional) resultpage="null" - Page to display search results in. This can either be a page alias or an id. Used to allow search results to be displayed in a different template from the search form

so put something like that in your modulecall for search.

From the news helppage:
(optional) detailpage="pagealias" - Page to display News details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary.

so put something like that in your modulecall for news.

Re: Multiple basic newbie problems

Posted: Sun Dec 10, 2006 7:36 am
by Dr.CSS
If you want just the details to show on a news page...

Go to Content > News click the Detail tab for detail template, highlight it and copy...

Open notepad and paste, save and name it with .tpl and use Type: All Files...

FTP to site into modules/news/templates...

Page to display News in Detail, tag {news summarytemplate='TheNameYouGaveIt.tpl'}...

News defaults to summary template unless you give it a different template to start from...

To not show certain parts of the news be it in summary or detail... such as date...

.NewsSummaryPostdate {display:none;}

.NewsPostDetailDate {display:none;}

When you render the page (look at it in a browser) right click, view source to find the classes you may not want to show or style in another way...

There is a News CSS (Module: News) that has most all the calls for styling it... some commented out using /*  */ ...

Re: Multiple basic newbie problems

Posted: Sun Dec 10, 2006 7:08 pm
by axu-h
Thanks for helping. Both problems are now solved.

But I now have some new problems:

1. The FrontEnd Users module is not reacting to lang: xx_XX. Not even when in the simplest login form. Any simple solution?

2. I cant get CustomContent work properly. When I tried to use this:

{cms_module module=CustomContent}
{if $customcontent_loggedin}
{if $customcontent_memberof_user}
Blah Blah Blah.
{else}
No acces to dat.
{/if}
{/if}

it worked sometimes, but when refreshed, text disappeared and only the heading of page remained. What's wrong with the code? And how I should put several usergroups in the code?

My apologies if answers to these simple questions are to be found somewhere. I tried to find them in wiki, helpwindows and forums, but didn't get an answer I'd understood. I tried also many possible solutions, but it seems´that none of them worked.

Re: Multiple basic newbie problems

Posted: Sun Dec 10, 2006 9:12 pm
by Dr.CSS
Glad that worked... You may want to put the next question in another thread with FEU and CC in the Subject line...

I haven't used them yet...