Re: [xwiki-users] RE Hide text from search engine.

2014-04-03 Thread DeHaynes
I can just make the SHEETS hidden.  That will work.

Thank you all.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Hide-text-from-search-engine-tp7589975p7589983.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RE Hide text from search engine.

2014-04-03 Thread DeHaynes
I just realized there is only one SHEET for each document type.  So I won't
have the issue of multiple repeated instructions.  Still it would be nice to
exclude the SHEET from being indexed.


Thanks.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Hide-text-from-search-engine-tp7589975p7589981.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RE Hide text from search engine.

2014-04-03 Thread DeHaynes
I am making some forms for documenting our company systems.  The forms I have
are:

* System
* Server
* Application
* Process

And also

* Company
* Department
* Person

The EDIT version of these documents has a LOT information explaining what
belongs in each section.  This is information that doesn't need to be
searched against.  Especially considering that for each document type, the
instructions will be duplicated for each instance of that type of document.

Does that make sense?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Hide-text-from-search-engine-tp7589975p7589978.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Hide text from search engine.

2014-04-03 Thread DeHaynes
Is there a way to make a block of text to not be included in the search
engine?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Hide-text-from-search-engine-tp7589975.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Add yourself to the XWiki community map!

2014-03-11 Thread DeHaynes
I added myself, but I didn't add my organization because I am still trying to
convince them to use XWiki.  
Can't wait to see if anyone else around me is using this.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Add-yourself-to-the-XWiki-community-map-tp7589485p7589517.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Extra Line after heading

2014-03-04 Thread DeHaynes
I am noticing, what I think is a bug in XWiki.  After a heading XWiki creates
an blank line.  See below

 

When I look at the code generated, it is a line with a class of
"edit_section".  See below

 

Which is the edit icon in the top righthand corner of each section.

Is there a way to make it not put that icon on a line by itself?  For
instance, could it be in a box that floats to the section position?

Has anybody else dealt with this?




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Extra-Line-after-heading-tp7589409.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Theme on Subwiki Error page

2014-03-03 Thread DeHaynes
Thank you.

I had to go to the Rights on the particular theme and then give the global
XWikiAllUsers group view access.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Theme-on-Subwiki-Error-page-tp7589357p7589398.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Menu Application access for Unregistered Users

2014-03-03 Thread DeHaynes
Thank you.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589397.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I fixed this by modifying the Menu.MenuMacro in Object mode and then changing
the code in the XWiki.WikiMacroClass.  I added a condition that looked to
see if the user was a guest.  What I added is in bold below.


{{velocity}}
#set ($id = $xcontext.macro.params.id)
#set ($type = $xcontext.macro.params.type)
#set ($colorTheme = $xwiki.getUserPreference('colorTheme'))
#if ("$!colorTheme" != '')
  ## Make sure we use an absolute reference (see XWIKI-9672)
  #set ($colorTheme = $services.model.resolveDocument($colorTheme,
$doc.documentReference))
#end
#set ($discard = $xwiki.ssx.use("$xcontext.macro.doc.prefixedFullName",
{'colorTheme': $colorTheme}))
#set ($discard = $xwiki.jsx.use("$xcontext.macro.doc.prefixedFullName"))
(% #if ("$!id" != '') id="$id"#end class="menu menu-$!type" %)(((*#if
($isGuest == false)*
  $xcontext.macro.content
*#end*)))
{{/velocity}}



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589378.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I fixed it by modifying the code in Menu.MenuMacro.  I wrapped it in an
if($isGuest) like this.

{{velocity}}
#if ($isGuest)
#else
#set ($id = $xcontext.macro.params.id)
#set ($type = $xcontext.macro.params.type)
#set ($colorTheme = $xwiki.getUserPreference('colorTheme'))
#if ("$!colorTheme" != '')
  ## Make sure we use an absolute reference (see XWIKI-9672)
  #set ($colorTheme = $services.model.resolveDocument($colorTheme,
$doc.documentReference))
#end
#set ($discard = $xwiki.ssx.use("$xcontext.macro.doc.prefixedFullName",
{'colorTheme': $colorTheme}))
#set ($discard = $xwiki.jsx.use("$xcontext.macro.doc.prefixedFullName"))
(% #if ("$!id" != '') id="$id"#end class="menu menu-$!type" %)(((
  $xcontext.macro.content
)))
#end
{{/velocity}}

Sorry, I don't know the scripting language well enough to do a ($isGuest) ==
false.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589377.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I am in a private wiki site used for documentation.  You must be a user to
see anything, so "Unregistered Users" can only see the login page.  On my
wiki I am using the "Menu Application", which unregistered users do not have
access to.  So on the login page there is an error "Failed to execute the
[include] macro".  The long version says

org.xwiki.rendering.macro.MacroExecutionException: Current user
[XWiki.XWikiGuest] doesn't have view rights on document [xwiki:Menu.Wiki
Level Menu]

This is correct.  I don't want XWikiGuest to see the menu.  Any idea how I
could get rid of the error?  

I tried searching and found references to xwiki.hasAccessLevel.   Am I on
the right track?

I am using XWiki 5.4.2 with MySQL and Tomcat 7



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Theme on Subwiki Error page

2014-02-27 Thread DeHaynes
I am working on setting up subwikis in a private Intranet wiki.  I have a
customized theme with a custom logo.  When a member of the subwiki clicks
around, they see the theme normally.  When a non-member ties to go to a page
they get the normal "Error - You are not allowed to view this document or
perform this action".  Which is good, except the theme on that page changes
back to the original XWiki theme and logo.  The root wiki is using the same
customized theme and it appears on the login page because I gave
unregistered users access to view the theme.

I don't know who to give permission to in order for the theme to appear. 
The user is no longer unregistered, because they are a member of the root
wiki.  However they are not a member of any group in the subwiki.


I using XWiki 5.4.1, with MySQL and Tomcat7.  I have a vanilla .deb install.  



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Theme-on-Subwiki-Error-page-tp7589357.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Syntax 2.1 Link to root wiki

2014-02-27 Thread DeHaynes
"[[Wiki Home>>$services.model.resolveDocument('', 'default')]]" did not work. 
It resolved to the following URL.  (I X'ed out the IP address.

http://XXX.XXX.XXX.XXX/wiki/wsuorgtemplate/create/%24services.model/resolveDocument%28%27%27%2C+%27default%27%29?parent=XWiki.XWikiPreferences

However, "[[Wiki Home>>xwiki:Main.WebHome]]" did work!

Thank you.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-Syntax-2-1-Link-to-root-wiki-tp7589353p7589356.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki Syntax 2.1 Link to root wiki

2014-02-27 Thread DeHaynes
I am trying to setup a wiki template that contains a menu.  In the menu I
want to create a link to Main.WebHome of the root wiki.  I have tried:

[[Wiki Home>>Home:Main.WebHome]]
[[Wiki Home>>localhost:Mian.WebHome]]

I tried the 2nd one because localhost is listed as the alias for the root
wiki.  Unfortunately neither of these worked.  Can anyone tell me the
correct syntax to use?

I am using XWiki 5.4.1 on Ubuntu with MySQL and Tomcat 7.  I just did the
vanilla deb install.  I have not change the main wiki name or alias.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-Syntax-2-1-Link-to-root-wiki-tp7589353.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users