PDA

View Full Version : "edit this" option directly from a certain published post


ttlive
12-04-2005, 10:33 AM
An "edit this" option directly from the Post would be wounderful.

In case I am loged-in in the Admin section and I surfe through my PP blog, than an "edit this" option would be amazing. The Login is saved anyway somewhere, because I don't have to use the PW if I reenter the Adminsection again on the e.g. next day.

In case if there are a lot of images are saved in the database, it is a long way to scroll via "Images/Older Images..." to edit an picture (Title, Category or description / text) that was published a long time ago.

I don't know whether this post ist correct in "Hacks and Modifications" or should have been published in Addon. If it should have been published in Addon, than I am sorry.

Is there a change to get an option like this, sometimes?

raminia
12-04-2005, 10:34 AM
I'm tried of telling our good users that this is done in 1.5 but there is not release of 1.5!

raminia
12-04-2005, 10:35 AM
we should put this 1.5 out ASAP!

ttlive
12-06-2005, 09:14 PM
:-) Thanks for the quick reply and the good news. :-)

blinking8s
12-07-2005, 02:30 AM
is it in 1.5? i think this is something different from what you are speaking about raminia...it's not something we have discussed or that i have noticed since i last downloaded the dev version...

tinyblob
12-07-2005, 08:22 AM
yeah.. as far as i can tell, this feature hasn't been implemented. unless i've misunderstood.

blinking8s
12-07-2005, 08:29 AM
no, i think ttlive means like with wordpress, where under each entry if still logged into admin, it says 'edit' and you can go straight to editing that post from there.

it's not something we have had high demand for, and i think the pixelpost cookie clears in a time-frame after login...

tinyblob
12-07-2005, 08:50 AM
it's something i like a LOT about flickr, the concept of just clicking on text you want to edit, and it will let you.
the problem is that it's a very "AJAXy" methodology, and would make our templates harder for users to work on, we'd get a lot more support requests, and spend longer developing and repairing templates.

Joe[y]
12-07-2005, 03:40 PM
AJAXY? i don't see why this should be a problem in a future release - as far as i see it just requires a cookie which already exists anyway i think - and a tag that recognises this cookie and then displays either an edit link or not depending on if the admin is viewing. but yeah - not in 1.5

raminia
12-07-2005, 03:49 PM
sorry
there is a link to edit after each upload for edit not in the main photoblog.

Connie
12-07-2005, 04:41 PM
let's try to keep PP a simple tool, not an overloaded monster!

Because other programs have something, we must not follow every thing which can be done otherwise as well

ttlive
12-07-2005, 05:46 PM
no, i think ttlive means like with wordpress, where under each entry if still logged into admin, it says 'edit' and you can go straight to editing that post from there.

Yes... a quick option to edit already published posts, specially older post. :)


it's not something we have had high demand for, and i think the pixelpost cookie clears in a time-frame after login...

In my experience the cooky only expires when I really logout of the admin section. If I leave the admin section without logout I don't need to login again the next time.
Well if the cookie is not valid anymore, than the Log-in page appears and than I get directly to the post to edit the category, picture information...

To edit posts, published a while ago and if they are not on the first pages in the section "Images / Posts" anymore, is for me sometimes frustrating (its not a critic its just an emotion).

']AJAXY? i don't see why this should be a problem in a future release - as far as i see it just requires a cookie which already exists anyway i think - and a tag that recognises this cookie and then displays either an edit link or not depending on if the admin is viewing. but yeah - not in 1.5

That's how I thought it could work. :)
In WordPress (sorry if I compare) it is done with a Tag "<?php edit_post_link('(edit this)'); ?>.
My idea is to add a tag like "edit this" (like <IMAGE_PREVIOUS_LINK>), somewhere in the image template. The option only appears when the logged-in in the Adminsection is still valid.

With an click on the "edit this" option I will be directed directly to the page http://www.domain.com/admin/index.php?view=images&id=1234
After I edited the post and pressed the save button I get back to the
http://www.domain.com/index.php?showimage=1234

I am not a programmer, so I can not estimate the workload and possibilities to implement a function like this but as a user it would be a great advantage.

If it is to complicated for some users they don't have to us or to implemt it. I don't have any knowlege in PHP or SQL yet but it was not an big issue for me as a new WP user to feel quickly very comfortable with this functionality.

Is a functionality like this really to complicated for the PP users or will it creat an useless "overloaded monster" :confused:

tinyblob
12-07-2005, 05:53 PM
The problem isn't the technicalities of cookies, php or sql, we can do that in our sleep. It's that we need to make the solution compatible with the addon system, and the template system. If we end up having to add more tags or cookie support then that's just another issue that can go wrong, and will end up with users on the forum looking for support.

When the time comes, i'll look into doing this as an addon.

eon
12-09-2005, 04:47 PM
I made a "edit this"-button.

Place this in your template:
<a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>

Is this what you mean?

Oke, you still see the link when you are not logged in, but edit a picture goes a lot faster! When you not logged in the login-screen is popup.

sal
12-10-2005, 03:30 PM
let's try to keep PP a simple tool, not an overloaded monster!

Because other programs have something, we must not follow every thing which can be done otherwise as well

I think, Connie is right. There a lots of nice addons wich could give almost everything you want and the main PP keep simple in a very lovely way...

@eon
Hi eon, your idea is cool.
No, I would not add this to the visible site, but i put it to my bookmarks/favorites of the browser (without the potonumber). If I'm already logged in to the admin page I only have to add the number and there we go...

Perhaps it might be possible to write a bookmarklet like that "Photoblogs.org - Photoblog Profil" bookmarklet or that "del.icio.us" thing... So you have that comfortable function and the PP code itself stays clean and simple...

ttlive
12-14-2005, 10:54 PM
I made a "edit this"-button.

Place this in your template:
<a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>

Is this what you mean?

Oke, you still see the link when you are not logged in, but edit a picture goes a lot faster! When you not logged in the login-screen is popup.

I didn't put it in my template yet, but as I understand the text, it is exactly what I am looking for. Except, as you mentioned, that it should be only visible when I am logged in and not for everybody.
Thanks for your help and as soon I have to adjust more pics I will put this temporarily in my template, until there will be an Addon or funktion like this available. Thanks again for this option. :)


The problem isn't the technicalities of cookies, php or sql, we can do that in our sleep. It's that we need to make the solution compatible with the addon system, and the template system. If we end up having to add more tags or cookie support then that's just another issue that can go wrong, and will end up with users on the forum looking for support.

When the time comes, i'll look into doing this as an addon.

Great!, I will wait until the time comes. Until that I can use the workaround eon published. :)

Many thanks to all of you for your feedback and support.... :)

raminia
12-15-2005, 05:43 AM
Pixelpost sets cookie. in an addon, you can check if the valid cookie exists then show that html code, <a href="/admin/index.php?view=images&id=<IMAGE_ID>">Admin</a>

eon
12-15-2005, 03:11 PM
I wrote a small addon. You can find it here:
http://forum.pixelpost.org/showthread.php?t=2902
:D

ttlive
12-21-2005, 11:19 PM
I wrote a small addon. You can find it here:
http://forum.pixelpost.org/showthread.php?t=2902
:D

Cool, thank you a lot, it is exactly what I have been looking for.

It is working fine with Konqueror, Epiphany and Mozialla, but somehow not with my current Firefox Version (Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1).

I will try tomorrow with the IE and Firefox at work and give Feedback how it is working with those browsers.

se.nsuo.us
12-22-2005, 12:13 AM
let's try to keep PP a simple tool, not an overloaded monster!
Amen!

On a more serious note - I would really like to see that PP remains a photoblog script and does not morph into a gallery script as it is threatening to do...

blinking8s
12-22-2005, 01:07 AM
Amen!

On a more serious note - I would really like to see that PP remains a photoblog script and does not morph into a gallery script as it is threatening to do...

i dont think it's threatening to...not pixelpost, maybe user request seem to get more and more gallery like here on the forum, and some addons and hacks come out that allow users to more more into this sort of setup, but the application as a whole will stay intact as a simple photoblog application. Future versions will remain cut down and simple

tinyblob
12-22-2005, 08:46 AM
Pixelpost is developed to be extensible, and so there should be valid ways for people to convert their Pixelpost install into a gallery or portfolio.
but don't worry. we're not turning into a gallery, and infact stay tuned for more Blog features in the future.

ttlive
12-24-2005, 04:05 AM
Cool, thank you a lot, it is exactly what I have been looking for.

It is working fine with Konqueror, Epiphany and Mozialla, but somehow not with my current Firefox Version (Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1).

I will try tomorrow with the IE and Firefox at work and give Feedback how it is working with those browsers.

It is working fine with every browser, just with the firefox debian version.
Thank you a lot for the great add on and have a nice x-mas to all of you. :)

ttlive
12-24-2005, 04:08 AM
Pixelpost is developed to be extensible, and so there should be valid ways for people to convert their Pixelpost install into a gallery or portfolio.
but don't worry. we're not turning into a gallery, and infact stay tuned for more Blog features in the future.

What are the doubts of blinking8s, I don't understand what is ment with "into a gallery or portfolia"? I assume he means as well my page but I do not really understand what is wrong with it and what are the concerns and the meaning of it.

se.nsuo.us
12-24-2005, 04:46 AM
but don't worry. we're not turning into a gallery, and infact stay tuned for more Blog features in the future.

Thanks blinking8s and tinyblob - I know where to go if I wanted a gallery (and not it is not Menalto Gallery :) )

SassKwatch
12-26-2005, 01:57 PM
..... I know where to go if I wanted a gallery (and not it is not Menalto Gallery :) )

If not Menalto, then what? Just curious.....I'm not a Menalto user, but it does seem to be a fairly big gorilla in the 'gallery' package arena.

se.nsuo.us
12-27-2005, 03:56 AM
If not Menalto, then what? Just curious.....I'm not a Menalto user, but it does seem to be a fairly big gorilla in the 'gallery' package arena.

Coppermine - http://coppermine.sf.net

SassKwatch
12-28-2005, 12:42 AM
Coppermine - http://coppermine.sf.net

Gotcha....that is another fairly gorilla sized player in that market. I thought you were hinting at something somewhat more esoteric.