Re: problems with smartbizz theme

  • 2012/11/16 14:24:50
  • web-M

I did tried that, but it didn't work for me.

Some other ideas?

web-M Personal website

Topic


Re: problems with smartbizz theme

  • 2012/11/16 13:34:06
  • david

Hiya - if I remember you need to create two custom block positions: "slider" and "custom" - which have some html to manually add .... which can be found in the "tpl" directory.

Topic


problems with smartbizz theme

  • 2012/11/16 12:55:15
  • web-M

Hey Guys,

It has been a while since I was here....

I want to build a site with the Smartbiss theme that Debianus ported tot ICMS. (well done!!)

But I can't get the cstom and slider block visible in the frontpage.
Can anyone give me a complete workaround how to do that. I need a step by step aproache I think.

Already thankyou for the help!


Greetz web-M

web-M Personal website

Topic


Re: modifying blocks in theme

  • 2012/11/12 11:08:14
  • QM-B

Hi Evasan.. Great! I'm glad you figured out!

Topic


Re: modifying blocks in theme

Hi QM-B.

Finally, with little help (really, a big help) of my friend Debianus, I've got it.

I needed two changes:

- In theme.html: I changed

<div class="centerblock-center <{if $columns_layout}><{$columns_layout}><{/if}>">

by

<div class="centerblock-center <{if $columns_layout}><{$block_layout}><{/if}>">

- And in style.css, I reduced the width og the block.

Thank you very much.

Topic


Re: modifying blocks in theme

  • 2012/11/11 12:18:07
  • QM-B

It's not difficult.. Just a bit of CSS.. can you post the css code of your blocks?

Topic


modifying blocks in theme

Hello all.

I want to use in a web that I'm making the theme proton http://themes.impresscms.es/demo.html# but I have a problem: I want to use tree bottom blocks all together, at the same height, and the theme puts the central block under the left and the rigth ones.

Is it possible to change that? Is it very difficult to do?

Thanks a lot

Topic


Re: block engine with IPF

Great, this works as well. No errors right now Thank you.

Topic


Re: block engine with IPF

  • 2012/10/31 7:45:23
  • QM-B

It would be much easier having a full example of your code and not those snipptet with some unknown variables..
Well, calling the blocks you might have different ways. Think, it should be ok just calling the default way.

$block_handler = icms::handler('icms_view_block'); $blockObj = $block_handler->get($block_id);

Topic


block engine with IPF

Hello,

I added the block engine within my theme to load block_id's, but the code is not full IPF compatible.
How should I use the icms_core_BlockHandler in this example?

<?php $icms_block_handler = xoops_gethandler('block'); $xobject = $icms_block_handler->get($block_id, TRUE); $template = new icms_view_Tpl(); $block = array( 'id' => $xobject->getVar( 'bid' ), 'module' => $xobject->getVar( 'dirname' ), 'title' => $xobject->getVar( 'title' ), 'weight' => $xobject->getVar( 'weight' ), 'lastmod' => $xobject->getVar( 'last_modified' ), ); $tplName = ( $tplName = $xobject->getVar('template') ) ? "db:$tplName" : "db:system_block_dummy.html"; if ( $bresult = $xobject->buildBlock() ) { $template->assign( 'block', $bresult ); $block['content'] = $template->fetch($tplName); } else { $block = FALSE; } $this->assign('block', $block); ?>

Topic


Re: Flash is DEAD

You're right where mobile device support is concerned. This sudden stop by Adobe to support mobile flash on Android created some problems here and there (Notably the BBC used flash to power their iPlayer software).

Flash wasn't conceived for mobile platforms. Most users were using Flash to watch movies online, so I hope there will be a consensus about the movie format in the near future (some browsers not wanting to include H264 because of the patent-riddled nature of it, while other only want to use it).

Just a little extra info : Apple wasn't really blacklisting Flash, but all types of software that allowed people to run software on a iDevice that Apple couldn't control. There is no Java or .NET environment on apple devices (applications, yes, but not just an environment where you can run whatever you want). Flash was just the most visible of the lot, so its unsupported nature received the most press attention

Me on Ohloh

Topic


Flash is DEAD

It's not just Apple blacklisting Flash anymore. The latest versions of *all* major Android browsers no longer support Flash. As far as mobile device support goes, Flash is rapidly going down with the ship.

Maybe this is not news, I'm just sayin :)

Topic


Re: Theme montecristo

Hi Manleboss, welcome to ImpressCMS!

I'm not really sure what you mean by 'spider'. I've looked at the theme, but I couldn't find a reference to that. Could you explain more in detail what you mean?

FR: Bonjour Manleboss, bienvenu chez ImpressCMS!
Je ne suis pas tout à fait sûr ce que tu veux dire avec le 'spider'. J'ai cherché dans le thème, mais il n'y a aucun référence à cela. Sais-tu nous décrire cela plus en détail?

Me on Ohloh

Topic


Theme montecristo

Bonjour à tous,

J'ai télécharger le thème montecristo, mais je n'arrive pas à installer le spider.

Pouvez vous me donner la solution?

Merci d'avance


Hi all,

I download the theme montecristo, but I can not install the spider.

Can you give me the solution?

Thank you in advance

Topic


Re: How to use one concrete theme only for a module?

Could the theme to use become an attribute of a symlink? Then it would be very easy to do this kind of thing. I think that's in the direction the defacer module works.

If you change enough code (HTML, CSS or PHP), you can accomplish anything. That's not what people choose a CMS for, most of the time they don't want to (or can't) change the source files. So we should look into making requested features available in the ACP when they have enough interest for our projected user base (the 80% rule).

Me on Ohloh

Topic


Re: How to use one concrete theme only for a module?

Quote:


debianus wrote:

Yes, but it is a hard work and it seems strange that code is not working.

Better wait the great Boiler theme and its skins options.



To override the theme completely on a page or for a module, you'll have to do the logic in the theme - the way a site renders starts with the theme, then cascades down to the module and then to the blocks. When you change the theme_set in a block or module, the theme has already started rendering.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: How to use one concrete theme only for a module?

Quote:

you can create a big brother theme with just logic like if module == wiki include this else that.
This is much easier in Boiler because of skins. :)



Yes, but it is a hard work and it seems strange that code is not working.

Better wait the great Boiler theme and its skins options.

Topic


Re: How to use one concrete theme only for a module?

  • 2012/5/18 13:57:01
  • Will

you can create a big brother theme with just logic like if module == wiki include this else that.

This is much easier in Boiler because of skins. :)

Topic


Re: How to use one concrete theme only for a module?

Does your theme for the wiki use a different HTML markup, or just different CSS?

If it is just different CSS, you could conditionally include the CSS in the theme based on $icms_dirname Smarty variable. You could probably also do the same for the HTML portion, too.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: How to use one concrete theme only for a module?

  • 2012/5/10 1:41:46
  • david

Something using the "Defacer" module - which is based on Symlinks - could be used to change the theme on any link starting /mdoules/wiki to the new one

Although I'm sure a simple code based solution should be possible... perhaps even a simple check from within the theme itself of the current module being used?

Topic



 Top