61
kris_fr
Re: Theming and templating in Xoops: my two cents
  • 2010/11/10 22:06

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


Regarding the usefulness of generic css class, a new version of the xoops-styles module will show you the possibilities - note that these classes have been used to simplify the css code for the new system module.
Most cms have such generic class, and it is quite normal and useful to have them in xoops



62
kris_fr
Re: Support for Cssified xoops default theme
  • 2010/11/10 21:42

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

Why not use existing variables for the central positioning of the blocks?
<{* Center blocks display order valid values are:  lrc (left right centerlcr (left center rightclr (center left right)        *}>
    <{
assign var=theme_top_order value=clr}>
    <{
assign var=theme_bottom_order value=clr}>

ex:
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
                        <
div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks">
                            <{
includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}>
                            <{
includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}>
                            <{
includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:2:1}>
                        </
div>
                    <{/if}>

and:
<{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}><{assign var=columns_layout value='threecolumns-layout'}>
<{elseif 
$xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}>
<{elseif 
$xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}>
<{/if}>

for styles depending on the number of columns displayed? it is much simpler

on themes based on div, we already have some models

for proper disposal according to the screens, I recommend this article :http://matthewjamestaylor.com/blog/perfect-multi-column-liquid-layouts
orhttp://css-tricks.com/resolution-specific-stylesheets/



63
kris_fr
Re: theme suico and x-center
  • 2010/11/9 20:41

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

xcenter_index.html, replace by this code :
<{if $xoConfig.breadcrumb}><{include file="db:xcenter_breadcrumb.html"}><{/if}>
    <
div style="float:right; clear:none">
        <{if 
$xoConfig.share}>
            <
div style="float:left;"><{$xoConfig.sharecode}></div>
        <{/if}>
        <{if 
$xoConfig.rss && $catid}>
            <
div style="float:right;">
                &
nbsp;<a href="<{$xoops_url}>/modules/xcenter/rss.php?catid=<{$catid}>" title="">
                    <
img src="<{$xoops_url}>/modules/xcenter/images/rss.png" alt="rss"/>
                </
a>
            </
div>
        <{/if}>
    </
div>
    <
p style="clear:both; height:2px;">&nbsp;</p>
    <
h1><{$xcenter_pagetitle}></h1>
    <
div class="xoXcenter" id="xoXcenter"><{$xcenter_text}></div>
    <
div class="xoIconBar" id="xoIconBar">
        <{if 
$xoAuthor}>
            <{
$smarty.const._XTR_WRITTENBY}><a href="<{$xoops_url}>/userinfo.php?uid=<{$xoAuthor.uid}>" title="">
                <{if 
$xoAuthor.name}>
                    <{
$xoAuthor.name}>
                <{else}>
                    <{
$xoAuthor.uname}>
                <{/if}>
            </
a>&nbsp;
        <{/if}>
        <{
$xoPubdate}>&nbsp;
        <{if 
$xoConfig.print}>
            <
a href="<{$xoops_url}>/modules/xcenter/print.php?storyid=<{$xoXcenter.storyid}>" title="">
                <
img src="<{$xoops_url}>/modules/xcenter/images/print.png" alt="Print"/>
            </
a>&nbsp;
        <{/if}>
        <{if 
$xoConfig.pdf}>
            <
a href="<{$xoops_url}>/modules/xcenter/pdf.php?storyid=<{$xoXcenter.storyid}>" title="">
                <
img src="<{$xoops_url}>/modules/xcenter/images/pdf.png" alt="Pdf"/>
            </
a>&nbsp;
        <{/if}>
    </
div>
    <
div style="float:right; clear:none">
        <{if 
$xoops_isadmin}>
            <{if 
$xoXcenter.storyid}>
                <
a href="<{$xoops_url}>/modules/xcenter/admin/index.php?op=edit&fct=xcenter&storyid=<{$xoXcenter.storyid}>" title="">
                    <
img src="<{$xoops_url}>/modules/xcenter/images/edit.png" alt="edit"/>
                </
a>&nbsp;
                <
a href="<{$xoops_url}>/modules/xcenter/admin/index.php?op=delete&fct=xcenter&storyid=<{$xoXcenter.storyid}>" title="">
                    <
img src="<{$xoops_url}>/modules/xcenter/images/delete.png" alt="delete">
                </
a>&nbsp;
                <
a href="<{$xoops_url}>/modules/xcenter/admin/index.php?op=copy&fct=xcenter&storyid=<{$xoXcenter.storyid}>" title="">
                    <
img src="<{$xoops_url}>/modules/xcenter/images/copy.png" alt="copy" />
                </
a>&nbsp;
            <{/if}>
        <{else}>
            <{if 
$xoXcenter.storyid}>
                <{if 
$xoXcenter.hasEdit}>
                    <
a href="<{$xoops_url}>/modules/xcenter/manage.php?op=edit&fct=xcenter&storyid=<{$xoXcenter.storyid}>">
                        <
img src="<{$xoops_url}>/modules/xcenter/images/edit.png" alt="edit" />
                    </
a>&nbsp;
                <{/if}>
                <{if 
$xoXcenter.hasDelete}>
                    <
a href="<{$xoops_url}>/modules/xcenter/manage.php?op=delete&fct=xcenter&storyid=<{$xoXcenter.storyid}>" title="">
                        <
img src="<{$xoops_url}>/modules/xcenter/images/delete.png" alt="delete" />
                    </
a>&nbsp;
                <{/if}>
                <{if 
$xoXcenter.hasCopy}>
                    <
a href="<{$xoops_url}>/modules/xcenter/manage.php?op=copy&fct=xcenter&storyid=<{$xoXcenter.storyid}>" title="">
                        <
img src="<{$xoops_url}>/modules/xcenter/images/copy.png" alt="copy" />
                    </
a>&nbsp;
                <{/if}>
            <{/if}>
        <{/if}>
    </
div>
    <{if 
$tagbar}><{include file="db:tag_bar.html"}><{/if}>
    <{if 
$xoXcenter.nocomments == 0}>
    <
br /><br /><br />
    <
div style="text-align: center; padding: 3px; margin: 3px;">
        <{
$commentsnav}>
        <{
$lang_notice}>
    </
div
    <
div style="margin: 3px; padding: 3px;">
    <!-- 
start comments loop -->
    <{if 
$comment_mode == "flat"}>
        <{include 
file="db:system_comments_flat.html"}>
    <{elseif 
$comment_mode == "thread"}>
        <{include 
file="db:system_comments_thread.html"}>
    <{elseif 
$comment_mode == "nest"}>
        <{include 
file="db:system_comments_nest.html"}>
    <{/if}>
    <!-- 
end comments loop -->
    </
div>
<{/if}>


also, i add alt and title tag



64
kris_fr
Re: $xoops_contents HTML output stays
  • 2010/11/9 15:29

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31





65
kris_fr
Re: theme suico and x-center
  • 2010/11/7 2:15

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hello,

bad xcenter template

i look tomorrow

@+



66
kris_fr
Re: Blocking a Country or Countries
  • 2010/11/2 12:56

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi

http://www.blockacountry.com/



67
kris_fr
Re: Changing navigation links on front page
  • 2010/11/2 10:05

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

i think, link in themename/xotpl/globalnav.html or xo_globalnav.html
and text in themename/languages/yourlanguage/main.php



68
kris_fr
Re: Translate Xoops With JQuery and Google
  • 2010/10/30 19:57

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

look this tutorial -->http://labs.xoofoo.org/modules/news/article.php?storyid=218
50 languages with google and jquery

demo in bottom pagehttp://tv.xoofoo.org



69
kris_fr
Re: XOOPS 2.5.x Translations
  • 2010/10/30 15:31

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


i add new define in global.php for tinymce

http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/language/english/global.php?r1=5680&r2=5679&pathrev=5680



70
kris_fr
Re: Elrte - New default WYSIWYG Editor for 2.5 ?
  • 2010/10/27 17:04

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


no, "elrte"
but update module system via admin panel




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 42 »



Login

Who's Online

213 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits