211
heyula
Xoops Pagination
  • 2014/1/11 22:01

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


Resized Image


Xoops "pagenav.php" Hack

Resized Image


- "pagenav.php" Class install directory
- add css code "xoops.css"

Download:
http://www.xoops-tr.com/modules/publisher/visit.php?fileid=12

Or:
http://xoopstasarim.com/modules/themes/item.php?itemid=9

Demo : http://www.minecraftindir.info/minecraft/



212
heyula
Re: Xoops 2.6.0 alpha 3 issues
  • 2014/1/8 9:43

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


Quote:

tatane wrote:
Quote:

redheadedrod wrote:
Personally I think REQUIRING composer to install xoops is a bad decision. It works (sort of) while under development but it will be a cause for much grief moving forward. A package that a user installs must be seamless and include everything.

I could be wrong but until composer is a default inclusion in PHP I think it is a very bad decision to force people to install composer in order to use xoops. I don't think it is a bad idea to include the code with the installation so someone could update the included packages if they want but 90% of the users that are going to want to install xoops will not want to fuss with having to have to install something else first and it will be a very big and continuous support issue.


+1


+1



213
heyula
Re: use smartys in theme
  • 2014/1/5 17:51

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


@Bleekk

Can we call multiple images to?

$itemsObj = $publisher->getHandler('item')->getItems($limit = 3, $start = 0, '', -1, $sort = 'datesub', $order='DESC', '', true, $criteria = null, true);



214
heyula
Re: use smartys in theme
  • 2014/1/5 9:07

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


@Bleekk
awesome super
Thank you



215
heyula
Re: xBootstrap XOOPS Theme - Development
  • 2014/1/4 21:44

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


@AngeloRocha Thank you

I'll start with the SmartPartner.



216
heyula
Re: use smartys in theme
  • 2013/12/29 20:49

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24





217
heyula
TDMDownloads for theme
  • 2013/12/21 23:27

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


I'm still working on it but will be nice when finished.

sample pictures :

Resized Image


Demo :

Content Page : http://xoopstasarim.com/tdm/modules/TDMDownloads/singlefile.php?lid=1
Home Page : http://xoopstasarim.com/tdm/

coming soon



218
heyula
Publisher add a field
  • 2013/12/20 13:31

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


We know how to add additional fields to the publisher module ?



219
heyula
Re: For each page or the section the sidebar or blocks
  • 2013/12/19 9:35

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


@Thanks Bleekk

publisher to pull the data from the module

The sample code:

<{php}>
include_once 
XOOPS_ROOT_PATH . '/modules/tarifler/include/common.php';
$tarifler =& TariflerTarifler::getInstance();
$myts =& MyTextSanitizer::getInstance();
$itemsObj = $tarifler->getHandler('item')->getItems($limit = 14, $start = 0, array(_TARIFLER_STATUS_PUBLISHED), -1, $sort = 'datesub', $order='DESC', '', true, $criteria = null, true);
$totalItems = count($itemsObj);

global 
$items;
$items = array();
if (
$itemsObj) {
        for ( 
$i = 0; $i < $totalItems; $i++ ) {

            
$newItems['itemid']       = $itemsObj[$i]->itemid();
            
$newItems['title']        = $itemsObj[$i]->title();
            
$newItems['body']         = $itemsObj[$i]->body();
            
$newItems['votes']        = $itemsObj[$i]->votes();
            
$newItems['image']        = XOOPS_URL . '/uploads/blank.gif';
            
$images = $itemsObj[$i]->getImages();
            if (
is_object($images['main'])) {
                
$newItems['image'] = XOOPS_URL . '/uploads/' . $images['main']->getVar('image_name');
            }
        
$items[] = $newItems;
    }
}
<{/
php}>
       
        <
link rel="stylesheet" type="text/css" href="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/css/demo.css" />
        <
link rel="stylesheet" type="text/css" href="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/css/elastislide.css" />
        <
link rel="stylesheet" type="text/css" href="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/css/custom.css" />
        <
script src="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/js/modernizr.custom.17475.js"></script>
            <
div class="container demo-1">


            <
div class="main">
                <!-- 
Elastislide Carousel -->
                <
ul id="carousel" class="elastislide-list">
                 
            <{
php}>
        foreach ( 
$GLOBALS['items'] as $myrow )
        {
        
$GLOBALS['xoopsTpl']->assign('itemid', $myrow['itemid']);
        
$GLOBALS['xoopsTpl']->assign('title', $myrow['title']);
        
$GLOBALS['xoopsTpl']->assign('body', $myrow['body']);
        
$GLOBALS['xoopsTpl']->assign('votes', $myrow['votes']);
        
$GLOBALS['xoopsTpl']->assign('image', $myrow['image']);
<{/
php}>
    
                    <
li><a href="<{$xoops_url}>/modules/tarifler/item.php?itemid=<{$itemid}>"><img src="<{$image}>" width="160" height="270" title="<{$title}>" alt="<{$title}>" /></a></li>            
                    
                <{
php}>
        }
<{/
php}> 
        </
ul>
                <!-- 
End Elastislide Carousel -->

          </
div>
          </
div>

        <
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
        <
script type="text/javascript" src="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/js/jquerypp.custom.js"></script>
        <
script type="text/javascript" src="http://www.pratiktatlilar.org/themes/tatlitarifleri/homeslider/js/jquery.elastislide.js"></script>
        <
script type="text/javascript">
            
            $( 
'#carousel' ).elastislide();
            
        </
script>


$itemsObj = $tarifler->getHandler('item')->getItems($limit = 14, $start = 0, array(_TARIFLER_STATUS_PUBLISHED), -1, $sort = 'datesub', $order='DESC', '', true, $criteria = null, true);

($limit = 14,.....15......20 as
array(_TARIFLER_STATUS_PUBLISHED), -1, $sort category selection =1-2-3 as

Sample Code : http://pratiktatlilar.org/themes/tatlitarifleri/homeslider.html

Resized Image


http://pratiktatlilar.org/



220
heyula
Re: For each page or the section the sidebar or blocks
  • 2013/12/19 8:17

  • heyula

  • Theme Designer

  • Posts: 605

  • Since: 2008/4/24


If you want to use a separate tpl for each model would

theme.html into Introduce the module into pages

sample :

<{if $smarty.server.PHP_SELF=='/index.php'}>
       <{
includeq file="$theme_name/home.html"}>
    <{/if}>
    
    <{if 
$xoops_dirname == "TDMDownloads"}>
          <{
includeq file="$theme_name/tdmfullstroy.html"}>
        <{/if}>
    
    <{if 
$xoops_dirname == "publisher"}>
          <{
includeq file="$theme_name/publishercontent.html"}>
        <{/if}>

sample :

Home :
http://kirpiproje.com/ = home.tpl

Publisher:
http://kirpiproje.com/modules/genel/ = publisher.tpl

Publisher Clone Menager :
http://kirpiproje.com/modules/menager/ = menager.tpl

Blog :
http://kirpiproje.com/modules/blog/ = blog.tpl





TopTop
« 1 ... 19 20 21 (22) 23 24 25 »