Re: Re : Adding a function to the edit menu
I think I have a better idea of what you're doing.... you want to give folks the chance, when they are editing a wiki page to have it added to a "news module" — automatically. Right?
This is a piece of cake.... if you're using categories
- Create a new category. Call it Add to News or something similar. Record the category ID.
- Create a new module.
- Edit the new module, adding the following:
Copy to clipboard{CATEGORY(id=>CC)}{CATEGORY}
Where XX is the category ID from step 1.
Note: Make sure you have selected the Must be wiki parsed option. - Assign the module to your layout.
Now, when a user edits a wiki page, all they have to do is categorize the page in the Add to News category and it will automatically appear in the module.
HTH,
-Rick
> the blog is not such a bad idea but I don't want having the news in the center of the page...they're not that important. That's why I would prefer to keep them in a small module on the right side. So what I actually want is users from a certain group to be asked if they want to have the page they are editting or the page they are creating added to the news module. The first solution proposed was quite close to what I wanted but the thing is that it would be even better if I can have it as an option or a button in the editpage.
>
> Thx for all your posts 😊