This topic is locked
[SOLVED]

 Custom Brick

3/1/2014 3:57:17 PM
PHPRunner General questions
S
Stucco author

Hi,
I created a custom brick in the PHPRunner 7.1 program files folder, and included it in bricks.xml, and it is functioning as desired.
Is there a way to do the same within my project files though? Every time I upgrade PHPRunner I will need to migrate this file, and update the new bricks.xml to be able to use it. It would be nice if this brick lived in my project directory instead.
Thanks!

W
wpl 3/9/2014

Hi All,
no one can answer this one? I am also interested in this sort of topic.

Sergey Kornilov admin 3/10/2014

IT doesn't work this way. Bricks can be only defined on global level.

A
Anapolis 3/13/2014



Hi All,
no one can answer this one? I am also interested in this sort of topic.


I have been using PHPRunner for over 4 years if I remember right.
The BRICKS issue is something I asked about before.
All 4 years I use the same layout over and over in every project. And I wish finally that PHPRunner would allow a "Preserve Favorite Layouts" feature.
The ability for habitual users who go through PHPRunner updates and want to carry over favorite "bricks" and htm layouts to IMPORT them by Default straight into the PHPRunner program folders.
When a new PHPRunner version is released that it looks for default User Favorites folder in the previously installed User's PHPRunner path.
It automatically during installation set up adds whatever .ly and .htm custom files exist in a "User Favorites" folders.
And while we are working in PHPRunner at any time we make changes we like we can press a Button that says "Save to Layout Favorites".

W
wpl 3/13/2014



I have been using PHPRunner for over 4 years if I remember right.
The BRICKS issue is something I asked about before.
All 4 years I use the same layout over and over in every project. And I wish finally that PHPRunner would allow a "Preserve Favorite Layouts" feature.
The ability for habitual users who go through PHPRunner updates and want to carry over favorite "bricks" and htm layouts to IMPORT them by Default straight into the PHPRunner program folders.
When a new PHPRunner version is released that it looks for default User Favorites folder in the previously installed User's PHPRunner path.
It automatically during installation set up adds whatever .ly and .htm custom files exist in a "User Favorites" folders.
And while we are working in PHPRunner at any time we make changes we like we can press a Button that says "Save to Layout Favorites".


Good point Maverick, I second that.

S
Stucco author 3/16/2014

If Bricks could be defined through the interface then customized bricks could live in the project file itself, and build off of or replace any system level bricks. It could be pretty simple to make an import/export function for this.