Display Extra fields Display Extra fields
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Display Extra fields

Started by OmegaGOD, November 20, 2004, 11:06:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OmegaGOD

Quick Question,
     In the config, I've created a second field called New_Field. Currently, it displays the information contained in New_Field under "Picture Information" in the Intermediate view. I would like to be able to display the contents of New_Field directly under the image right below the {Title}. Can I get some assistence in extracting the contents of New_Field from the database and displaying it? I've determined where the code needs to go, I just can't seem to figure out what the code is. Any help would be appreciated..

--OmegaGOD
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

Joachim Müller

You can use the var $CURRENT_PIC_DATA['user1']

Joachim

OmegaGOD

Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

OmegaGOD

Thank Gau Gau for the variable. Quick question. I tried to place that variable in the theme.php file under $template_display_picture. I then realized that all the text contained within that block was being assigned to $template_display_picture. Is there a way I can dereference the contents of $CURRENT_PIC_DATA['user1'] into block of text under $template_display_picture.

Basically I've created a second field in the config called "Add to Cart" and I've populated the fields with URL links... I'd like these links to appear directly below the intermediate images. In short. I'd like contents of an extra field defined in the config section to be placed directly under the intermediate image.

Any help would be appreciated.

Thanks
--OmegaGOD
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

OmegaGOD

YES! I figured it out :-) Thanks again.

--OmegaGOD
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.