RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message | ||||||
|---|---|---|---|---|---|---|---|
|
nuckles Nucleus Fan Joined: 12 Apr 2005 Posts: 48 |
Alright, there is something that I am not sure is addressed yet with this static page, and that is whether I can include one of these pages as a header or footer or sidebar, from the database, instead of from flat inc files. Another thing I'd like to address is the page name, and whether we can get the 'page' part of /index.php?page=pagename to be configurable. |
||||||
|
|
|||||||
|
jolupa Nucleus Addict Joined: 01 Apr 2006 Posts: 60 Location: Barcelona |
Where can I fint the 3.3 beta to download?. I try to make the changes for my self but is not working. _________________
|
||||||
|
|
|||||||
|
jako Nucleus Newbie Joined: 06 Mar 2007 Posts: 10 |
for some reason some plugins dont work at my custom skinpart like NP_Profile
and
neither but
anyone got an idea whats wrong here? thx. |
||||||
|
|
|||||||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
Some plugins, like some skin variables, are made to only work on specific skin types. I haven't played with custom skin parts, so when I updated NP_Profile, I never considered them. The original authors didn't allow the profile variable on search or error skin parts, and I have carried that forward. Currently this code is used to enforce this restriction (line 773 of version 2.14, near top of doSkinVar() function):
You could change it to this (I'll probably do this on a later version):
In general, if the plugin skin var doesn't work on your skin part, look in the plugin file and find the doSkinVar() function. There are likely to be conditional statements in there that work on the $skinType. |
||||||
|
|
|||||||
|
nuckles Nucleus Fan Joined: 12 Apr 2005 Posts: 48 |
I never realised that that was what made a plugin work on a particular page. Tha nk s 4 that!! |
||||||
|
|
|||||||
|
jako Nucleus Newbie Joined: 06 Mar 2007 Posts: 10 |
thx! i added my custom skinpart in that list. works perfectly |
||||||
|
|
|||||||
|
jolupa Nucleus Addict Joined: 01 Apr 2006 Posts: 60 Location: Barcelona |
I have the following problem and I can't find the error.
This is the SKINS.php modified file:
Can anyone point me to the right direction?. Thanks _________________
|
||||||
|
|
|||||||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
It can't find the table. Are you using a table prefix? you should probably change the query to look like this:
|
||||||
|
|
|||||||
|
jolupa Nucleus Addict Joined: 01 Apr 2006 Posts: 60 Location: Barcelona |
The problem is the same, but the sql error is different.
Any idea. _________________
|
||||||
|
|
|||||||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
Yeah, I had a typo (or was just sloppy), use this instead:
|
||||||
|
|
|||||||
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|||||||