Page 2 of 2
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 8:38 pm
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?
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 8:45 pm
by lollipop27
why are you giving up??
my css made it..... just try....

Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 8:52 pm
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.
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 9:14 pm
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....
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 9:18 pm
by lollipop27
go to file: modules > news > lang > en_US.php
in Line 159
change 'return' to what you want....
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 9:25 pm
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
Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 9:41 pm
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!!!!

Re: How to style the 'morelink' in the news module
Posted: Mon Nov 05, 2007 10:19 pm
by Eskymo
Oh I see - that's juts me being totally brainless...thanks...I'm off to bed.
Re: How to style the 'morelink' in the news module
Posted: Tue Nov 06, 2007 5:18 pm
by Dr.CSS
FTP to site then
lollipop27 wrote:
go to file: modules > news > lang > en_US.php
in Line 159
change 'return' to what you want....