Search found 19 matches

by Ctwizzy
Sun Sep 24, 2006 8:16 am
Forum: Development
Topic: Constant values through the s9y code?
Replies: 9
Views: 10453

Ah Ok,

Ok hopefully this answers your question.

tpl are smarty files, they just relay information at run time from the php files. They are like the clock face behind the gears.

The info your looking for is in the application itself. Gavin developed S9Y with templating in mind to change S9Y your ...
by Ctwizzy
Sun Sep 24, 2006 5:59 am
Forum: Development
Topic: Constant values through the s9y code?
Replies: 9
Views: 10453

Hey Rod, not sure exactly what your talking about if you could give a code sample it might help.

Im no expert but ive done some tinkering around in the code and will help if possible.
by Ctwizzy
Thu Sep 21, 2006 10:58 pm
Forum: Development
Topic: Help: Embedding content in S9Y Efficiently?
Replies: 3
Views: 5713

Thanks Jude, your responses always seem to help.

So your saying that modifying the index.tpl to listen for a passed parameter and include an external php file is unsafe? Enlighten me please as I dont know much about security and learning is my #1 priority lol.

As I am learning stuff about s9y I am ...
by Ctwizzy
Thu Sep 21, 2006 5:35 am
Forum: Development
Topic: Help: Embedding content in S9Y Efficiently?
Replies: 3
Views: 5713

Help: Embedding content in S9Y Efficiently?

Garvin & Jude you guys rock and have helped a ton so far, so im hoping you guys can help again, one day when I have some experience behind me Ill contribute as well.

Ok so I was trying to use the static page plugin, now maybe Im looking in the wrong place but is there no documentation for any of ...
by Ctwizzy
Mon Sep 18, 2006 11:06 pm
Forum: Development
Topic: Assistance Required: My First Plugin
Replies: 11
Views: 12554

And what would be the optimal way??

lol thanks jude
by Ctwizzy
Mon Sep 18, 2006 6:05 am
Forum: Development
Topic: Assistance Required: My First Plugin
Replies: 11
Views: 12554

Thanks for the help.

Im not writing any CSS, my CSS file already exists and the styles are applying to the current navbar.

So what your saying is that I cant have my html in the navbar unless I abs position it? that kind of sucks...

The entries header seems as close as I can get it, Ill just try ...
by Ctwizzy
Mon Sep 18, 2006 3:19 am
Forum: Development
Topic: Assistance Required: My First Plugin
Replies: 11
Views: 12554

1 more thing garvin,

My Nav bar via plugin could have 1-X links. What im debating is:

Should there be a cut off or not?
If I specify a cutoff it makes my life easier.
Say 4 entries MAX, configuration would have an array of elements such as:
linkname1, path1, linkname2, path2, linkname3, path3 ...
by Ctwizzy
Mon Sep 18, 2006 2:56 am
Forum: Development
Topic: Assistance Required: My First Plugin
Replies: 11
Views: 12554

Progress Made!

Hey Garvin,

Thanks for your help thus far.

So I have made progress, I finally have something printing to the page. I am amazed lol.

Its not what I intended yet but Im close!

function event_hook($event, &$bag, &$eventData, $addData = null) {
global $serendipity;

//Collect all variables ...
by Ctwizzy
Sat Sep 16, 2006 10:48 pm
Forum: Development
Topic: Assistance Required: My First Plugin
Replies: 11
Views: 12554

Assistance Required: My First Plugin

Would appreciate some assistance from the vets. I have read the documentation, and am using the html_nugget event plugin as reference.

Goal:
To simply print a list in the header of the blog.
example: <ul> <li><a href="$path">$linkname</li></ul>

Once I learn this I should be able to change it to ...
by Ctwizzy
Sat Sep 16, 2006 2:50 am
Forum: General discussions
Topic: Inserting Code Into an Entry
Replies: 8
Views: 6554

Thanks carl, its the simple things you forget lol.

I can see this way getting tedious though, so Im going to look for the bbcode plugin, I cant see it taking up too much memory.
by Ctwizzy
Fri Sep 15, 2006 7:58 pm
Forum: General discussions
Topic: Inserting Code Into an Entry
Replies: 8
Views: 6554

Thats the problem carl, I tried it that way it doesnt work.

using
[/code/]
<?php
function my_menu($params, &$smarty) {
$out = '<ul class="sitesections">';
$items = array("Home" => "index.php", "Filler" => "index.php", "Filler" => "index.php");
foreach($items AS $item => $link) {
$out .= '<li ...
by Ctwizzy
Fri Sep 15, 2006 7:07 pm
Forum: General discussions
Topic: Inserting Code Into an Entry
Replies: 8
Views: 6554

Alright I installed the Geshi plugin (unrared and moved the files to /plugins/ and then installed in event.

So in my entry I type
[geshi]
<?php
function my_menu($params, &$smarty) {
$out = '<ul class="sitesections">';
$items = array("Home" => "index.php", "Filler" => "index.php", "Filler ...
by Ctwizzy
Fri Sep 15, 2006 5:44 pm
Forum: General discussions
Topic: Inserting Code Into an Entry
Replies: 8
Views: 6554

Once again Garvin thanks.
by Ctwizzy
Fri Sep 15, 2006 8:18 am
Forum: General discussions
Topic: Inserting Code Into an Entry
Replies: 8
Views: 6554

Inserting Code Into an Entry

Ok so I am writing code tutorials on mysite pretty much documenting things I do and learn, but problem is when I try to insert code it wont let me. It prints the actual code.

Why is there no option in the entry field? Is there anyway besides doing a <text-area> which I dont like doing as then I ...
by Ctwizzy
Fri Sep 15, 2006 2:34 am
Forum: Development
Topic: Dynamic Nav Bar
Replies: 5
Views: 7212

Hey Garvin, thanks for your help thus far.

Edit: Solved most of my own questions lol.

I was going to take a look at the html nugget you mentioned to see how plugins are done, but the link is down so I think ill start with this method as truth be told it seems simpler.

While were on the subject ...