Hi everyone, I hear that this mod can display the actual text of the categories and albums, I am currently using it to display the last added media. I really think its great, although I dont know anything about php I will like for help to display the categories and albums too.
And if you have any other tip, or any other arrangemente thats looks cool please let me know.
I added views and albums to mine so far
example:
www.julianmcmahonfan.com
(the side column for most viewed and all that)
You want it to be like this:
<?php
include_once "./allery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( 'windowtarget' => '_blank');
$options = array("subtitle" => "<center> {{cName}}: {{aTitle}}</center>", );
$objCpm->cpm_viewLastAddedMedia(1,4,$options);
$objCpm->cpm_close();
?>
Correction to the above post (can't seem to ind an edit button)
<?php
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array( 'windowtarget' => '_blank');
$options = array("subtitle" => "<center> {{cName}}: {{aTitle}}</center>", );
$objCpm->cpm_viewLastAddedMedia(1,4,$options);
$objCpm->cpm_close();
?>
Great site dude, you just gave me a great idea for the design of my page, thank you very much.
Just one more question, in the left part of your site you have different sections, last upload, mos viewed. Well, I want to know how did you called for several bunch of photos?? Did you use several include cpmfetch codes??
yes if you go check the docs there are many functions you can call like most viewed FROM (you pick the source) and Random FROM (again you decide the source) and so on- here use this list it helped me a lot:
http://cpmfetch.fistfullofcode.com/features/index.php
then go to the user guide and read up on the $options array you can do ALOT with this one mod - it is amazing but there is so much that its hard to get it all at once. Alot of it is trial and error until you get the right combo to work for what you want it to do
Really thank you for your help, I think I am close to get what I was looking for.
your welcome ;D