--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+<title>Untitled Document</title>\r
+</head>\r
+\r
+<body>\r
+<p>Q1. My "Today" and "Archive" links stop working when I am in the NP_gallery photo gallery!</p>\r
+<p>A1. the solution will have to be a hack, because of the way np_gallery works,\r
+np_gallery is a SEPERATE blog, so as any seperate blog would do, it would have a "today" page. but in the context of NP_gallery, "today" doesnt make any sense. you will have to go into the skin template (like header.inc) and edit the links to be static instead of <% ... %> like nucleus would like.</p>\r
+<p>Q2. I and error that looks like this:</p>\r
+<p> mySQL error with query create temporary table temptableview (tempid int unsigned not null auto_increment primary key) select pictureid, thumb_filename from nucleus_plug_gallery_picture where albumid=2 order by pictureid ASC: Access denied for user: 'u1000855_phalcon@' to database 'db1000855_phalcon' <br />\r
+mySQL error with query select tempid from temptableview where pictureid=2: Table 'db1000855_phalcon.temptableview' doesn't exist </p>\r
+<p>A2. Find the line </p>\r
+<p>sql_query('create temporary table temptableview (tempid int unsigned not null auto_increment primary key) '.$this->query);</p>\r
+<p>in picture_class.php and change to (around line 157) </p>\r
+<p>sql_query('create table temptableview (tempid int unsigned not null auto_increment primary key) '.$this->query); </p>\r
+<p>this is due to your server having temporary SQL tables turned off. this fix simply makes the table not temporary and would leave a trash table in your database, but its okay, it gets overwritten everytime its needed again. </p>\r
+<p>Q3. why is there an empty space where my sidebar used to be on my photo gallery pages?</p>\r
+<p>A3. this is a common problem when you use a skin with a sidebar such as leaf. what is happening is that even though you removed the sidebar from the main index template, the container and content are sell leaving room for a side bar. <br />\r
+</p>\r
+<table align="center" border="0" cellpadding="3" cellspacing="1" width="90%">\r
+ <tbody>\r
+ <tr>\r
+ <td>Quote:</td>\r
+ </tr>\r
+ <tr>\r
+ <td>#container{ <br />\r
+ width: 100%; <br />\r
+ float: left; <br />\r
+ margin-right: -230px; <br />\r
+ } <br />\r
+ #content{ <br />\r
+ margin-right: 230px; <br />\r
+ padding: 25px 0; <br />\r
+ } <br />\r
+ #sidebar{ <br />\r
+ width: 230px; <br />\r
+ float: right; <br />\r
+ padding: 25px 0; <br />\r
+ text-align: left; <br />\r
+ }</td>\r
+ </tr>\r
+ </tbody>\r
+</table>\r
+<p> what you can do to fix this is put in an inline css style to override the css file. ( you dont want to change the css file because that would screw up the rest of your site, naturally) <br />\r
+ <br />\r
+ so go into the NPGallery skin (the clone you made of leaf) find the main index template, and take a look at the code I made below <br />\r
+ <br />\r
+</p>\r
+<table align="center" border="0" cellpadding="3" cellspacing="1" width="90%">\r
+ <tbody>\r
+ <tr>\r
+ <td>Code:</td>\r
+ </tr>\r
+ <tr>\r
+ <td><%parsedinclude(head.inc)%> <br />\r
+ <!--header.inc--> <br />\r
+ <%parsedinclude(header.inc)%> <br />\r
+ <!--Start Main Index--> <br />\r
+ <div id="container"> <br />\r
+ <div id="content" style="width:700px"> <br />\r
+ <div class="contentdiv" style="width:700px"> <br />\r
+ <h2 class="weblog">Weblog</h2> <br />\r
+ <div class="divweblog"> <br />\r
+ <!--Database Generated Content--> <br />\r
+ <%gallery(gnoo/short,10)%> <br />\r
+ <!--End Database Generated Content--> <br />\r
+ </div> <br />\r
+ </div> <br />\r
+ </div> <br />\r
+ </div> <br />\r
+ <!--sidebar.inc--> <br />\r
+ <br />\r
+ <!--footer.inc--> <br />\r
+ <%parsedinclude(footer.inc)%></td>\r
+ </tr>\r
+ </tbody>\r
+</table>\r
+<p><br />\r
+ <br />\r
+notice the two inline styles for contentdiv and content <br />\r
+<br />\r
+style="width:700px" <br />\r
+<br />\r
+go and add that to the main index template of your NPGallery skin (change the 700px to the actual width for your skin, I think it is actually 700px for leaf, but you can make it a little smaller, like 690px to avoid some IE6 bugs. keep tweaking it until its just right because its different for everyone)</p>\r
+<p> </p>\r
+<p>Q4. I've enabled fancyurls on my blog and everything works fine except the gallery. </p>\r
+<p>A4. fancy URLs dont work unless your nucleus site root is the same at the site root. </p>\r
+<p> </p>\r
+</body>\r
+\r
+</html>\r