forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: just_some_guy on October 17, 2007, 07:15:01 pm

Title: Multiple anycontent's
Post by: just_some_guy on October 17, 2007, 07:15:01 pm
Multiple anycontent's

CPG 1.4x

This MOD allows you to add more than one anycontent to your gallery. Its very simple and very usefull. Some ideas of what to use this for could be: customizing the position of ads on your gallery or just simply adding more content.

How to install and usage -

Attachments



Enclosed in the zip's is the original anycontent.php file. This came with the main download of CPG, you will need to edit it to apply your own content.

Notes




Hope this proves useful,

just_some_guy

if a Dev Team Member could move this to the Mods section that would be great, thanks.
Title: Re: Multiple anycontent's
Post by: Stramm on October 17, 2007, 07:22:20 pm
it's better you give detailed instructions on how to do the mod. Otherwise upgrading becomes impossible without losing all mods...

open index.php, find
Code: [Select]
xxxbelow add
Code: [Select]
xxxx

find
Code: [Select]
yyyreplace with
Code: [Select]
yyyy
anycontent2 is a well known, already existing mod... just search for anycontent2 or anycontent2.php
however if you put it in shape again for 1.4.x ... yummy  ;)
Title: Re: Multiple anycontent's
Post by: just_some_guy on October 17, 2007, 07:24:02 pm
Sorry in the attached file in the above post called anycontent1.zip the file inside intitled "anycontent.php" should be changed to "anycontent1.php"

attached the corrected archive:
Title: Re: Multiple anycontent's
Post by: just_some_guy on October 17, 2007, 07:47:13 pm
it's better you give detailed instructions on how to do the mod. Otherwise upgrading becomes impossible without losing all mods...

open index.php, find
Code: [Select]
xxxbelow add
Code: [Select]
xxxx

find
Code: [Select]
yyyreplace with
Code: [Select]
yyyy
anycontent2 is a well known, already existing mod... just search for anycontent2 or anycontent2.php
however if you put it in shape again for 1.4.x ... yummy  ;)

sorry stramm, i didnt see your post. Ok i will make it that way and post it as a fresh topic.
Title: Re: Multiple anycontent's
Post by: Joachim Müller on October 18, 2007, 08:14:53 am
The cpg1.3.x thread that explains the mod structure that Nibbler has refered to: http://forum.coppermine-gallery.net/index.php?topic=10205.0
Marking thread as "closed".