Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A couple of questions
#1
I have a couple of questions. Not sure if this is the proper place to put them, so feel free to move the post to the appropriate place if necessary. Also keep in mind that I'm a newbie with GS. Wink Okay, here I go.

1. get_page_date(): Suppose I don't want to display the last changed date, but the page creation date? I've looked at the tags available in the codex and the only one I can find related to this is get_page_date, which prints the last saved date. Suggestions?

2. This is mostly a question for Chris as it relates to the GS Socialize plugin. It's displayed on all pages, no options. Now, suppose I want to have it on a "subpage" template but keep it out of the default template - say I want a front page that is clutter free but do want to include "clutter" on other pages. How to modify?

3. Related to this is the plugin manager - at the moment, as far as I can tell, there's nothing you can do in the plugin manager except stare at the list of installed plugins, there's no way to for example activate/deactivate/delete a plugin from within the manager. In all the other management areas you can in fact do some things (delete a page, view a page). Maybe it's not doable for the plugin manager, but - why not? I think personally, in my newbie state, that an activation switch could be useful.
Thoughts?
There's nothing more foolish than a man chasing his hat.
Reply
#2
1. I believe the page date is modified every time the page is saved.

3. This, I'm sure, will come in time. GS plugins just came out of the womb. There is a lot of growing that needs to be done still. Also, the types of plugins currently have been, "install and forget about it", types of plugins. Eventually some will come about that require lots of interaction. The galleries for example will probably start the movement on advancing the plugins structure and functionality.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#3
FredK Wrote:Suppose I don't want to display the last changed date, but the page creation date?
Actually I wanted that too. I believe I do have a plugin somewhere that takes care of that… The reason you don’t find anything about it in de codex is because all there is saved is the last editing time. So if you really want it, you’ll have to code it in, or bribe me to go looking for the plugin I wrote some weeks ago.

FredK Wrote:This is mostly a question for Chris as it relates to the GS Socialize plugin. It's displayed on all pages, no options. Now, suppose I want to have it on a "subpage" template but keep it out of the default template - say I want a front page that is clutter free but do want to include "clutter" on other pages. How to modify?
  • Change the plugin completely so it will offer you an option to activate it on a per page basis.
  • Modify the plugin to check the current page slug and only do something when it matches a certain slug.
  • Use 2 template files, one with and one without the plugin call. Now select a different template on a per page basis.
The first one would be best for the community, the third one would be easiest for you to manage. Take your pick.

FredK Wrote:Related to this is the plugin manager - at the moment, as far as I can tell, there's nothing you can do in the plugin manager except stare at the list of installed plugins, there's no way to for example activate/deactivate/delete a plugin from within the manager. In all the other management areas you can in fact do some things (delete a page, view a page). Maybe it's not doable for the plugin manager, but - why not?
There has been talk about this here on the forum before. People that wanted to be able to just upload plugin straight through the admin panel so it will be simple, in the GetSimple spirit. As internet54 said, the whole plugin part is still in a very early stage so those kind of option have not yet really been looked at.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#4
Zegnåt Wrote:
FredK Wrote:Suppose I don't want to display the last changed date, but the page creation date?
Actually I wanted that too. I believe I do have a plugin somewhere that takes care of that… The reason you don’t find anything about it in de codex is because all there is saved is the last editing time. So if you really want it, you’ll have to code it in, or bribe me to go looking for the plugin I wrote some weeks ago.

*bribe* Wink (if you don't want to look, I'll take a peek at some plugins and see if I can cook up something, but I'm a designer-not-a-programmer, really...)

Zegnåt Wrote:...
  • Use 2 template files, one with and one without the plugin call. Now select a different template on a per page basis.
...Take your pick.

Ah, but, see, there is no plugin call to use. If there had been I would'n'a asked in the first place. Promise.

Zegnåt Wrote:
FredK Wrote:Related to this is the plugin manager - at the moment, as far as I can tell, there's nothing you can do in the plugin manager...
There has been talk about this here on the forum before. People that wanted to be able to just upload plugin straight through the admin panel so it will be simple, in the GetSimple spirit. As internet54 said, the whole plugin part is still in a very early stage so those kind of option have not yet really been looked at.

Understood. See it as a suggestion/feature request then? Something to chew over.
There's nothing more foolish than a man chasing his hat.
Reply
#5
FredK Wrote:*bribe* Wink (if you don't want to look, I'll take a peek at some plugins and see if I can cook up something, but I'm a designer-not-a-programmer, really...)
I’ll take a look, hope I have it left, otherwise I might code it again… no promises though.

(Also, I’m still looking for a quick way to make nine bucks… Kiddin’, just a creation time plugin can’t be that hard, right?)

FredK Wrote:Ah, but, see, there is no plugin call to use. If there had been I would'n'a asked in the first place. Promise.
Aah, busted, I’ve never looked at the socialise plugin Chris made ;-) That does make it a bit harder, guess PHP juggling is the only alternative left.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#6
Z, if nine bucks is all you need, pm or email me your PayPal and I'll throw it at ya'. As for easy, hard etc, we had that up for debate not long ago at the sNews forum (where I'm originally from)... it all depends on your pov I guess.
There's nothing more foolish than a man chasing his hat.
Reply
#7
I seem to have lost the function I coded before. But no worries, I’m on the job Big Grin

Edit: Although I might miss out on my bribe by doing this, I released the plugin to the public.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#8
That's a good move anyway. You never know- suddenly some others might appear that will need it, and there it'll be. Smile
I appreciate it though. Thanks. (The bribe is still on the table if you really want it.)
There's nothing more foolish than a man chasing his hat.
Reply




Users browsing this thread: 1 Guest(s)