tag is coming from the icon for the plugin helper
I'll remove those icons
jonnyb, yes and note the way the = gets encoded in the parameters list. I don't know if that's related or just adding insult to injury.
looks like a bug in modlib - i haven't changed those bits (on purpose)
yes, the encoded param thing is messy, but it's all done in smarty so hard to sort out
appears in the edit form ok (for me)
xavi: what does your {R} plug produce then? if it's in an html element already you can probably get at it via jquery
it is a number surrounded by tags
no id or class? :(
I created a menu called top menu. For the life of me, i cannot figure out how to set the permissions. I want it to be visible to registered and admin, and not anonymous. I cannot find "menu" under any of the sections. Can anyone point me in the right direction please?
but you mean that I could extend the PluginR to have the output inside some custom div with custom id and custom name, so that the value can be fetched by jquery????
if it's the only one on the page you could use $("pre").text()
RavenC: second tab
interesting this dive into the JQ world!
RavenC: on modules admin
of $("pre:eq(17)").text() for the 17th one
of/or
ok
I see the menu listed nder user modules...
brb (need some food urgently)
RavenC: if u need it in 6 in top (as it seems) you need to put something like {if $user}{menu id=YOURMENUID type=css}{/if} on Look & Feel admin panel in the custom top bar menu code textarea
I selected Admins Registered in Groups in the assigned modules, but when i log in as a registered user, the menu doesn't show
bbl. dog-walk time.
RavenC: in 6 the modules admin is useful only for assigned modules which is not straightforward for top and bottom
RavenC: only for left/right modules
hmmm... ok
makes sense
RavenC: see http://doc.tiki.org/Menu#Contextual_menu_example
tikiwiki: 03sylvieg * r32433 10/trunk/templates/tiki-view_tracker_item.tpl: [FIX]tracker: to really have a no highlight in the edit item tab
RavenC: it's a bit different case, but on the page u can find lot of useful info
luciash: Thanks for the help I will see what I can find. :)
tikiwiki: 03sylvieg * r32434 10/branches/proposals/6.x/templates/tiki-view_tracker_item.tpl: [bp/r32433][FIX]tracker: to really have a no highlight in the edit item tab
sadly, I don't see anything referring to permissions there other than to create/edit...
I guess two menus on the left will have to suffice
:)
RavenC: it is really easy when you know how... i think that bit of info is missing from the docs
what is your menu ID ?
yeah, sadly I am not in the "know" crowd... hehehe
menuID 43
looks perfect for admin
blank for registered
ok, then go to the Look & Feel panel
I'm thre
second tab
there
ok
Top Bar checked, Menu ID set at 43
check the Site menu bar too
it is checked as well, sorry
as is search bar...
insert this there: {menu id=43 css=y type=horiz}
leave Menu ID field blank
ok
now before the menu code put this: {if $user}
and after put this: {/if}
so it will look like {if $user}{menu id=43 css=y type=horiz}{/if}
ok, done
now when you Apply, every logged in user (Registered which includes Admins, right ?) will see the menu
ok
Anonymous will not see it
cool
I will try logging in as registered
I log in as a registered user and the top bar is blank
RavenC: oh, maybe it needs to check like this: {if $user neq ''}...
RavenC: sorry
neq means "not equal"
and '' means "empty"
ok, i will put in {if $user neq ''}
still blank... :/
RavenC: do you have CSS menus feature on ?
Requires CSS Menus ( ok )
ok, humm, can u try clear the Tiki cache ?
just did ;)
before posting
(though i think it shouldn't be necessary)
RavenC: you didn't set any Group permissions on your menu items, did you ?
luciash: I didn't know how....
ok, i wonder why it doesn't show up for you logged in then
i thought that was the route to go, but it said nothing was assigned and would use global perms
it definitely works usually
hehehe
RavenC: can you just try to put before the "{menu" some text ?
if it will show up ?
like DEBUG
sure
clicked apply, shows up for admin
logged in as registered, DEBUG appears
fine, so the condition works
just the menu doesn't appear for some reason
hmmmm
do u have other menus ?
I was just about to create another to test :)
so u can try different id
tikiwiki: 03robertplummer * r32435 10/trunk/ (3 files in 3 dirs): [ADD] Spreadsheet truncation for csv files & notification in tiki-view_sheets.php & tiki-view_sheets.tpl
Created menu 44 ... changed the one line to reflect that in look&feel... works perfectly
mystery :)
luciash, I bow to your mega knowledge and massive patience. Thanks very much for assisting me :)
np, you're welcome
jonnyb, I've created some id and name in the pre generated by pluginR
using the number of the pre didn't work for me
can I use somehow those names?
I tried, with no success....
I'll paste the syntax Iused...
mmmm,
hmm?
amazing, it works!
with the id and name inside the pre tags
uff!
before I was using val() and it didn't work
but with text() it did
you shouldn't need name. i think (name is really just for values in forms)
so, this works:
{JQ()} if (!$("#other_track_92").val()) $("#other_track_92").val($("#routput").text()){JQ}
aha, inputs etc have .val() - other stuff has .text()
being "routput" the id and name of the pre generated by R
yes, that was my mistake!
woo hoo!
:-D
wohooo²
:)
wohooo^10
:-D
xavi: you can also use .html()
can I?
wohoo.html() ? :-D
if u want to preserve html of the element
just a side note ;)
thanks guys for all you help!
with this, I think, I can manage most of my needs playing with tiki trackers, smarty, jq and R
xavi: is your next plugin going to be called "." ? ;)
:-)
tikiwiki: 03xavidp * r32436 10/mods/trunk/wiki-plugins/r/lib/wiki-plugins/wikiplugin_rr.php: [ENH]Added id and name for the pre tags of the R output, so that its content can be easily passed to Jquery. Thanks jonnyb and luciash
lphuberdeau: see pm
as I refactor code in file galleries, I come to realize that there is absolutely no consistency in how anything is handled
lol. you've been working with tiki *how* long? And you just now discovered this?
well, it's worst than usual
those "podcast galleries" are simply a data corruption machine
*g*
depending on how the file gets uploaded, I really don't know if it always goes at the same place under the same conditions
jonnyb, and how to hide the output from pluginR in the page (so that the end user don't see it twice), while allowing jquery to fetch it?
I tried surrounding the pluginR call with ~tc~ ~/tc~, but that prevent jquery to fetch it, it seems
and same with ~hc~ ~/hc~
that would stop it being parsed
ok
you could put it in a hidden div?
hidden div: I feel as if I'm learning black (html) magic today
{DIV(class="hidden")}blah blah...
{DIV(type="hidden")}foo{DIV}
ah , ok, thanks
mmmm, jonnyb, no output shown then
jquery not prefilling that value
ah, hold on....
it smells like human error...
he he, confirmed, it was human error.
it works like a charm
thanks again, master j(q)onny :-)
enough for today
for me
ok, bibi - well done :)
bye xavi
thks
blues concert tonight! yay! :-)
cheers
in 6/proposals branch, i still don't understand what Heading preview for Blogs is supposed to do
(if anything)
i see no way to display/preview a blog heading when creating a new blog
tikiwiki: 03lphuberdeau * r32437 10/trunk/ (lib/filegals/filegallib.php tiki-batch_upload_files.php): [MOD] Extracting batch upload file handling to library
tikiwiki: 03jonnybradley * r32438 10/trunk/ (3 files in 3 dirs): [MOD] themegen: Refactor data structure to allow easier management and addition of new customisable elements (some breakage possible - experimental still)
TW 6.1 - Default HomePage (wiki) ... has {GROUP(groups=Admins)} to start. Can I place two groups in that, and if so what would be the syntax? I tried {GROUP(groups=Admins, Registered)} but it didn't appear to like that.
i belive the syntax is is Admins|Registered. check docs http://doc.tiki.org/plugingroup
thanks Rick, you are correct... I was looking at http://doc.tiki.org/Groups+Management
@RavenC: join us for a doc re-org :-)
:)
hi everyone
hi Bilal
New Forum Posts: How to take powered by tiki out - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40323
New Forum Posts: FancyList - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40312
New Forum Posts: Announcing the Tiki Service Provider Program - https://tiki.org/tiki-view_forum_thread.php?forumId=1&comments_parentId=40311
RavenC: how are you doing?
any tikiwiki experts in here?
for what Bilal ?
Bilal: Great here thanks. You? (Sadly, VERY from an expert here)
Do you have a question?
very FAR that is... lol
I am using Tikiwiki 6.0 beta 3 - the links on the site of a page does not work unless the page is fully 100% loaded. While in general websites, and older tikiwiki versions we were able to click on a link even if the page is not fully loaded yet
because of this it creates a lot of frustration, when we have to wait for the page to be loaded 100% and then we can click on any links on the page
any help, is there any configuration to remove this behavior? can we fix this?
@Bilal first, I would upgrade to latest 6.1 (6.0b3 is old)
also, which links? in-page links? menu items? etc?
ricks99: specifically if there are tab links within a page, the ajax links, almost all links, the navigation and page links both
ricks99: i will do the upgrade
ricks99: i can give you url of the site if you want to have a look , its online
that is because the