Re: ImpressCMS 4-col themes for dummies (me) - basics and install in 1.3.10

<p>The symbols you most likely are seeing are the Smarty variables, which enables dynamic content for your pages. A theme consists of both HTML and PHP, along with JS and CSS. An overview was written some time ago about <a href="https://www.impresscms.org/modules/simplywiki/index.php?page=Themes" title="ImpressCMS Themes">themes</a> and <a href="https://www.impresscms.org/modules/simplywiki/index.php?page=Templates" title="ImpressCMS Templates">templates.</a></p>
<p>If you have an example of the layout you are trying to achieve, I'm sure someone can assist with developing or customizing a theme for you.</p>

Christian Web Resources
Facebook
Topic


ImpressCMS 4-col themes for dummies (me) - basics and install in 1.3.10

1) are themes PHP in all cases nowadays? if not, someone fiddles with my programmes, they show in PHP ($-signs etc)... I have been able to get them in slightly more readble (for me, user) listings re-showing as source in mozilla.

2) I try iTheme but cannot get CcolL to widen above 170 ( across centerline and narrow'ing the two right cols). Can I get that center left col to grow right? (boot-strap doesnt help me... didn't understand it actually)

3) Is there any 4col theme design where cols can divide like ~ 20 – 40 – 25 – 15 % … with basic traits? (html, not php?)

4) Have U seen that stupid around who kicked Marc-André Lanciaux?

5) can themes now be installed by lever in admin GUI? Is there a wiki /docu for using that? tag /search word?


I'm the GNU /GPL supporter, early pirate member and now green party 100% democrate. I have seen you around since 7-9 years or somthi'n. I think you know <img src="https://www.impresscms.org/uploads/smil3dbd4e398ff7b.gif" alt="">

Greetings!

Topic


Re: Bootstrap admin for 1.3.x

ok, thanks for the reply.
I'll see if I manage to apply something for the admin.

PerspectivaNET Web Solutions
Topic


Re: Bootstrap admin for 1.3.x

Hi Ricardo,
I'll have to take a look, because as I recall, debianus had to make quite a bit of changes to the templates and the system module code to have the flexibility he needed in the resulting HTML code to use Bootstrap.

The German site serves a theme based on Bootstrap 3.0.3, which is not the latest version. I might have a go at updating it at the end of the month for another site, I'll share it here.

Me on Ohloh

Topic


Bootstrap admin for 1.3.x

Hello!

Searching the forums I found the link of a new bootstrap-based admin for icms 2.0.

Do we have any attempts for 1.3.x as well?

Admin side only, for frontend I already downloaded from the German site...

Thanks

PerspectivaNET Web Solutions
Topic


Re: i'll be barbecue

Hi Incama, great to be able to work with you again!
@debianus has been doing the difficult job of extracting as much hardcoded HTML from the core functions as possible, with as ultimate goal a totally new, Bootstrap 3-based control panel. It's not totally ready, but we're quite close for a first version if you ask me.

I've successfully integrated the use of command-line composer into the core for 2.0, which means that we use the composer autoloader and have a way of installing some ImpressCMS modules using composer already. One area that is giving me problems at the moment is our installer, so that is the reason why it hasn't appeared in a next alpha yet.

Last time, we were discussing layouts for the backend, if I'm not mistaken. It would be great if we could take that up again. The work debianus is doing is fundamental and is great, but in the end we are still doing the same thing with our control panel, just using new technology. The way we construct the ACP and how we put that on your screen is one of the design challenges we need to face with the project.

Me on Ohloh

Topic


Re: i'll be barbecue

Great to have you back, again! @debianus has been doing some great work on a bootstrap-based theme and admin area. See tickets #862 and #855.

It looks like he's getting pretty close on those areas, along with some others, too.

@fiammybe has been working on integrating composer for our external libraries, which will be a big step forward in another area.

I'm looking forward to a great summer for ImpressCMS!

Christian Web Resources
Facebook
Topic


i'll be barbecue

Hello dear ICMS Community.

As I have been very busy doing non CMS related stuff for the past few years, I am eager to contribute to the ICMS community once again starting from 01-07-2015.

Visiting the ICMS communities so now and then, I see that on the UI side not much has changed. On this, I want to contribute as "I did" before.

Although I'm a bit rusty on CSS3, Html5 and Jscript, I know for sure I can help elevating ICMS into the next web age.

Where can I submit my ideas, and who do I talk to spread my thoughts?

Best regards.
Incama

Core74 - Webdesign | Twitter | Flickr
Topic


Re: 'Prefooter' -in icmsbootstrap

  • 2015/4/15 21:55:43

I seem to recall a module that allowed you to create events with a capacity for attendance and then show the remaining spots left. Does anyone know what module this would be? I also need to have/show a cost for the event. Connection to a payment gateway is a plus.

Topic


Re: Edit mytube viewcat

What MyTube release are you using? Final is 1.06 and the code for mytube_block_new_h.html template does not match with you has related.
Example
In MyTube viewcat template look for this line

<div style="clear: both;"> <!-- Start link loop --> <{section name=i loop=$video}> <{include file="db:mytube_videoload.html" video=$video[i]}> <{/section}> <!-- End link loop --> </div>

You can see the array values adding

<pre><{$video|@print_r}></pre>

It seems if you play with HTML and CSS (width box) you can get it.
Can you provide a live example?

Topic


Re: Edit mytube viewcat

  • 2015/3/30 9:35:10

i'm using yikes themes

and for my template

In mytube_videoload.html

Quote:

<div class="even" style="display: table; width: 99%;">


</div>
<div style="width: 99%;" class="affiche">
<div style="float: left; padding: 0 4px 4px 0;">

<{if $video.screen_shot}>

<a href="<{$video.url}>" target=""><{$video.videothumb}></a>

<{/if}><br>

&nbsp;

</div>

<div>

<span class="video2"><a href="<{$video.url}>" title=" <{$video.title}>" class="videot"><{$video.title}></a></span>
<br />
<small><{$video.hits|wordwrap:50:"\n":true}></small><br />
<b>Langue: </b><span> <{$video.publisher}><br /></span>
<b><{$smarty.const._MD_MYTUBE_DESCRIPTIONC}></b><br>
<br>
<{$video.description}>&nbsp;<a href="<{$video.url}>" title="<{$video.title}>"><{$video.title}></a><br>


</div> </div>




I want to display two Video on the same line in mytube

like Random video Block for example



Quote:

<div style="overflow: auto;">
<{foreach item=videorandomh from=$block.random}>

<div style="float: left; margin: 1px; padding: 2px; background-color: #d9d9d9; font-size: smaller; text-align: center;">
<span>
<a href="<{$video.url}>"><{$video.videothumb}></a>
<br />
<a href="<{$video.url}>"><{$video.title}></a>
<br /></a>
</span>
</div>
<{/foreach}>
</div>

Topic


Re: 'Prefooter' -in icmsbootstrap

The currently official download for icmsBootstrap 3.0.3 is here.

Me on Ohloh

Topic


Re: Edit mytube viewcat

Hi galdiator,

let me have a look at those templates. Are you using a specific theme (bootstrap, other)?

Me on Ohloh

Topic


Edit mytube viewcat

  • 2015/3/28 5:50:40

Bonjour,

I want to display two Video on the same line in mytube
as block mytube_block_new_h.html that displays 5 video in the same line with smarty template

Quote:

<{assign var='cats_per_col' value=5}>


<table width="700px" cellspacing="1" cellpadding="0">

<{foreach name=i item=videoload from=$block.videos}>
<{if $smarty.foreach.i.iteration mod $cats_per_col eq 1}><tr><{/if}>
<td align="center" style="padding: 2px; vertical-align: middle;"><div align="center"><a href="<{$videoload.url}>" ><{$videoload.videothumb}></a><br />
<a href="<{$videoload.url}>" ><font color="#0066CC"><{$videoload.title}></font></a><br />
</div></td>
<{if $smarty.foreach.i.iteration mod $cats_per_col eq 0}></tr><{/if}>
<{/foreach}>
</table>



Kindly help me to convert the code to use on mytube_viewcat et mytube_inderx

Et merci

Topic


Re: 'Prefooter' -in icmsbootstrap

Hi PortDude
What icmsbootsrap release are you using?
My theme is oudated and there is a more fresh release by Rene.
Donwload
The readme.txt file has some usefult tips about available custom bocks positions in the theme.

Topic


Re: 'Prefooter' -in icmsbootstrap

Great. Actually that's another thing I really like about ICMS- The custom block building. And I was happy to see there was a place for this 'prefooter' in the theme.html source

-Thanks!

Topic


Re: 'Prefooter' -in icmsbootstrap

Hi PortDude, good to see you're making a new site with our beloved CMS

You should create the block position manually, taking care to use the correct naming so the theme and the system know that they are talking about the same thing.

Currently, there is no installation procedure for themes, so the themes cannot create the elements (blocks, block positions, ...) they need for their specific use. It's something that will come in the future, though I can't point a release on that yet.

Me on Ohloh

Topic


'Prefooter' -in icmsbootstrap

Hi All,
Making a new site and customizing the ICMSbootstrap theme. ITs cool because Im familiar with Bootstrap so glad to see this marriage!

Any rate, I notice in the theme.html file that there is a section
for Prefooter (which is also a common holding place in many a bootstrap site)
<{if $xoBlocks.prefoot}>

This implies that there is blockcontent available here..
However, I don't see a file for a prefooter block in the theme set, nor is it an option in blocks position.

I haven't found much documentation on this theme so I'm just wondering are we supposed to create a new block via admin or am I missing a file? lol

Hope that makes sense. -thanks!

Topic


Re: How to hide a block when it has no contents?

Ok thanks, the culprit was that I was passing some display preferences inside $block. Now I check to see if there are any content objects and if not, set $block = array(); and its fine.

Topic


Re: How to hide a block when it has no contents?

You might use also the count() function on your variables that can be empty. That could come in handy if you generate content in your block content that isn't dependent on the number of elements you want to display.

Me on Ohloh

Topic



 Top