121
mariane
Re: Yahoo Style News display - News Module
  • 2010/6/2 15:42

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


I think Yahoo is using this slider
http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/
you can integrate it to your theme and edit news and pictures manualy or you can create/edit an existing block from your news modules (I tried to do it with publisher) and copy the same effect to the block.
below the code I added to publisher , I created a new block and added a jquery effect, so maybe it can be useful for you to do yours,

<head>
<
link rel="stylesheet" type="text/css" href="<{$xoops_url}>/modules/publisher/css/featuredcontentglider.css" />
<
script type="text/javascript" src="<{$xoops_url}>/modules/publisher/js/jquery-1.2.1.pack.js"></script>
<
script type="text/javascript" src="<{$xoops_url}>/modules/publisher/js/featuredcontentglider.js"></script>
<
script type="text/javascript">
featuredcontentglider.init({
gliderid"canadaprovinces"//ID of main glider container
contentclass"glidecontent"//Shared CSS class name of each glider content
togglerid"p-select"//ID of toggler container
selected0//Default selected content index (0=1st)
persiststatefalse//Remember last content shown within browser session (true/false)?
speed500//Glide animation duration (in milliseconds)
autorotatetrue//Auto rotate contents (true/false)?
autorotateconfig: [30002//if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</
script>
</
head>

<
div id="canadaprovinces" class="glidecontentwrapper">
<{foreach 
item=item from=$block.items}>
<
div class="glidecontent">
<{if 
$item.image_path}>
<
img src="<{$item.image_path}>" alt="<{$item.clean_title}>" title="<{$item.clean_title}>" width="250"/><br />
<{/if}>
<{
$item.titlelink}><br />
<{
$item.summary}><br />
</
div>
<{/foreach}>
</
div>

<
div id="p-select" class="glidecontenttoggler" style="font-family: verdana; width:326px; height:19px; font-size:2mm; font-weight:bold; text-align:right">
<
a href="#" class="toc">1</a>
<
a href="#" class="toc">2</a>
<
a href="#" class="toc">3</a>
<
a href="#" class="toc">4</a>
<
a href="#" class="toc">5</a>
<
a href="#" class="toc">6</a>
<
a href="#" class="toc">7</a>
<
a href="#" class="toc">8</a>
<
a href="#" class="toc">9</a>
<
a href="#" class="next">Next</a>
</
div>
</
div>

the road of success is always under construction



122
mariane
Re: compatible news module(s) for 2.0.16
  • 2010/6/2 15:17

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


it's better to upgrade your XOOPS version in order to profit more from newest modules and options. we are testing now XOOPS 2.4.5 rc2.
the road of success is always under construction



123
mariane
Re: mxdirectory logo upload
  • 2010/5/31 6:48

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


in MXdirectory there is 3 kinds of listing , the standard one you can't associate with him any logo even you upload it.
the road of success is always under construction



124
mariane
Re: Oledrion Default Country at Checkout
  • 2010/5/30 21:42

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


in config.php look for define
("OLEDRION_DEFAULT_COUNTRY"'FR');

and instead FR write the country referal code or shortcut : for example : LB to denote Lebanon...etc
the road of success is always under construction



125
mariane
Re: Hack to XCGAL (xcGallery)
  • 2010/5/27 14:56

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello , see this link
https://xoops.org/modules/news/article.php?storyid=4408
regarding templates , we have to make some changes , I will try to do something, I like this module , for me it's the best one, but as I told you it becomes a little old fashion
the road of success is always under construction



126
mariane
Re: Hack to XCGAL (xcGallery)
  • 2010/5/27 7:52

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


there is a version 2.04 with extended search.
did you tried it?
regarding templates, I agree with you this module become old fashion, so it's necessary to make several changes for the templates.
the road of success is always under construction



127
mariane
Re: IXThemes scripts conflicting with Publisher module
  • 2010/5/24 16:43

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


Quote:
but why call several times jquery, just put this in the head part of its theme.html

Kris, I just giving him an example where to put the code and not suggesting him to put jquery.js
the road of success is always under construction



128
mariane
Re: IXThemes scripts conflicting with Publisher module
  • 2010/5/24 11:20

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


you can do the following also:
in the js area in theme.html put this condition :
<{if $xoops_dirname != "publisher"}>
(here is the jquery link : like : <script type="text/javascript" src="<{$xoops_imageurl}>js/jquery.js"> </script>)
<{/if}>
the road of success is always under construction



129
mariane
Re: News Module
  • 2010/5/15 11:33

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


did you try the block : latest news developped by Arabxoops ?
the road of success is always under construction



130
mariane
Re: remove 'bytes more' in news module ?
  • 2010/5/15 11:27

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


go to module/news/class
and edit the file : class.newsstory.php
look for this line
$morelink .= ' | '.sprintf(_NW_BYTESMORE,$totalcount);
then delete it and re-upload the file again to the same path
the road of success is always under construction




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 23 »



Login

Who's Online

217 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 217


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