Custom Includes and various issues (Technics)

by Rob Wells ⌂ @, Chesapeake, VA, Monday, March 10, 2008, 17:52 (5885 days ago)

I don't know a lot about programming .. I have some things I am instersted in doing.

I am using Cutenews to build news content and have used their javascript to include it into other non-mylittleforum pages.

Is there a way to do this in this script?

Second. Where can I edit the BBcodes css. I want to offer additional sizes as well as modify the spacing.

Thanks!

Rob

locked
10068 views

Custom Includes and various issues

by Bogie, Tuesday, March 11, 2008, 08:31 (5884 days ago) @ Rob Wells

Point 1, no idea

Point 2, if you mean the right size of bbcode buttons,

in your template directory (e.g. default)

style.css, and look for
input.bbcode-button {

and in posting.tpl.inc

{if $settings.bbcode}
<input class="bbcode-button"

locked
9630 views

Custom Includes and various issues

by Rob Wells @, Wednesday, March 12, 2008, 20:31 (5883 days ago) @ Bogie

Okay. Well I figured out Point 1 all by myself and of course the web which is a terrific advantage.

Since this uses the Smarty Template Engine, I learned that Smarty uses a Fetch command for ssi's and the like, so I was able to install cutenews on my site and then call the headlines using the fetch command.

Look at my test site and notice the left column. It inserting an include using the Smarty fetch command (http://yeole.com/test/bodyshoprap) in /templates/default/main.tpl. When ever I add a news story it will update the page and when inserted updates this column.

Here is the exact code I am using (if you or anyone needs to know):
{fetch file='http://yeole.com/test/bodyshoprap/news/show_news.php?template=top_news}

Point 2. I am still fighting. But thanks for the help. Bogie if you are the developer you have a nice product here. Thanks! If you are not and know whom it is tell them thanks!

Rob
:ok:

locked
9695 views

RSS Feed of thread