View Full Version : WORKSPACES: which ones should we make?
Dennis
01-13-2007, 02:51 PM
Over the past months multiple users have complained about the lack of admin workspaces in Pixelpost. We, the Pixelpost team, are wondering which admin workspaces you guys need.
So here's your chance to get some more admin workspaces! Please tell us the following information:
Workspace in : General Info
Needs menuitem: yes
If above is "NO" code should be executed before/after: none
Additional information: none
As you might have guessed we have implemented a new workspace in the general info tag so users can add submenu's there.
austriaka
01-13-2007, 10:54 PM
a workspace for the images list would be great to insert functions for each image displayed
KArin
Dennis
01-14-2007, 07:52 AM
Please provide more information. When does the workspace have to be activated? When loading the list of images in the admin panel (by clicking on images in the menu)?
austriaka
01-14-2007, 10:29 AM
i meant a position inside the "while" where the list of images is called:
while(list($id,$datetime,$headline,$body,$image,$c ategory) = mysql_fetch_row($images)) {
$headline = pullout($headline);
...
...
echo "<li><a href=\"../index.php?showimage=$id\"><img src=\"../thumbnails/thumb_$image\" align=\"left\" hspace=\"3\" alt=\"Click to go to image\" /></a>
...
####
eval_addon_admin_workspace_menu('image_list');
####
echo "</li>";
This would be necessary to add an addon function to each image displayed in list (IE photographer when using Andrews custom fields addon).
KArin
Dennis
01-14-2007, 08:52 PM
Could you give me the location of the code you gave above?
austriaka
01-14-2007, 10:50 PM
in pp/admin/images_edit.php
"while" is in line 201
"echo" is in line 207
workspace should be between the <li> and </li> Tags of the image stuff (in echo) so one can add additional info here
KArin
Dennis
01-16-2007, 07:45 PM
KArin, did you test this code? (e.g. do you have your files modified?)
austriaka
01-16-2007, 08:08 PM
I tested it with inserting the additional workspace before the <li>-Tag mentioned above, but this does not produce proper HTML.
You may download my private_addon (beta) and have a look at it: http://forum.pixelpost.org/showthread.php?t=5642
In this thread you will find also a screenshot of images list that will describe what I mean.
KArin
Dennis
01-16-2007, 08:14 PM
what do you mean with proper html? If you just echo "Access: Public" this will work IMHO
austriaka
01-16-2007, 08:22 PM
yes, but "Access: Public" is located between </li> and <li>, because my workspace is located before the <li>.
Is it a problem to make a workspace between <li> and </li>?
I thought it would be interesting to have a workspace there, ao an addon could place some informatioen here, for example an image statistic or a tag from Andrews custom fields addon. That reduces the need of own admin menus for image list views
KArin
Dennis
01-16-2007, 08:34 PM
I'm still not getting it. You placed the workspace in the wrong spot I think.
austriaka
01-16-2007, 11:09 PM
Perhaps we should better discuss it out per PM/ICQ and publish only the results here ;-)
Good Night & sleep well to all
KArin
Dennis
01-17-2007, 07:32 PM
I mailed you KArin.
Anybody interested in adding more workspaces???? Now's your chance, otherwise you might have to wait for the new release!
austriaka
02-23-2007, 07:26 AM
Another wish to 1.6:
I found that if you use a new template page in v1.5, the image-related Pixelpost Tags are not working anymore.
The only solution right now for calling image related tags within a new template page of an addon is to hack the index.php to ask for some addon related things and call the correct template page within the image print part.
It would be great if Version 1.6 could provide some workspace for calling addon-related template pages. So an Addon could use its own template page and still have all of the Pixelpost Tags usable.
It should work if the workspace to change $tpl is in image print part around line 256 for example, before the first tag replacing in $tpl.
Perhaps this would make sense for alternative browse and comment templates as well.
I hope, I could explain it :-)
KArin
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.