Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Adding CSS Class to Reference Items and Proper Linking

posts: 758 United States

Tiki 15 svn
php 5.6
innoDB
Theme: Tikinewt
Theme Option: Shadow
The Patriot Woodwiki

Dear Tiki gurus, I have been scratching my head here, I'll take this one at a time here:

To view the article I am using to fix these issues please go to Sam Maloof

First issue, I have followed the instructions verbatum for setting the CSS class of the text for a reference. I am using the sample CSS class "boldBlue" as directed here at References Documentation and my text does not display the eye catching boldBlue. Any suggestions are greatly appreciated.

Second issue in references is my ~uri~ links are not linking. Currently I have a reference template set as ~author~ (~title~) ~year~ (~uri~) ~publisher~,~location~
As you can see at the article I am having these issues with, the uri is not linking properly.

Also, as you can see the links in the references that are being displayed are long, and perhaps ugly, is there a way to make them pretty?

If anyone has some suggestions on how to clear up these issues I'd sure appreciate it.
Thanks!

posts: 3665 United States

Where did you define the boldBlue class? Looking at the HTML source for the http://thepatriotwoodwiki.org/Sam+Maloof page, I don't see a style definition for it, nor do I see it in any of the .css files you're using.

Looking at the code, it looks like the link is not being generated around the actual reference. Could be a bug in the plugin... my sample on the Demo site (https://demo.tiki.org/14x/ReferencesSample) also does not correclty create links.... someone else with more knowledge than I will have to comment on that. If it is ia bug, it should be logged on the Dev site.

In the meantime, many just use the footnote plugin instead (I know that it works, I also included it in the sample page).

 

 

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

 

posts: 758 United States

Thanks a million Rick for your response, I inserted the boldBlue class in the CSS box as pictured below. Is there another step I am missing to bring out the blue?

Capture  

I was under the impression footnotes were for personal notes to ourselves? Not actually a reference or citation plugin?

Thanks for your help Rick!

 

posts: 3665 United States
Is there another step I am missing to bring out the blue?

Image

 

Yes, you need to acutally define the boldBlue class, for example, by using the Custom CSS field on the Admin: Look & Feel page. Please see the docs for details: https://doc.tiki.org/Customization?structure=Tiki+Reference+Guide

I was under the impression footnotes were for personal notes to ourselves? Not actually a reference or citation plugin?

 

If all you want is a place to log personal notes to a page, you can use the wiki Footnotes option. Please see the docs for details:  https://doc.tiki.org/Wiki+General+Preferences?structure=Tiki+Reference+Guide

 

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 758 United States

Thanks Rick! That did it! I installed the code as seen in References Set Style

.references ul li.boldBlue{
font-weight:bold;
color:#0000FF;
}

Now I have my wonderful blue text at Sam Maloof and scroll to the bottom. Now once I get the linking worked out we'll be in business.

As for footnotes, no, I really want the references to work, I do not need to make personal notes, I want the biblio feature to work completely, it is essential to my wiki. Thanks again Rick!