Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 963
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

selecting a folder from gallery block

Started by Mick., February 06, 2010, 07:34:32 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Mick.

Is there a script already written  for selecting a particular folder from the gallery to show in a block?

Nathaniel

See the topic below:
http://simpleportal.net/index.php?topic=4489.msg27835#msg27835

The only difference is that you should use "p.ID_CAT = 1" instead of "p.ID_CAT != 1"
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Mick.

that code is for editing the file.  Is there an actual to place in a block?

Nathaniel

Ah, do you mean for a Custom Php block? You could just copy the code from that file and make a few minor changes.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Mick.

Quote from: Nathaniel on February 07, 2010, 07:01:03 PM
Ah, do you mean for a Custom Php block? You could just copy the code from that file and make a few minor changes.

Yep...... i have a video section in media gallery that i would like to pull the latest video from it.