SOLVED : How to style the 'morelink' in the news module

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.
Eskymo

Re: How to style the 'morelink' in the news module

Post by Eskymo »

I gave up and just did this:

{$entry->morelink} »

the » creates the same arrow as my graphic but it's grey rather than pink and I'm not that bothered about stylingit further.

Any idea how to get 'Return' to say 'Back to news'?

Also if I have my pagelimit set to 5 as below:

Code: Select all

{news moretext="read more" detailpage="newsdetail" pagelimit="5"}
why is my news page not paginating? I removed the following code:

Code: Select all

{if $pagecount > 1}
<p>{if $pagenumber > 1}
{$firstpage} {$prevpage} 
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
 {$nextpage} {$lastpage}
{/if}</p>
{/if}
As that paginated each individual news story - not ideal. I want to be able to show 5 news stories on the news page and if the number increases for the page to automatically display a next button. Is that possible?
Last edited by Eskymo on Mon Nov 05, 2007 8:40 pm, edited 1 time in total.
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: How to style the 'morelink' in the news module

Post by lollipop27 »

why are you giving up??

my css made it..... just try....  ::)
Eskymo

Re: How to style the 'morelink' in the news module

Post by Eskymo »

lollipop27 wrote: why are you giving up??
I've got a bad cold, I've been working on this all day and getting nowhere, and cmsms is running soooooo unbelievably slow....all leading to me just using the simple solution of adding » instead of battling with the stylesheet and template.
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: How to style the 'morelink' in the news module

Post by lollipop27 »

but its not that difficult.... I managed, with the two css styles.... it worked!

don't give up  ;)


With that Return button, you can change it in the language file..... i'll find out for you....
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: How to style the 'morelink' in the news module

Post by lollipop27 »

go to file: modules > news > lang > en_US.php


Code: Select all

$lang['news_return'] = 'Return';
in Line 159



change 'return' to what you want....
Eskymo

Re: How to style the 'morelink' in the news module

Post by Eskymo »

you are an absolute star but I have no idea where you mean...

there is not 'file' my main menu consists of main, content, layout, users & groups, extensions, site admin, my preferences, view site, logout.

clicking on 'modules' under the 'Extensions' menu just gives me the modules help page
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: How to style the 'morelink' in the news module

Post by lollipop27 »

sorry.... file meaning in the explorer.... real proper file.... the ones you can edit in an editor....

oops.... I'm trying to help and confusing you even more.... you should drink a hot tea for your cold.... or as we say in bavaria.... a warm beer!!!!

;)
Eskymo

Re: How to style the 'morelink' in the news module

Post by Eskymo »

Oh I see - that's juts me being totally brainless...thanks...I'm off to bed.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to style the 'morelink' in the news module

Post by Dr.CSS »

FTP to site then
lollipop27 wrote: go to file: modules > news > lang > en_US.php


Code: Select all

$lang['news_return'] = 'Return';
in Line 159



change 'return' to what you want....
Locked

Return to “CMSMS Core”