Modify

Opened 5 years ago

Last modified 3 years ago

#5292 assigned enhancement

Saving the selected pages order

Reported by: lucashr@… Owned by: airadier
Priority: high Component: TracWikiPrintPlugin
Severity: critical Keywords: wiki print save selection
Cc: Trac Release: 0.11

Description

Allow the saving of the combinated pages selection would be great when the project has a lot of pages and the user has to select often.

Attachments (1)

changes.tar.bz2 (7.7 KB) - added by earizon 3 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by airadier

  • Status changed from new to assigned

I was thinking about something more powerful: templates.

The idea is you could create, modify and delete book templates. A template would include a set of pages, a title, subtitle, style, header, footer, etc.

I'll work on it.

comment:2 Changed 4 years ago by bennet

This would be absolutely what I am looking for. Having templates would be great, but just saving the list of wiki pages and provide this list a "name" would be a good start.

comment:3 Changed 3 years ago by earizon

Hi,

I had the same problem and made a few changes to the plugin to allow loading/saving/deleting templates. Just replace the files in the plugin with those in changes.tar.bz2 to make it work.
Some notes: It's a quick patch I made for myself (i.e, not much testing). It works on Linux, it will probably work in other "UNIX"-like system, it can or can not work on Windows.

Changed 3 years ago by earizon

comment:4 Changed 3 years ago by earizon

I just modified slightly web_ui.py to easify automatic pdf generation from script files using wget like:

wget -O book.pdf --no-check-certificate --http-user=MyUser --http-password=MyPasswd  "https://www.site.net/TrackSite/admin/wikiprint/makebook?create=Create&format=pdfbook&title=title1&subject=subject1&version=version1&date=date1&templateName=BookTemplate1.tpl"

comment:5 Changed 3 years ago by bhockley@…

While not a complete solution, we've been able to make use of the wiki subpages plugin to manage sets of pages for export TracSubPagesMacro.

Just create a sub page that contains the ones needed, and export it.

comment:6 Changed 3 years ago by rjollos

#9863 closed as duplicate.

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.