 | |  | |
October 23rd, 2005, 07:23 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 103
| How do I remove the Direct Link Code, BB Image Code, img Tag Code
How do I remove the "Direct Link Code, BB Image Code, img Tag Code" fields from ONE category only from my 3.5 gallery?
I know how to do it for ALL, but, how do I do it for one?
|
| |
October 24th, 2005, 01:02 PM
|
#2 (permalink)
| | Guest | Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
Wrap this if condition around the code for those in your ADV_GALLERY_SHOWIMAGE template: Code: Content visible to verified customers only.
| |
| |
October 24th, 2005, 01:19 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 103
| Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
Newb here. How should the code look?
<if condition="$image['33'] != X"> all tables/link code here </if>
or
<if condition="$image['catid'] != 33"> all tables/link code here </if>
(can I post the code here completely?)
|
| |
October 24th, 2005, 01:43 PM
|
#4 (permalink)
| | Guest | Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
The 2nd one should be correct.
| |
| |
October 24th, 2005, 02:01 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 103
| Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
Thanks for your help Brian, but how can I do multiple cats?
<if condition="$image['catid'] != 33 34 35">
??
|
| |
October 24th, 2005, 02:06 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 103
| Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
No, that didn't work <if condition="$image['catid'] != 33 34 35">
Do I do it like this?
<if condition="$image['catid'] != 33">
<if condition="$image['catid'] != 34">
<if condition="$image['catid'] != 35">
<if condition="$image['catid'] != 36">
all tables/link code here
</if></if></if></if>
LMK
|
| |
October 24th, 2005, 04:02 PM
|
#7 (permalink)
| | Guest | Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
<if condition="!in_array($image['catid'], array(33, 34, 35, 36))">
| |
| |
October 24th, 2005, 09:04 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 103
| Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
THanks Brian, that worked great!
|
| |
January 13th, 2006, 05:46 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jun 2005 Location: Chicago, Illinois
Posts: 252
| Quote: |
Originally Posted by Iridium1 How do I remove the "Direct Link Code, BB Image Code, img Tag Code" fields from ONE category only from my 3.5 gallery?
I know how to do it for ALL, but, how do I do it for one? | How do I disable the Direct Link Code from my members?
I dont see this anywhere in the admin cp. Is this a hard coded thing?
Thanks
Doug
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:26 PM. | |