Loading...
 
Skip to main content

Architecture / Installation


Modifying the Logo module?

Hi folks,

I want to put a personal logo on my site and I see there is a Logo module that puts a nice little box on a side bar and displays img/tiki.jpg
I can not figure out how to configure this logo box, ie change the image, title and caption.

I attempted to make my own module and used the code to embed an image that works in the pages. I then discovered that Smarty doesn't like that... when my entire Tiki broke... I've managed to fix it but now need to see a surgeon about removing these key caps from my forehead... 😊

> Hi folks,
>
> I want to put a personal logo on my site and I see there is a Logo module that puts a nice little box on a side bar and displays img/tiki.jpg
> I can not figure out how to configure this logo box, ie change the image, title and caption.
>
> I attempted to make my own module and used the code to embed an image that works in the pages. I then discovered that Smarty doesn't like that... when my entire Tiki broke... I've managed to fix it but now need to see a surgeon about removing these key caps from my forehead... 😊



> Hi folks,
>
> I want to put a personal logo on my site and I see there is a Logo module that puts a nice little box on a side bar and displays img/tiki.jpg
> I can not figure out how to configure this logo box, ie change the image, title and caption.
>
> I attempted to make my own module and used the code to embed an image that works in the pages. I then discovered that Smarty doesn't like that... when my entire Tiki broke... I've managed to fix it but now need to see a surgeon about removing these key caps from my forehead... 😊

You can use the wiki syntax for images in a module, and there's no problem with Smarty, etc. I made a new custom module by pasting in the Quicktag syntax for an image, like
Image
Localhost
and checking the "must be wiki parsed" box.


Then I previewed the module, which is a very important step because if anything in the module is going to break the Tiki site, it will happen in the preview before the module is assigned. Then in the worst case scenario, you can just use the browser back button (modern browsers) or close the window (IE6, etc.) and the Tiki site is as before, without the module assigned. No problem in this case, so I assigned the module.

I suspect there was a problem with the particular data you used in the module, to cause a problem. Normally the procedure works fine.

-- Gary

> I suspect there was a problem with the particular data you used in the module, to cause a problem. Normally the procedure works fine.

I think what happened was that I didn't click the 'parse as wiki' box so Smarty borked trying to render the front page which of course made my entire wiki undisplayable! 30 mins of hunting for modified files came up null and I was very close to blowing it away. Fortunately a comment in the dev forums pointed me to using phpMyAdmin to find the offending customisation and I was able to repair it 😊

That preview concept sounds like a fine idea too 😊

I had a quick look at the site identity but when I tried it, it wanted to put a logo header over the top. I've actually become rather enamoured with TW's minimalist, no-wasted-real-estate look so being able to drop our logo in the sidebar has worked a treat. I'd be surprised and disappointed if there was no way to modify that module but I couldn't find one. Eventually I ended up hacking the Logo tpl and after discovering how the template cache works, I actually managed to get it all correct 😊

This is a private wiki for my gaming group so I can't let you inside, sorry but you can see the effect I was looking for with that logo.
http://rodden.net/wiki/tiki-index.phpQuestion

Now I just need to figure out which perm will return the front page (and nothing more) to anonymous users... 😊

>
> Now I just need to figure out which perm will return the front page (and nothing more) to anonymous users... 😊


To grant view-only permissions to anonymous (for the home page only), simply click the PERMS tab on that page and grant tiki_p_view to the Anonymous group. See the docs, hereQuestion for details.

HTH,


-Rick
Now Available: TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.