Loading...
 
Themes

Themes


Re: Re: open edit-submission.tpl in a wiki page

Japan

> Thanks Sylvie & Chibogy.
> Indeed, this is more complex than I thought.
> With this solution, how do I link the dynamic content to the article topic? Do I need to introduce a condition in the edit_submission template? Or create as many edit_submission templates as I have topics?

I overlooked the fact that you wanted different instructions displayed for each topic. That does complicate things. It might be possible to modify the files to load the instructions dynamically, but that seems like it would not be easy to do. Sylvie may have an idea about that.

Another alternative would be to have a menu bar displayed with a series of help links, one for each topic. Then the article author would click on the appropriate one and a pop-up window would display a wiki page (wikitext only — no side columns, etc.) with the instructions. The menu bar could be written as a dynamic content block, so the admin could add/delete links as necessary. Of course this depends on the author noticing/clicking the correct help link.

> The other pb I foresee is that the text/instructions if specified at the template or dynamic content level and requiring html code will not be easy to maintain/edit by our content admins that are not tech freaks... Too bad!

Right. But wiki pages could be used if you just insert help links, or the article edit template could be given an iframe at the appropriate location that would load a wiki page. I think writing and displaying the help pages isn't as big a problem as figuring out how to have them load dynamically for each topic.

> I was wondering if there would be a way to open kind of pop-up windows editable with wiki syntax (sorry if I don't use the proper vocabulary...)

Yes, it's possible. Tiki has javascript on hand for popup windows, and wikitext-only templates can be used for the window content — content that can be edited as a normal wiki page. I've seen or done myself the necessary bits and pieces, and can try to help get them together.

-- Gary

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting