Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #61  
Old 08-25-2008, 10:57 AM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
Custom Fields ver.1.3 (25 Aug 2008). Changes:

1.3 25 Aug 2008
[ +] Autoreplace URL 'http://<URL>' at the custof field's values to HTML-code, for example, 'http://www.photoblog.xxx/large001.jpg' will be replaced to '<a href="http://www.photoblog.xxx/large001.jpg">http://www.photoblog.com/large001.jpg</a>'

Note: you must fill CF value exactly URL without beginnig of trailing spaces or other characters.
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3
Reply With Quote
  #62  
Old 09-26-2008, 11:06 AM
tom Offline
forum loafer
 
Join Date: Feb 2008
Posts: 12
Hi,

I would like to use the custom fields addon to generate a link to a webpage, maybe even another entry in a different pixelpost photoblog. I've tested it out by creating a field, then entering a URL in the image page.

However, it doesn't create a URL you can follow - just displays the web address. What am I doing wrong?

Ideally, I'd like to generate a link based on the field title.

For example, I'm thinking of having supplementary information (behind the scenes) available for certain images on the site - text about the photograph, or a supporting image, and I want this to be stored either on a separate page, or as a separate image (maybe even using a lightbox script or something similar).

Is this possible?

Thanks so much for a great script.

Tom
Reply With Quote
  #63  
Old 10-16-2008, 10:47 PM
Nathan Offline
forum loafer
 
Join Date: Jul 2005
Posts: 10
I don't know if I'm missing anything, but is there a way of sorting by custom fields in the pixelpost Archive page?

I'm currently using Custom Fields to specify the artists name, and for region (I'm using PP for a gallery site), and I've just been asked if we're able to arrange the archive by artist or region.
Reply With Quote
  #64  
Old 10-17-2008, 10:25 AM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
Quote:
Originally Posted by tom View Post
Hi,
I would like to use the custom fields addon to generate a link to a webpage, maybe even another entry in a different pixelpost photoblog. I've tested it out by creating a field, then entering a URL in the image page.

However, it doesn't create a URL you can follow - just displays the web address. What am I doing wrong?

Ideally, I'd like to generate a link based on the field title.

For example, I'm thinking of having supplementary information (behind the scenes) available for certain images on the site - text about the photograph, or a supporting image, and I want this to be stored either on a separate page, or as a separate image (maybe even using a lightbox script or something similar).
Tom, I'm sorry for a long answer...
1) You can use HTML-code as a value of custom field.
2) Since ver. 1.3 CF-addon automatically generate HTML-code for values with clean URL like "http://www.google.com" (NB: no spaces at the begin and end of this string).
3) You can use PP-tags like "<SITE_TITLE>" in the custom field values with some modification of CF addon. For example, you have to add code:
PHP Code:
$tpl ereg_replace("<SITE_TITLE>",$pixelpost_site_title,$tpl); 
BEFORE
PHP Code:
//if
?> 
If you want use other tags, you must add them to the CF addon code like an previous example (I found code for SITE_TITLE at the source of Pixelpost's "index.php").

Quote:
Originally Posted by Nathan View Post
I don't know if I'm missing anything, but is there a way of sorting by custom fields in the pixelpost Archive page?

I'm currently using Custom Fields to specify the artists name, and for region (I'm using PP for a gallery site), and I've just been asked if we're able to arrange the archive by artist or region.
Nathan, CF addon don't provide Archive page functionality.
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3
Reply With Quote
  #65  
Old 11-14-2008, 07:20 PM
Dr.Ozdi's Avatar
Dr.Ozdi Offline
pp regular
 
Join Date: Mar 2007
Location: Czech republic, Europe
Posts: 47
Hi,
I asked for "publish an article" (text page) here:
http://www.pixelpost.org/forum/showthread.php?t=9701
This addon isnīt usable, isnīt it? Fields are just for few words...?
__________________
Dr.Ozdi
Dr.Ozdi takes a photos, photoblog
Reply With Quote
  #66  
Old 11-14-2008, 08:43 PM
snafu Offline
pp veteran
 
Join Date: Sep 2008
Location: germany
Posts: 84
you can use custom fields for linking to articel pages (if the articel is relatet to this picture) you wrote with the miniCms addon.
__________________
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:43 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs