Multiple basic newbie problems

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
axu-h

Multiple basic newbie problems

Post 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?
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Multiple basic newbie problems

Post 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.
ReneH 8-)
A search will save you hours waiting for an answer! Image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Multiple basic newbie problems

Post 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 /*  */ ...
axu-h

Re: Multiple basic newbie problems

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Multiple basic newbie problems

Post 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...
Locked

Return to “CMSMS Core”