fabricius: skulltrail: do you mean the "Smarty .tpl" file that creates the wikipages or are you referring to "content templates"
you find the .tpl files in the Tiki "document root" in the folder /templates
arrgl doc.tiki.org down again
dev, doc, info
community is running MagicFab_: joined #tikiwiki
joined #tikiwiki SkiNut: joined #tikiwiki chibaguy: joined #tikiwiki
polom fabricius: moloq chibaguy: hi fabricius fabricius: hi chibaguy MagicFab_: joined #tikiwiki chibaguy: fabricius, do you ever use Tiki's banner feature? It seems to have problems, for me. fabricius: in 2010 I did set it up test wise chibaguy: When I tried to rotate more than one banner in one banner zone (a few years ago), I found that only the first banner would display. Tried again with trunk, with same result. Also, the URL that was made for the external linked-to site was incomplete (external address wasn't added to it, in my last test.
I was going to file a bug report but wanted to check if anyone else has problems with banners. fabricius: not using yet ... maybe in a different context lateron chibaguy: Bigger question/rant: I have trouble finding *any* way to rotate content in a space, in a controlled way (such as to make a banners workaround). We can rotate random content, but I'd like to limit rotated pages to one category, for example. fabricius: what is the context you use it? I think it might perhabs make sense when using pay-per-click or so or for a bigger association for prject links or funding stuff
you mean "random page" or "random image" (filegal) or so? chibaguy: Well, it's for a small site related to a local television show, but they want to have banners for advertising, and these would refresh with each page views.
Yes, like thos.
those
But random page shows all pages, I believe, with no way to limit to some banner content pages, for example.
Maybe jquery is needed, if native Tiki can't do it at this time.
Ideally, banners would work as advertised. And it'd be nice if random pages had a parameter to limit the pages to a category.
I think it would be an easy addition for somebody with the skills ;-) refizul: chibaguy: I tested banners 5 months ago and it worked fine, 10.x fabricius: I quickly checked - no params for PluginRandominclude, ModuleRandompage only lists links to pages and ModuleRandomimage is based on image galleries which are depricated
maybe chibaguy (hopefully) you have only a configuration issue
with banners chibaguy: refizul, that's good. I'll do some more testing. refizul: but I had only two samples in rotation, module 2x left and right column, they rotated independently chibaguy: ah, did you have more than one banner in one banner zone? refizul: there was a little trick how to set up the images chibaguy: to alternate? refizul: IIRC one zone with two images chibaguy: hmm, ok. refizul: was just a little test for something I want to setup during next weeks fabricius: chibaguy: maybe it would be a good idea to extend the module random_image to alternatively use file gallery (similar alike the module_menu uses either menuId or structureId refizul: unfortunately this Tiki didn't survive two server transfers chibaguy: yes, that would be good.
refizul, sorry to hear that. fabricius: but then there would be a link necessary for each image in the file gallery and I think, that is not existing refizul: chibaguy: it was a testing virtual machine, nothing serious chibaguy: ah, ok. fabricius: so another coding issue to have a parameter "url" for the image (if I am not wrong) refizul: I transferred the important VMs with priority fabricius: another coding idea could be adding a parameter "category" to the plugin {RANDOMINCLUDE()}{RANDOMINCLUDE} chibaguy chibaguy: yep. fabricius: how small is the project? maybe the plugin "extension" would not be a big deal (am no coder, so me not know ;-) ) ... maybe fundable by the project? chibaguy: Well, it's a very small project - there's no funding for coding, really. fabricius: so hopefully the banner feature does it ... hard to find a coder who coinsidently needs the same plugin extended by himself (and I am no coder) TomJarvis: joined #tikiwiki
polom
The random_pages module calls fuction list_pages and passses it the parameters:
offset, maxRecords, sort_mode, '', '', true(exact_match), true(onlyName)

But the list pages fuction actually accepts the parameters:
offset, maxRecords, sort_mode, find, initial,exact_match, onlyName, forListPages, only_orphan_pages, filter, onlyCant, ref

The "filter" parameter appears to accept categId, so it should not be too hard to add filter to the random_pages module.
But I am not really a coder either SkiNut: joined #tikiwiki chibaguy: TomJarvis, that's interesting. Maybe someone can manage a "30 minute fix". ;-)
But then I want to display page content, not page names (if that's what random pages does). TomJarvis: chibaguy: Yes, I guess it only lists the pages. chibaguy: Looks like adding a category parameter to randominclude would do the job. TomJarvis: chibaguy: I guess I do not know what the "onlyName" true or false does. chibaguy: onlyName false might cause it to display more info such as hits, similar to tiki-listpages.php. TomJarvis: chibaguy: Have you seen Rick's blog post on rotating banners? http://tiki.org/blogpost391-Random-ish-Rotating-Banners chibaguy: TomJarvis, I hadn't read that, but that is how banners are supposed to work: assign more than one to a zone, and they should rotate. TomJarvis: chibaguy: But that isn't working for you? chibaguy: It didn't the last time I tried.
I'll try again. xavi-mobile: joined #tikiwiki
Polom
chibaguy, there is a way to display images in a file galleryin a module, one at eachbpage display. Efamplo using Tiki9 ( I think): http://gavarrespedia.org chibaguy: hi xavi-mobile. That's true, but I want to display rotating banner ads, so the image or text must link to an external url.
I just tested again in trunk, and it seems only the most-recently added banner will display, anyway, after 12 or 15 page views. xavi-mobile: Yes, url'l linked to images are missing
And I agree, banner feature deserves getting fixed (if it's broken again) chibaguy: afaik, this banner function has been broken for years.
although refizul said he had success, so maybe not consistently broken. xavi-mobile: This is the code of the rotating image in the header of that site of mine:
{img randomGalleryId="9" stylebox="border"} fabricius: ahhh chibaguy I have an idea! Isnt't there a parameter "random" in img ... ah yes, now xavi posted
only problem chibaguy might be still the link
the url of the image - image+url=banner xavi-mobile: Oh well, good luck. I haven't tried banners since tiki3, where sylvieg fixed a few issues
Hospital time for me. Cheers fabricius: I have to go now ... see ya later chibaguy, avi and all
xavi
bye all BobC: joined #tikiwiki
How can I change the date font color when using {now format="%B %e %Y"}? chibaguy_away: BobC, it depends on where the date is being shown. The color is set by CSS, by the stylesheet.
If you look at the page source, you can see what span or div the date is in, or use Firefox and Firebug to inspect the page.
I have to take my dog out now. TomJarvis: BobC: The output is wiki parsed, and you can put text within the format, try: {now format="~~green:%B %e %Y~~"} BobC: Terrific! Thank you Tom! Works like a charm!
I'm off to set dates in my wiki pages....
left #tikiwiki Tiki|bot: New Forum Posts: duplicate file galleries hierarchy - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=49088 -: chibaguy likes TomJarvis's tip about the date color. TomJarvis: Bye bubulle_: joined #tikiwiki eliasp: joined #tikiwiki redflo: joined #tikiwiki Jyhem_laptop: joined #tikiwiki arildb: joined #tikiwiki Telesight: joined #tikiwiki Jenser: joined #tikiwiki bubulle_: joined #tikiwiki bubulle__: joined #tikiwiki fabricius: joined #tikiwiki rodrigoprimo: joined #tikiwiki MagicFab_: joined #tikiwiki Jenser: left #tikiwiki Tiki|bot: joined #tikiwiki bubulle_: joined #tikiwiki MagicFab_: joined #tikiwiki marclaporte: joined #tikiwiki dhazel: joined #tikiwiki Tiki-KGB: 03arildb r47438 10trunk/ 10(15 files in 7 dirs)
[NEW] Admin Wizard. Will replace the new installation step
Wizard will automatically start when an admin login in, unless it is explicitly hidden ricks99: joined #tikiwiki Tiki-KGB: 03arildb r47439 10trunk/ 10installer/tiki-installer.php 10templates/tiki-install.tpl * [REVERT][r47404]+fixes[r47422] Replaced by Admin Wizard MagicFab_: joined #tikiwiki dhazel: joined #tikiwiki chibaguy: joined #tikiwiki toastee: joined #tikiwiki Tiki-KGB: 03nkoth r47440 10trunk/ 10lib/smarty_tiki/modifier.userlink.php 10templates/admin/include_community.tpl * [FIX] Remove old pref of replaced feature chibaguy: joined #tikiwiki Tiki-KGB: 03nkoth r47441 10trunk/lib/smarty_tiki/modifier.avatarize.php
[FIX] Always show user info mouseover if friends feature is on, otherwise missing critical UI dbalieiro: joined #tikiwiki Tiki-KGB: 03nkoth r47442 10trunk/lib/core/Services/User/Controller.php
[FIX] Always show enough user info if feature_friends is on, otherwise missing critical UI
03nkoth r47443 10trunk/ 10tiki-setup.php 10tiki-setup_base.php * [FIX] fatal error on install with local profile marclaporte: joined #tikiwiki
joined #tikiwiki Tiki-KGB: 03nkoth r47444 10trunk/ 10installer/tiki-installer.php 10installer/installlib.php
[FIX] Delay profile execution from local profiles until all other patches are updated, things just didn't seem to work before zac2944: joined #tikiwiki