Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Thu Apr 08, 2010 1:03 pm   Post subject:
Reply with quote

Put it in the head.

Back to top

View user's profile Send private message Visit poster's website
sandoz
Nucleus Fan


Joined: 01 Apr 2009
Posts: 25

Post Posted: Thu Apr 08, 2010 3:46 pm   Post subject:
Reply with quote

yes, but what file?

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Thu Apr 08, 2010 3:49 pm   Post subject:
Reply with quote

depends on the skin you are using. Most skins hold the contents of the HTML head section in a file in their folder called head.inc or head.php. For instance, the default skin holds its head section in a file called skins/default/head.inc. If you use a different skin, the file will be different. Put it somewhere after the <head> tag and before the </head> tag.
_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
sandoz
Nucleus Fan


Joined: 01 Apr 2009
Posts: 25

Post Posted: Thu Apr 08, 2010 4:01 pm   Post subject:
Reply with quote

i use lifanosky, with the same head,inc
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>


<!-- meta information for search engines -->
<meta name="generator" content="<%version%>" />
<meta name="name" content="<%if(skintype,error)%><%sitevar(name)%><%else%><%blogsetting(name)%><%endif%>" />
<meta name="description" content="<%if(skintype,error)%><%sitevar(name)%><%else%><%blogsetting(desc)%><%endif%>" />

<!-- prevent caching (can be removed) -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Expires" content="-1" />

<!-- site stylesheet (site colors and layout definitions) -->
<link rel="stylesheet" type="text/css" href="<%skinfile(lifanovsky.css)%>" />

<!-- RSS 2.0 feed -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="xml-rss2.php" />

<!-- RSD support -->
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="rsd.php" />

<!-- favorite icon -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.ico" />

<!-- navigation & page titles -->
<%parsedinclude(navigation.inc)%>


so i use it like this:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<%ColorBox%>

<!-- meta information for sea....


this is enough?

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Thu Apr 08, 2010 5:08 pm   Post subject:
Reply with quote

Yes, but I'd put it further down like this:
Code:
<!-- favorite icon -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.ico" />

<%ColorBox%>

<!-- navigation & page titles -->
<%parsedinclude(navigation.inc)%>

_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
sandoz
Nucleus Fan


Joined: 01 Apr 2009
Posts: 25

Post Posted: Thu Apr 08, 2010 8:52 pm   Post subject:
Reply with quote

and then upload and install the plugin, and it should work?

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Thu Apr 08, 2010 9:03 pm   Post subject:
Reply with quote

Sort of.

Once it is uploaded and installed, it will require that you do some things to indicate where and how you want it used. The tag you put into your head file will cause the required javascript files to be loaded.

There are a couple ways to use this plugin.

One is to continue to add images to your posts the normal way (from the media manager, inserting <%image%> tags into your items). You can tell the plugin (in the plugin options) to convert these image tags to ColorBox tags. No further work should be needed.

The other way is to add <%ColorBox(imagepath|Caption|boxtype)%> (or @<%ColorBox(imagepath|Caption|boxtype)%>, if using NP_TinyMCE) tags into your items as described in the plugin wiki.

_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
sandoz
Nucleus Fan


Joined: 01 Apr 2009
Posts: 25

Post Posted: Fri Apr 09, 2010 12:07 pm   Post subject:
Reply with quote

when posted as inline image, nothing happens, the image is shown at 100%
when posted as popup it seems to work ok
when posted with colorbox tags its ok also

but there are no thumbnails
see
http://sandoz.melgurt.com/index.php?itemid=98

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Fri Apr 09, 2010 12:16 pm   Post subject:
Reply with quote

I won't be to a PC for a while to check out that page. Have you adjusted the plugin option for thumbnail path. I think there are 3 options like URL,relative path, and full path. Some server configs don't like one method or the other.

I'll let you know what I find in a few hours.

_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Fri Apr 09, 2010 12:40 pm   Post subject:
Reply with quote

IIRC... the plugin includes an option 'replace pop up behavior', nothing for inline. Presumably, if you are posting an inline image there is no need for it to be expanded. If you are using an inline image it should be re-sized before uploading.

Back to top

View user's profile Send private message Visit poster's website
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3  Next

Page 2 of 3

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group