Dir Gallery problem

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Dir Gallery problem

Postby iamatree » Sun Feb 12, 2012 6:02 am

I'm a noob at this kinda things, and I googled everywhere and I can't seem to find out how do I install Dir Gallery?

I uploaded the zipped files things into my extensions directory, and then ticked Dir Gallery in extensions from my Pivotx admin. What do I do now?

When I read the documentations they said to add this line of code into my page_templates.html:
Code: Select all
  [[dirgallery dir="gallery/$uri" popup="thickbox" header="<div class="gallery">" footer="</div>"]]
    <a href='%imageurl%%filename%' class="thickbox" title="%title%" rel="gallery-%uid%" >
    <img src="%pivotxurl%includes/timthumb.php?src=%filename%&amp;w=106&amp;h=80&amp;zc=1" alt="%alttext%" />
    </a>
  [[/dirgallery]]


I did just that, but I don't understand it at all. :( Where should I upload my photos to enable it to work?

Thank you so much. :oops:
iamatree
 
Posts: 1
Joined: Sun Feb 12, 2012 5:58 am

Re: Dir Gallery problem

Postby Harm10 » Sun Feb 12, 2012 7:57 pm

You could post your question in the special forum post about this extension: http://forum.pivotx.net/viewtopic.php?f=10&t=1431
Then you will have a greater chance that the author reads your question.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Dir Gallery problem

Postby hansfn » Sun Feb 12, 2012 10:34 pm

@iamatree: It doesn't hurt to read the included documentation:

The snippet takes optional parameters:
dir - path to images dir relative from images directory (required)
[...]

In other words, if you set the dir parameter to "mygallery" you should upload the images to "images/mygallery".
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Extensions

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron