Loading...
 
Skip to main content

Features / Usability


Help with Site Identity code

Hi Everyone,

I'm new to Tikiwiki and really having a good time installing and learning more about wiki technology (i.e. PHP, mysql, Smarty, etc). I do have a quick question (and will probably have more later) — I've added custom code to Site Identity (to customize the page header section)...and noticed that anonymous users cannot see this code. Anybody know why that would be?

I attempted to paste my custom code in this forum posting but unfortunately it's getting stripped and/or processed. I'm not sure what wiki formatting to use to display code? So first I need to know how to post a code snippet in here for your to review 😊

As soon as I know how to do that, I'll do so and then hopefully with your help I can figure this out.

Thanks in advance!

Starlock

Seems like anything posted here in angle brackets gets stripped to one degree or another no matter how its formatted (using wiki's pre syntax, code plugin or whatever). So either take out the angle brackets in advance (replace with parentheses maybe) or attach the template file to your post. (If somebody knows how else to post html/javascript code in this forum, please advise.)

-- Gary


>
> I attempted to paste my custom code in this forum posting but unfortunately it's getting stripped and/or processed. I'm not sure what wiki formatting to use to display code? So first I need to know how to post a code snippet in here for your to review 😊
>
> As soon as I know how to do that, I'll do so and then hopefully with your help I can figure this out.
>


I think you can use & l t ; for the angle bracket:

<foo>
bar
</foo>

HTH,

-RickQuestion


> Hi Everyone,
>
> I'm new to Tikiwiki and really having a good time installing and learning more about wiki technology (i.e. PHP, mysql, Smarty, etc). I do have a quick question (and will probably have more later) — I've added custom code to Site Identity (to customize the page header section)...and noticed that anonymous users cannot see this code. Anybody know why that would be?
>
> I attempted to paste my custom code in this forum posting but unfortunately it's getting stripped and/or processed. I'm not sure what wiki formatting to use to display code? So first I need to know how to post a code snippet in here for your to review 😊
>
> As soon as I know how to do that, I'll do so and then hopefully with your help I can figure this out.
>
> Thanks in advance!
>
> Starlock

Thanks all for your responses so far. I've gone ahead and attached a text file with the custom code for Site Identity. Again, I'm attempting to customize the header to move the Search box into the header and then disable the Site Search Bar option. This works great except for Anonymous users.

Any suggestions you can offer are appreciated.

Thanks,
Starlock