help with smarty template

example i have this code in a block template

<ul id="number1" class="example"> <li><{$hello.title}></li> </ul> <script type="text/javascript"> hello.create("number1", true) </script>


how do i have different value of id for each block

so first block will be number1
second block (cloned block) will be number2 and so on
and the value inside the script also change

.noob here..is this possible ?

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

Well done! . It is a very good approach and it opens new themeing possibilities

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

Thanks for the response! This is a work in progress of course. I just wanted to see if my solution worked on sites other than the ones I currently test with

The boiler framework has a very strong point in that it is compatible with the current templates, which my solution isn't. (It might be possible, but I don't know how personally).

On the other hand, bootstrap is not specific to ImpressCMS, so it could be easier to sell it as a solution to theme developers.

Next steps on this : get the system module templates converted to be compatible with bootstrap (and possibly try to make them HTML5 compliant). After that, try to port some existing themes.

Me on Ohloh

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

Another nice new theme framework - awesome!

A quick look around and there are 3 scripts that are loading - transition, collapse and script. Plus, they are being called 2x each.

Same comment as I made on Will's boiler framework - anything that is going to be site-specific is fantastic stuff for custom tags.

Looking forward to a great set of new themes built on this and boiler for the upcoming releases and for CMS Expo!

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

  • 2012/3/13 15:56:31
  • QM-B

I just could do a few quick tests around. You're right, the templates need to be more adjusted.. I was running in a lot of conflicts yet. But a nice work. Would be nice to see it fully compatible.

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

  • 2012/3/13 13:23:26
  • Will

Cool, you got it going.

Question: what is this for?

<{assign var=theme_name value=$xoTheme->folderName|cat:'/templates'}>


were you doing this to try and move all your html files into a templates folder?

Topic


Re: My first attempt at using Bootstrap 2.0 on ImpressCMS

  • 2012/3/13 13:13:21
  • david

Very neat work indeed!

Topic


My first attempt at using Bootstrap 2.0 on ImpressCMS

Since I looked at Twitter Bootstrap a few weeks ago, I was amazed by the solid foundation it gives you to build a site layout on. On and off (we're also working on CMSExpo 2012, remember to let me know if you care to help organising) I've been tinkering with a theme built from a package from Initializr.

I've got the very first work-in-progress version ready for you to play with.

You will need to change the templates for your site. The current templates aren't totally compatible.

I'll get around to those shortly, but if you want to help me rewrite the templates in HTML5 and Bootstrap, let me know.


Attach file:


zip icms-bootstrap-theme.zip Size: 140.02 KB; Hits: 259

Me on Ohloh

Topic


Re: Anybody got the Belius theme...

  • 2012/3/6 16:26:10
  • david

I've voted for it as well... the more votes the merrier!

Topic


Re: Anybody got the Belius theme...

I checked again, and Assembla support responded to my question a month ago. That's a functionality that isn't there yet.

If you have an assembla account, please vote for SVN Download Folder. Thanks!

Me on Ohloh

Topic


Re: Anybody got the Belius theme...

Yes, i haven't figured out yet if the possibility exists like trac offers to download a part of a SVN repository. I've looked around, but found nothing.

Me on Ohloh

Topic


Re: Anybody got the Belius theme...

Gah... sourceforge is so much better...

Had to reinstall my SVN client just to get files.

Thanks, I'll check it out and if I find any bugs I'll be sure to fix em.

Topic


Re: Anybody got the Belius theme...

Sorry for delay in answer.

Belius theme is in Assembla now
http://www.assembla.com/code/impresscmsaddons/subversion/nodes/themes/belius
It is not tested and It could has bugs.

Topic


Cool way to start : Initializr

Starting a new project from scratch is tedious, and we all have the reflex of re-using the basics of a previous one.

That's difficult in the fast-moving world of web development, as there will have been updates and changes to your basic setup since then.

Luckily, we have people that dedicate their time to help others in this : you have HTML5 Boilerplate, Twitter Bootstrap 2.0 and a tool to configure those two : Initializr.

Do you know of any other similar tools that shouldn't lack in any toolbox?

Me on Ohloh

Topic


Re: disabling or overriding icms.css

Well, in order to work with bootstrap-based themes, we will need to refactor most of the templates that are in the system currently. That's not a lot of extra effort, as I would like to work towards getting those converted to HTML5 for ImpressCMS 2.0 anyway.

I must admit I'm no CSS expert, but I've managed to create a basic Bootstrap theme in a couple of hours. After that, I could add draggable objects in 5 minutes Eye candy galore.

It makes all the basics extremely easy, and it really invites you to experiment with adding a button here, a jQuery element there. I love it

I'm considering making bootstrap the standard to build themes on. That would make it easier for theme designers to create works for ImpressCMS, and it would make it easier to write tutorials, having a standardised and well-documented theme foundation.

My dabbling works are to be found at my dev site.

Me on Ohloh

Topic


Re: disabling or overriding icms.css

So how did the bootstrap experiment go? Is this a good option for buikding themes? I like that it has a grid and apprently sane typography controls.

Topic


Re: Anybody got the Belius theme...

Already did, just waiting a reply.

Topic


Re: disabling or overriding icms.css

Quote:


lotus wrote:
old themes need an update for the icms 2.0, either way, because the old xoops_ smarty-tags are outdated.



they may be outdated, but they haven't been deprecated, yet.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: Anybody got the Belius theme...

Ask our user @debianus

http://on.fb.me/x5lEdX
Topic


Anybody got the Belius theme...

Does anybody have this theme?

I'm hoping somebody has a copy. Tried doing a search on the site but the search gave me the result for ever single download... Not very useful...

Here is a link to the demo:
http://demo.upsj.org/?xoops_theme_select=belius

Topic



 Top