1 of 2
1
Two Control Panel Hacks (and one Extension!)
Posted: 22 August 2005 12:01 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

I added instructions for two hacks to the control panel over at the wiki. They are:

Adding a Link from the Control Panel to your Site
Adding an option to sort by edit date

Both involve changes to the system/cp/cp.publish.php file. I find them both useful enough to edit the file every time a new build comes out. Hopefully some of you will find them useful too. smile

Profile
 
 
Posted: 22 August 2005 10:30 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1401
Joined  01-15-2005

The “Adding a Link from the Control Panel” ability is gona be usfull for me. It can stand for a preview. Thanks.

 Signature 

EE Duration Tags | {view_count_total}

Profile
 
 
Posted: 22 August 2005 12:08 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1190
Joined  05-15-2004

“Adding a Link from the Control Panel”

I take it this isn’t the same thing as a “Quick Link”?

 Signature 

Being offended by other people’s opinions is retarded.

Profile
 
 
Posted: 22 August 2005 12:15 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

If you look at the wiki articles you’ll see that it’s not…..

 Signature 
Profile
MSG
 
 
Posted: 22 August 2005 12:19 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

Yeah, I realize now that the title is a bit vague.  red face

Profile
 
 
Posted: 19 December 2005 03:20 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

I’ve converted that first hack into an extension. It links to the Comment Page URL specified in the weblog preferences for each weblog. Before I release it I wanted to ask what you all think I should call it. Right now it’s called “Link to site” but it’s not a very descriptive name.

Profile
 
 
Posted: 19 December 2005 03:40 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

Oooh I want, I want.  CP Entry Permalink or some such?

 Signature 
Profile
MSG
 
 
Posted: 19 December 2005 03:43 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15167
Joined  05-15-2004

Comment Link? Homelink?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 19 December 2005 08:15 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

Here’s the extension. You have to upload the ext.link_entry_from_cp_to_site.php to the /system/extensions/ folder and the lang.link_entry_from_cp_to_site.php to the /system/language/english/ folder.

ETA: I’d better add that I had to use some of the code from cp.publish.php…

Profile
 
 
Posted: 19 December 2005 08:38 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

You can’t redistribute it if that’s the case, it breaks the license, unless you got prior permission from the devs, of course…

 Signature 
Profile
MSG
 
 
Posted: 19 December 2005 08:55 PM   [ Ignore ]   [ # 10 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

I looked at the extension upon contact from Lisa, and I am fine with you releasing it even with that code being used.  It is a pretty minimal amount and even if you wrote it from scratch the code would be rather similar.

 Signature 
Profile
 
 
Posted: 19 December 2005 09:04 PM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

Whew! red face Next time I will email and get permission first.

Profile
 
 
Posted: 05 January 2006 06:55 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

I’ve updated the extension:

* Now there’s a link in the Edit Weblog Entries page too
* If your entry has a Closed status, then the link won’t show up
* If you have the the LJ Crosspost Module installed, then there’s an additional link to LiveJournal

You can download it in the same place: Version 1.0.2

Profile
 
 
Posted: 05 January 2006 07:04 PM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

I somehow missed that LJ crosspost module. *blinks*

 Signature 
Profile
MSG
 
 
Posted: 05 January 2006 07:28 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

I just released that module today - more details are over here.

Profile
 
 
Posted: 05 January 2006 07:33 PM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

You are, right now, my favorite person.  But in a few minutes, the chef at the local mexican will be my favorite.  Sorry! =)

Thank you.

 Signature 
Profile
MSG
 
 
Posted: 09 January 2006 05:03 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1505
Joined  05-15-2004

Just discovered this extension. Brilliant, thanks. smile

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
Posted: 10 January 2006 07:08 AM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1628
Joined  05-13-2004

Hot Damn, this is freakin’ fabulous!

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 19 February 2006 12:13 AM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  11-30-2002

I’ve updated the extension again - Version 1.0.3. It broke in the newest build of EE (20060217) so I had to fix it. Don’t update the extension if you have an older build!

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64532 Total Logged-in Users: 31
Total Topics: 81108 Total Anonymous Users: 20
Total Replies: 436420 Total Guests: 191
Total Posts: 517528    
Members ( View Memberlist )