Welcome Guest, Not a member yet? Register   Sign In
Example of Tinywebgallery with Codeigniter
#11

[eluser]Pascal Kriete[/eluser]
I actually downloaded the script, just to have a look, but the 6MB were a bit much (just as reference Bamboo is 5.6MB and EE-core is 6.7). It's everything other than tiny. My suggestion, find another gallery. It's not the greatest bit of code, some of the comments are in german, and the coverflow'ish slider is mediocre at best.
#12

[eluser]babai[/eluser]
I have install the tinywebgallery in my server. Without codeigniter its working but with codeigniter its not working.

Without Codeigniter see the link : http://softgen.co.in/CodeIgniter/twg/index.php

With codeigniter see the link : http://softgen.co.in/CodeIgniter/index.php/tinyweb/twg

For codeigniter I have create a controller file tinyweb.php

<?php
class Tinyweb extends Controller {

function Tinyweb()
{
parent::Controller();
}

function twg() {
$this->load->view('view_twg');
}
}
?>

and another is view file view_twg.php

<?php include("twg/index.php"); ?>

The tinywebgallery have installed into Codeigniter/twg/ folder.

Please check this.
#13

[eluser]thinkigniter[/eluser]
First, you CAN NOT use includes with in views.

I'm still looking at the rest of the problem
#14

[eluser]thinkigniter[/eluser]
OK, I've had a look at the zip file from The Tinywebgallery Website

The quick way of doing this is to use his iFrame example in your view (NOT the include) file.

The NOT SO quick way is to rewrite his index.php as CI application.

This may...

1. Break his copywrite
2. Take a long time
3. ...

Oh you get the idea

Hope this helps

See yeh
#15

[eluser]indocoder[/eluser]
and what is the content of your "twg/index.php"?
#16

[eluser]babai[/eluser]
Thank you for solve the problem.
#17

[eluser]thinkigniter[/eluser]
No problems...
#18

[eluser]Derek Allard[/eluser]
babai. I've deleted all of your other posts, and merged some into this thread. It is considered rude to post the same question more then 1 time, and especially rude to post it 11 times in rapid succession. As you can see we are a pretty helpful bunch, and we all welcome you into the CodeIgniter community, but further posting patterns like this will result in more direct action to prevent it.

Welcome to the community, I look forward to you learning and helping.




Theme © iAndrew 2016 - Forum software by © MyBB