Modify

Opened 13 months ago

Last modified 9 months ago

#14219 new defect

Macro BlogList() and macro TicketQuery()

Reported by: Alexey Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: critical Keywords:
Cc: Trac Release: 1.4

Description (last modified by Ryan J Ollos)

If apply both macros in same wiki page then macro TicketQuery() not work correctly, progessbar not visible

Code of wiki Page

[[BlogList(recent=5, category=news)]]

[[TicketQuery(component^=TC., format=progress)]]

result With BlogList

Result without BlogList macro Without BlogList

If reorder all work fine reorder macros

Attachments (3)

2023-04-06 15_13_53-test – TeamСenter — Firefox Nightly.png (17.0 KB) - added by Alexey 13 months ago.
With BlogList
2023-04-06 15_14_35-test – TeamСenter — Firefox Nightly.png (3.6 KB) - added by Alexey 13 months ago.
Without BlogList
2023-04-06 15_19_03-test – TeamСenter — Firefox Nightly.png (16.7 KB) - added by Alexey 13 months ago.
reorder macros

Download all attachments as: .zip

Change History (8)

Changed 13 months ago by Alexey

Without BlogList

comment:1 Changed 13 months ago by Alexey

Description: modified (diff)

Changed 13 months ago by Alexey

reorder macros

comment:2 Changed 13 months ago by Alexey

Description: modified (diff)

comment:3 Changed 13 months ago by Ryan J Ollos

Description: modified (diff)

comment:4 Changed 9 months ago by Alexey

In trac 1.4.x styles in trac/htdocs/css/roadmap.css is not used if type, for example

[[BlogList(recent=5, category=news)]]
[[TicketQuery(component=FullBlogPlugin, format=progress)]]

Workaround.

  • fullblogplugin/1.4/tracfullblog/macros.py

    a b  
    9999     # Rendering
    100100     add_stylesheet(formatter.req, 'tracfullblog/css/fullblog.css')
    101101     add_stylesheet(formatter.req, 'common/css/code.css')
     102     add_stylesheet(formatter.req, 'common/css/roadmap.css')
    102103
    103104    if format == 'inline':
    104105         data = {'heading': heading,
    105106                 'posts': post_list,
Last edited 9 months ago by Alexey (previous) (diff)

comment:5 Changed 9 months ago by Alexey

Severity: normalcritical

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain osimons.

Add Comment


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

 
Note: See TracTickets for help on using tickets.