Hi,
Is there any way to force some text into the content text area of a news item when adding new news items ?
The way it stands now you can not submit news if they are empty. I am looking to find a way around that because I want to display only the titles anyway. At the moment I have to manually add some characters to be able to submit the news item, but would really like to find a way not to have that. Anyone know where the check is made ?
Thanks
George
[SOLVED] Help with news module
[SOLVED] Help with news module
Last edited by george_gr on Mon Dec 13, 2010 10:05 am, edited 1 time in total.
Re: Help with news module
News is like a page if nothing in the content box it wont submit, you don't have to have anything in the summary, if you don't put anything in the content why make a News item, like really, where is the title going to go to a blank news detail...
I think what you want is to only display the title link to the News item, w/o date, category, summary, more link, etc., easy enuf, just make a new News summary template with just the title link, then in news tag {news summarytemplate='titleonlytemplate'} (titleonlytemplate is whatever you named it)...
I think what you want is to only display the title link to the News item, w/o date, category, summary, more link, etc., easy enuf, just make a new News summary template with just the title link, then in news tag {news summarytemplate='titleonlytemplate'} (titleonlytemplate is whatever you named it)...
Re: Help with news module
Somewhere between 1.6.6 and 1.9 they changed that rule for regular pages. Even though "*Content" has a star next to it, which makes it look like it's mandatory, it doesn't seem to be mandatory any more, though they didn't make the same change for News.Dr.CSS wrote: News is like a page if nothing in the content box it wont submit,
Re: Help with news module
I tried some clever manipulation of the form template to do this.. Is the "formtemplate" option only for FEU? No matter what I did to the default form, it didn't seem to change backend news editing.
Re: Help with news module
Hi,
Well i checked it out a bit.
The only way to circumvent this is to edit.
/modules/news/action.addarticle.php
... snip....
Ofcourse this makes the installation non standard which sucks for future upgrades....
But at least it covers my needs for the moment.
Thanks guys
George
Well i checked it out a bit.
The only way to circumvent this is to edit.
/modules/news/action.addarticle.php
... snip....
Ofcourse this makes the installation non standard which sucks for future upgrades....
But at least it covers my needs for the moment.
Thanks guys
George
Last edited by calguy1000 on Mon Dec 13, 2010 10:27 am, edited 1 time in total.