[SOLVED] Image Picker - Show Page Alias

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
runblip
Forum Members
Forum Members
Posts: 15
Joined: Tue Mar 31, 2009 6:58 pm

[SOLVED] Image Picker - Show Page Alias

Post by runblip »

I am using the Image Picker module and I like it, but I would prefer that it list the Page Alias vs the Page Title. How can I modify this module to display page alias?

Thanks!
Last edited by runblip on Mon Jun 01, 2009 7:04 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Image Picker - Show Page Alias

Post by jmcgin51 »

runblip wrote: I would prefer that it list the Page Alias vs the Page Title.
Where?
runblip
Forum Members
Forum Members
Posts: 15
Joined: Tue Mar 31, 2009 6:58 pm

Re: Image Picker - Show Page Alias

Post by runblip »

When you access Image Picker in Admin you see two columns. One shows the Page Title, another shows the image name. I would like that Page Title to actually display Page Alias
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Image Picker - Show Page Alias

Post by jmcgin51 »

MINIMALLY TESTED - TRY AT YOUR OWN RISK

1. To change the name of the "Page" column (if desired), edit line 16 in en_US.php  (change to "Page Alias" for example). Not required to make #2 work.

2. To actually show the page alias instead of the page title:
 a. Open actiondefaultadmin.php
    In line 80, replace c.content_name with c.content_alias
    In line 104, replace $row['content_name'] with $row['content_alias']
Last edited by jmcgin51 on Mon Jun 01, 2009 7:10 pm, edited 1 time in total.
runblip
Forum Members
Forum Members
Posts: 15
Joined: Tue Mar 31, 2009 6:58 pm

Re: Image Picker - Show Page Alias

Post by runblip »

jmcgin51 wrote: MINIMALLY TESTED - TRY AT YOUR OWN RISK

1. To change the name of the "Page" (if desired), edit line 16 in en_US.php  (change to "Page Alias" for example)

2. To actually show the page alias instead of the page title:
  a. Open actiondefaultadmin.php
     In line 80, replace c.content_name with c.content_alias
     In line 104, replace $row['content_name'] with $row['content_alias']
Thank you very much, #2 did the trick and seems to work!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: [SOLVED] Image Picker - Show Page Alias

Post by jmcgin51 »

sorry - I left out a word in the #1 description, which would have made it more clear.  I've edited the post...
Post Reply

Return to “Modules/Add-Ons”