|
Access: Member
Total posts: 8
Status: Offline
| |
|
Desired Extra Features
|
|
HI,
Firstly I would like to say what a fantastic news system you have developed.
A couple of things I would like to know if it is possible to add/change ?
1. Limit number of lines (or letters) for a given category,
I would like to display news items relating to a given category in a <div> on a certain page and have noticed that without a limit the text can overflow the <div> if too much text is added to each news item.
Is there a way to prevent this, whilst allowing, say 1 to 5 ,news items but not allowing the total lines to exceed the <div> size.
2. Only allow a user to add news to categories that have been set up in their user by the administrator ? (this is halfway there when they can only edit their own posts)
Could this be extended to only allow posting to categories OK'd for their user by the administrator.
Sorry for the long explanations.
AndyB
|
| 05:50pm 16th May 08
| |
|
Access: Admin
Total posts: 174
Status: Offline
| |
|
Re: Desired Extra Features
|
|
Hi Andyb,
When adding your content to a div element. if the content is going to exceed the total height/width of that container what you can do to stop it overflowing or breaking the container is use the css overflow style, for example
Code: <div style="overflow: hidden; width: 400px; height: 400px">Your content here</div>
As long as you set the width and the height of the element the content will simply not be shown if it exceeds the boundries of div.
As for allowing users to access to certain categories, I'm only few days away from releasing the next version 3.1 of the script. so I'll try add that before I finish it. as long as your using 3.0 you'll be able to upgrade to the latest version without loosing any data.
|
| 06:01pm 16th May 08
| _______________ Chris - Network-13 Last edited by Chris at 06:01pm 16th May 08 |
|
Access: Member
Total posts: 8
Status: Offline
| |
|
Re: Desired Extra Features
|
|
Chris,
You are a genius mate,
can't wait for the next version,
Thanks for the quick reply,
Keep up the good work,
Andy B.
|
| 06:08pm 16th May 08
| |