search and other things

Memovie Joomla Template support forum for Joomla 1.5 only.
GK User
Fri Mar 05, 2010 10:50 am
ok search its not working
and i left only 3 days for sucscription
can be this fixed

when i search its redirect me to home page

and how to add thumbnail view and test on slideshow

thanks
User avatar
Senior Boarder

GK User
Fri Mar 05, 2010 10:55 am
Please add in html/mod_search/default.php file before closing form tag line:
Code: Select all
<input type="hidden" name="Itemid" value="0" />
User avatar
Administrator

GK User
Fri Mar 05, 2010 11:15 am
ok thanks

and one thing more
on position tools
is it posible to add some module

now i cant i can only add module on login fiels

for example i want instead

Login Register

to have search form

thanks
User avatar
Senior Boarder

GK User
Fri Mar 05, 2010 3:35 pm
you can try to add in header.php file in breadcrumbs block code like:
Code: Select all
      <?php if($this->countModules('search')) : ?>
      <div id="gk-search">
         <jdoc:include type="modules" name="search" style="raw" />
      </div>
      <?php endif; ?>


but it will need also some changes in template.css file (width, floating etc.)
User avatar
Administrator

GK User
Sun Mar 07, 2010 5:36 pm
i fixed in other way
i put it on tools position and use the tools css layout
btw can you tell me how to add in iphone and mobile css
i try in php to change search to the module position i use now
its dont show me the search


and one thing more

on other template i manage to put difirent bg image to some category/section

how to do it here
with this new framework im litl new

and since its movie/games layout its better to integrate that, difirent bg to some categories/sections

thanks
User avatar
Senior Boarder

GK User
Mon Mar 08, 2010 9:49 pm
At present you can assign different layouts only through copying template and assing it to different categories/sections.

If you want to change something in iphone/mobile layouts then you have to start work with iphone.php/handheld.php layouts.
User avatar
Administrator

GK User
Tue Mar 09, 2010 7:53 pm
i will work ok that later
for now im changing/modify litl the style for my needs

btw how can i assing difirent layout to some category, isnt there any modifry for it to assing difirent bg image to only some section or category

thanks
User avatar
Senior Boarder

GK User
Tue Mar 09, 2010 8:56 pm
As I wrote - you can assign different copies of layout. If you prefer script solutions you can wrote in head.php file script which detects specified ItemIds and select background to show.
User avatar
Administrator

GK User
Tue Mar 09, 2010 9:35 pm
can you point me some code for it
thanks
User avatar
Senior Boarder

GK User
Tue Mar 09, 2010 9:44 pm
It is only an example:

Code: Select all

<?php
    // definitions of bg image connections
    $bg_images = array(
        // pairs - itemid -> bg image
        "22" => "img1.png",
        "25" => "img3.png",
        "default" => "bg.png"
    );

    $itemID_value = JRequest::getCmd('Itemid');
    $bg_image = '';
   
    if(isset($bg_images[$itemID_value])){
        $bg_image = $bg_images[$itemID_value]);
    }else{
        $bg_image = $bg_images["default"];
    }
?>

<!--Width of template -->
<style type="text/css">
body#bd{
   background:#ddd url('<?php echo $this->templateurl(); ?>/images/backgrounds/<?php echo $bg_image; ?>') no-repeat<?php echo ($this->_tpl->params->get('fixed_bg') == 1) ? ' fixed' : ''; ?> center 0!important;
}
.main {width: <?php echo $this->getParam('tmplWidth', 'auto', true); ?>;margin: 0 auto;}
</style>
User avatar
Administrator

GK User
Wed Mar 10, 2010 7:45 pm
its working
i modify it litl so can grab the image assing on template parameters

one thing where is the font size
for the title on the articles

and how can i remove the link to article title
i want title to link to article on category/section view byt not when i open the article

thanks
User avatar
Senior Boarder

GK User
Sun Mar 21, 2010 7:56 pm
here is how look when its linked
ive search all font size code in css didnt find
can someone tell me how to reduce it or remove bold
http://img199.imageshack.us/img199/2830 ... nkable.jpg

thanks
User avatar
Senior Boarder

GK User
Sun Mar 21, 2010 8:21 pm
Please provide us link to your website.

If you want, send it to paulo[at]gavick[dot]com
User avatar
Platinum Boarder

GK User
Mon Mar 22, 2010 1:53 pm
its still on localhost
im trying to make all working and then upload to real site

the site its www.debagiraj.com

as i can see and on demo site its that size
byt when we put linked title its getting bold
http://demo.gavick.com/joomla15/feb2010 ... &Itemid=34
User avatar
Senior Boarder

GK User
Mon Apr 19, 2010 4:36 pm
-REMOVED-
User avatar
Senior Boarder


cron