51
voltan
Re: fmcontent 1.02 Rc2
  • 2011/4/20 5:44

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


Quote:
the missing space is fmcontent_legacy_content.html template line 34


this part?

<div class="itemShort"><{$content.content_short}></div>
<{if 
$advertisement}>
<
div class="itemAde"><{$advertisement}></div>
<{/if}>
<
div class="itemText editable <{$multiple_columns}>" id="content_<{$content.content_id}>">


you can fix this space whit css codes in your theme. or change this design whit css too.

Quote:
-Breadcrumb
Actually to have somenthing similar to breadcrumb it's enough to create a first line in page with home : topic_title : Page_title and then in the following line a bigger page_title with headings.. I think some template change is enough for the moment,
could be great to have an option in topic management to decide if showing or not showing breadcrumb


I like tdmdownload Breadcrumb and I want add Breadcrumb like that for next version. but if you this simpale one is good I think I can do it today or tomorrow . but at this version I don't want add any changes in DB for add option for show / hide Breadcrumb for topics. I think at this moment we can use Display Topic option for show / hide Breadcrumb or have option in Preferences or both. which one you think good? ( for next version I will finish this part )

Quote:
-topic index page layout look messy
it looks messy in the sense that if you have a page with image inside the topic index shows the default page and then the following item (news, photo, or list view) breaks into the previous div..
this happen with floating objects inside divs.. I think a clearing div is missing.. but anyway there's a css hack for this.


I didn't see this problem. if poshible for you to test last SVN codes again? if you have problem please send a shot for me. I will check templates code too

Quote:
- content page block shows a static page even if that page has become dynamic
actually I have a page showed in this block.. this page was static and later I've changed it into dynamic.. and it stil shows.. as you said I was expecting that only static page where loaded here..


I add this option for just select page I think after change page topic you must change page block option again . But perhaps is better for this block to select all statics and dynamic pages . what is your idea?


Quote:
-Module index page, Default topic page and Topic url rewrite
I put all togheter because if this has to be a plain content module topic is not only a container but can also be a part of the site structure.. and it could be great if admin could choose if the topic page is a page made of content or simply a list of the content it holds..
So talking practically there should be an option to use a page as the module index page different from the option to set it as default for the topic..
Actually for example I was not able to show a full page for a topic index without any other page
For this reason also I think that if you work on rewrite also topic should be rewritten.. it may be confusing that category is rewritten only in page url


I must work on Topic url rewrite ant this option must be like content url rewrite. but I must work on this in next version . I want public final version in next week whit all bug fix. after that we can work on next version whit this options . module index page and topic pages must be better but it need to many codes and new codes have new bugs

Quote:
-About url rewrite..
with a small hack I've reached an url rewrite like:
mysite.com/topic_title/page_title
so I've cleared any extension (html) and page-id number..
the url are written rightly in page but when I click on link it says I dont' have the permission to see that page.. probably I'm missing something in the htaccess rule.. any idea?


you must have page id in your url for example
mysite.com/topic_title/page_id/page_title
and edit htaccess



52
voltan
Re: jquery being loaded multiple times
  • 2011/4/19 15:29

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


you want add jquery.js whit thsi link : browse.php?Frameworks/jquery/jquery.js and this method :

<{php}>
/** add JQuery and JQuery UI */
global $xoTheme;
$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
$this->assign('xoops_module_header', $xoTheme->renderMetas(null, true));
<{/php}>

in your theme and remove all other jquery.js files . for mymenu I think it good if you remove all this codes :

<script type="text/javascript" src="http://localhost/xoops250/class/textsanitizer/image/image.js"></script>
<script src="http://localhost/xoops250/modules/mymenus/skins/superfish/../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="http://localhost/xoops250/modules/mymenus/skins/superfish/../../js/hoverIntent.js" type="text/javascript"></script>
<script src="http://localhost/xoops250/modules/mymenus/skins/superfish/../../js/superfish.js" type="text/javascript"></script>
<script src="http://localhost/xoops250/browse.php?Frameworks/jquery/jquery.js" type="text/javascript"></script>
<script src="http://localhost/xoops250/browse.php?Frameworks/jquery/plugins/jquery.lightbox.js" type="text/javascript"></script>
<script src="http://localhost/xoops250/browse.php?Frameworks/jquery/plugins/jquery.ui.js" type="text/javascript"></script>

and add all js files in theme header whit this method :

$xoTheme->addScript("browse.php?Frameworks/jquery/pluginsjquery.ui.js");

$xoTheme->addScript("browse.php?modules/mymenus/skins/superfish/js/hoverIntent.js");

and more and remove

<script src="http://localhost/xoops250/modules/mymenus/skins/superfish/../../js/jquery-1.3.2.min.js" type="text/javascript"></script>



53
voltan
Re: jquery being loaded multiple times
  • 2011/4/19 13:15

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


At modules/mymenus/skins/YOUR_SELECT_SKIN/skin_version.php you can find js files and edit this



54
voltan
Re: Suico and ie6
  • 2011/4/19 13:09

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


Quote:
Any idea ?


Stop using IE6 and IE7 . IE6 publiced 11 years ago. and do not support all new web technologys . you can add Comment for your IE6 and IE7 users for stop using old versions whit code like this:

<!--[if lt IE 8]>
<
div class="floatcenter0 width90 pad10 solidred times justify big red line140 bold" style="background-color: #FCF7EF;">YOUR TEXT </div>
<![endif]-->


and put this code in themes/suico/xotpl/xo_page.html Between line 2 and 3



55
voltan
Re: 2011 Sitemap Module
  • 2011/4/18 8:26

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


sitemap.xml must Be made in website root . Does this module will do it ?



56
voltan
Re: 2011 Sitemap Module
  • 2011/4/18 6:44

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


we need sitemap.xml in xoops root . for example www.xoops.org/sitemap.xml

it's very important for SEO . for xoops.ir I made one manuly :http://www.xoops.ir/sitemap.xml

sitemap.xml must update after each change in web site . I think we can have it in X3




57
voltan
Re: Happy Birthday Michael Beck (Mamba)
  • 2011/4/8 16:11

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


Happy Birthday Michael!



58
voltan
Re: help for Test extgallery 1.0.9!!!!
  • 2011/4/8 11:17

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


I check it . please use last SVN files and clear your XOOPS cache. I don;t have problem :

<div class="catThumb">
                            <{if 
$child.cat_isalbum}>
                                <
a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
                            <{else}>
                                <
a title="<{$child.cat_name}>" href="pu<{$extgalleryName}>blic-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
                            <{/if}>
                        </
div>


<{if}> open and close whit out problem in index file



59
voltan
Re: help for Test extgallery 1.0.9!!!!
  • 2011/4/8 7:24

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


Quote:
I have a question

What does the XOOPS_VERSION name in the template extgallery_admin_index, line 53?


I change it whit <{$xoops_version}> . Now it show version from XOOPS_ROOT_PACH/include/version.php


Quote:
i've maye found a bug with adding new categories without parents.
When i try to add a new category without parents, i have the message "new cat added", but it's not donne.
When i try to add a new category with a parent, it works fine.


I check it it work for me whit out problem . please check whit last SVN version. if you have problem please write php and xoops version

git last version from here :http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/extgallery/trunk/?view=tar


Quote:

4) as I know, css and js-files should be added with $xoTheme->addScript/$xoTheme->addStylesheet in php-files. With this method they will be included only one time, even if it was used two or more times. If the adding is in the html-template, it will be added as often a template is used and this may make problems.


templates must be like this . but if I add js files in php file and users add jquery in theme header all java effects do not work . I must add option for select this.


Quote:
Can we make sure this works with version 2.4.5? Not sure what 2.5 has that would prevent this program from working with 2.4.5 but 2.4.5 is the last version few seem to have issues with. 2.5 version of xoops seems to have issues that need to be resolved. I myself have gone back to 2.4.5 because 2.5 seems to be too buggy to reliably work with the modules I have online.


I think at this moment it work whit xoops2.4.5 whit out problem .



60
voltan
Re: Problem whit TAG module
  • 2011/4/1 17:22

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello

you must edit tag plugin in smartsection/include/plugin.tag.php

<?php
/**
* $Id: plugin.tag.php 331 2007-12-23 16:01:11Z malanciault $
* Module: SmartSection
* Author: The SmartFactory <www.smartfactory.ca>
* Licence: GNU
*/

if (!defined("XOOPS_ROOT_PATH")) {
    die(
"XOOPS root path not defined");
}

/** Get item fields: title, content, time, link, uid, uname, tags **/
function smartsection_tag_iteminfo(&$items)
{

    
$items_id = array();
    foreach(
array_keys($items) as $cat_id){
        
// Some handling here to build the link upon catid
            // if catid is not used, just skip it
        
foreach(array_keys($items[$cat_id]) as $item_id){
            
// In article, the item_id is "art_id"
            
$items_id[] = intval($item_id);
        }
    }
    
$item_handler =& xoops_getmodulehandler("item""smartsection");
    
$criteria = new Criteria("itemid""(".implode(", "$items_id).")""IN");
    
$items_obj $item_handler->getObjects($criteria'itemid');

    foreach(
array_keys($items) as $cat_id){
        foreach(
array_keys($items[$cat_id]) as $item_id){
            
$item_obj =& $items_obj[$item_id];
            
$items[$cat_id][$item_id] = array(
                
"title"        => $item_obj->getVar("title"),
                
"uid"        => $item_obj->getVar("uid"),
                
"link"        => "item.php?itemid={$item_id}",
                
"time"        => $item_obj->getVar("datesub"),
                
"tags"        => tag_parse_tag($item_obj->getVar("item_tag""n")), // optional
                
"content"    => "",
                );
        }
    }
    unset(
$items_obj);
}
/** Remove orphan tag-item links **/
function smartsection_tag_synchronization($mid)
{
    
// Optional
}

?>


in line 37 change :

"time"        => $item_obj->getVar("datesub"),

to
"time"        => "",




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 29 »



Login

Who's Online

177 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

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

Latest GitHub Commits