1
olivee
Re: Admin interface for theme
  • 2015/11/30 10:24

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


I think the best framework is Bootstrap
So I used it as a base with some modification.
I forgot to show you in the video. The theme is responsive so it can be adapted for any size of Desktop



2
olivee
Re: Admin interface for theme
  • 2015/11/29 22:32

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


Hello
it is a pleasure to see my little project interest.
it's impressive to see my name appear in the list of developer of xoops.
since I have not stopped working on Themebuilder whenever I had some free time, I have completely rewritten the code.
Now I'm pretty happy with the result.
I'll make a video to show you where I am.
I still need some time to finish.

part1




part2





3
olivee
Re: Need help for adding $vidsource in xoopstube title bar.
  • 2014/7/29 15:41

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


you are welcome



4
olivee
Re: smarty in php file
  • 2014/7/23 14:44

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


thank you. all I need is $xoTheme

I got it

le="color: #000000"><?php if ($xoTheme->template->_tpl_vars['xoops_showlblock']): $_from = $xoTheme->template->_tpl_vars['xoBlocks']['canvas_left']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $xoTheme->template->_tpl_vars['block'] => $kex): echo $kex["content"]; endforeach; endif; unset($_from); endif; if ($xoTheme->template->_tpl_vars['xoBlocks']['page_topleft'] || $xoTheme->template->_tpl_vars['xoBlocks']['page_topcenter'] || $xoTheme->template->_tpl_vars['xoBlocks']['page_topright']): $_from = $xoTheme->template->_tpl_vars['xoBlocks']['page_topcenter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $xoTheme->template->_tpl_vars['block'] => $kex): echo $kex["content"]; endforeach; endif; unset($_from);



5
olivee
Re: smarty in php file
  • 2014/7/22 14:04

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


mamba thank you for the answer.
thank you for the links. in my case it is different. does not play with smarty, the solution is to use php directly.
le="color: #000000"><?php echo '<{$xoops_slogan}> => "'.htmlspecialchars($GLOBALS['xoopsConfig']['slogan'], ENT_QUOTES).'"'; <{$xoops_sitename}> - "'.htmlspecialchars($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES).'"


My problem now is to find the php code that generates the blocks. left center and right column.
have you a pist for this
le="color: #000000"><?php <{if $xoops_showlblock}> <{foreach item=block from=$xoBlocks.canvas_left}> <{if $block.title}> <div class="blockTitle"><{$block.title}></div> <{/if}> <div class="blockContent"><{$block.content}></div> <{/foreach}> <{/if}>




6
olivee
Re: smarty in php file
  • 2014/7/22 12:29

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


I think it is not possible to use smarty code in my case.

then I want to use php directly.

who can give me the php code for output as the left column.

in other words, have the php code that corresponds to

le="color: #000000"><?php <{if $xoops_showlblock}> <{foreach item=block from=$xoBlocks.canvas_left}> <{if $block.title}> <div class="blockTitle"><{$block.title}></div> <{/if}> <div class="blockContent"><{$block.content}></div> <{/foreach}> <{/if}>



7
olivee
smarty in php file
  • 2014/7/21 14:03

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


I need your help

I want to add a php file to xoops so I have done this
create page.php in the root of xoops.

add this code in page.php

<?php if (file_exists("mainfile.php")) { include("mainfile.php"); } include(XOOPS_ROOT_PATH."/header.php"); echo '<{$xoops_banner}>'; include(XOOPS_ROOT_PATH."/footer.php"); ?>


the problem is that <{$xoops_banner}> des not execute. so how can I do to execute default smarty code like <{$xoops_slogan}> <{$xoops_sitename}>



8
olivee
Re: Need help for adding $vidsource in xoopstube title bar.
  • 2014/7/21 11:07

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


hello I am using a personalised mytube. I think you can do like this

add this line in /include/videoloadinfo.php
le="color: #000000"><?php $video['sourceico'] = '<img src="' . XOOPS_URL . '/modules/' . $xoopsModule -> getVar( 'dirname' ) . '/images/icon/' . $video_arr['vidsource'] . '.png" alt="Source" title="Source" style="width: 16px; vertical-align: middle;">';

after
le="color: #000000"><?php $video['icons'] = xtubeDisplayIcons($video_arr['published'], $video_arr['status'], $video_arr['hits']);


add the smarty code in /templates/xoopstube_singlevideo.html
le="color: #000000"><?php <{$video.sourceico}>
after
le="color: #000000"><?php <{$video.icons}>


the same think in /templates/xoopstube_videoload.html

than you must add one icon for each vidsource in /images/icon/ folder like 100.png 101.png ....



9
olivee
Re: Asking for your opinion about QuickPages
  • 2014/7/20 10:25

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


good work

missing
// SQL file
'sqlfile' => array( 'mysql' => "sql/mysql.sql" ),

can I ask what is this code how can i use it.

le="color: #000000"><?php $ht = new RMHtaccess('page: '.$page->id()); $rewrite = $ht->canWrite() && $ht->isCapable(); $rewriteRule = "# begin page: ".$page->id()."nRewriteRule ^".$page->getVar('custom_title')."/?(.*)$ modules/qpages/index.php?page=".$page->getVar('nameid')." [L]n# end page: ".$page->id();


I am trying to add almost the same thing to my project themebuilder



10
olivee
Re: Admin interface for theme
  • 2014/4/30 11:51

  • olivee

  • Just popping in

  • Posts: 24

  • Since: 2014/1/28


you're right I note this on my list todo.




TopTop
(1) 2 3 »



Who's Online

167 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

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

Latest GitHub Commits