Telegram_2023-08-31T00

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2023 > 08 > 31 >

Telegram_2023-08-31T00

Telegram link

 

2023-08-31T00:04:46

 

Use the template's component OnBeforeProcess event. You receive a stream as a parameter. The stream contains the template as it was loaded from your template file. You can change it and write it back.

 

Warning about what you do in that method: you can kill the performance of the template processor if you do slow operations in that event (reading from database, etc)

 


 

Telegram link

 

2023-08-31T00:07:38

 

I want read sidebar items from database

 


 

Telegram link

 

2023-08-31T00:11:43

 

well... your choice...

 


 

Telegram link

 

2023-08-31T00:35:24

 

if you want to read it from DB consider caching the query results somehow so you minimize the impact

 


 

Telegram link

 

2023-08-31T00:39:33

 

ok I will try to find the source of this peoblem

 


 

Telegram link

 

2023-08-31T00:39:43

 

thanks

 


 

Telegram link

 

2023-08-31T00:40:23

 

sure