11
snow77
Re: Which files control which colors?
  • 2007/11/17 5:05

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


styleNN.css is for netscape navigator browser, style.css the common stylesheet for the rest of the browsers.

Only in rare cases could you need a browser specific stylesheet.

Rarely there have been cases I have to do browser specific stylesheets. And if your styleNN.css is a copy of your style.css you might as well delete styleNN.css, even the IE bugs can be dealt in style.css.

In the case of some themes I make there are 3 stylesheets but they are not browser specific, they are divided according to content. 1) Basic layout 2) Block layout 3) Module content layout. It depends on the designer.



12
snow77
Theme dropdown menu selector for visitors
  • 2007/11/17 2:42

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Does someone know which module makes a theme selector box with a dropdown menu like the one shown here: http://www.xoops-menu.fr/index.php in the block "Choix du menu" ?



13
snow77
Re: PictureUrl and mySql compatability
  • 2007/11/13 20:31

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Thank you Catzwolf for offering the fix and thank you Philou for giving the new version.

The new version is working well in MySQL 5 now.



14
snow77
PictureUrl and mySql compatability
  • 2007/11/13 5:03

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


The module PictureUrl seems to present a problem with mySql 5:

On one pc I have:
# PHP Version : 5.2.3
# MySQL Version : 5.0.45

and the following error appears after clicking submit on Create a picture:

Erreur requete :INSERT INTO x2_pictureurl (id, image, defaultimg, url_image, onmouseover, url_page, align, height, width, marginl, marginr, margint, marginb, repeat) VALUES ('','spotlight-computers.jpg', '1', '', '', 'http://localhost/xoops/', '', '', '', '', '', '', '', '')

Error number: 1064
Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat) VALUES ('','spotlight-computers.jpg', '1', '', '', 'http://localhost/xoo' at line 1

and the module does not work.

However on another pc I have:
# PHP Version : 5.2.3
# MySQL Version : 4.1.22

and the module does work there.



15
snow77
Re: @script_fu, Will_H and Snow77
  • 2007/11/12 0:12

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


My apologies for writing his name, I won't do this again and I agree with the terms given by the xoops.org moderation.



16
snow77
Re: Need pictureurl, dev.xoops.org still down
  • 2007/11/11 18:30

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Thank you Stefan! that was really kind of you. I've downloaded them so you can remove them if you need to from the server.

Thanks David too, I hope it can be available from xoopsaddons also.



17
snow77
Need pictureurl, dev.xoops.org still down
  • 2007/11/11 4:49

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Does someone have a link to the module PictureUrl ?

https://xoops.org/modules/news/article.php?storyid=2420

I lost all the module database I had and can't find it anywhere

Maybe one of the other country XOOPS sites has it? google didn't show me anything



18
snow77
Re: default xhtml theme
  • 2007/11/11 0:30

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Excellent work Kris! thank you.

P.S. I've added a reference to your project at this page



19
snow77
Re: default xhtml theme
  • 2007/11/10 23:44

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


You can tryout css100 found here http://www.xoopsdesign.com/free-themes

It's not a real full design theme, it's a wire frame that can be a template to design themes.



20
snow77
Re: copying "inbox" w/ new indicator
  • 2007/11/7 20:16

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


This is an example of how I use it, including the Inbox indicator when there is unread messages.

<div id="user-bar">
<{if !
$xoops_isuser}>
              <
div id="user-bar-login">
            <
form method="post"  style="margin: 0px; "action="<{xoAppUrl /user.php op=login xoops_redirect=$smarty.server.REQUEST_URI}>" >
                
                <
input name="uname" type="text"  size="16" value="username" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /> <input name="pass" type="password" size="16" value="password" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
                <
input  class="loginBut" type="submit"   value="ENTER"  alt="login"   />  
            form>
                div>
        <{else}>
              <
div id="user-bar-menu">
            <{
xoInboxCount assign=pmcount}>
<
a href="<{xoAppUrl www/viewpmsg.php}>">
            <{if 
$pmcount}>
                
Inbox (<{$pmcount}>) | 
            <{else}>
                
Inbox
            
<{/if}>    a> |                 
            <
a href="<{xoAppUrl /user.php}>">My profilea> | 
            <
a href="<{xoAppUrl /notifications.php}>">Bookmarksa> | 
            <{if 
$xoops_isadmin}>
            <
a href="<{xoAppUrl /admin.php}>">Admina> | 
            <{/if}>
            <
a href="<{xoAppUrl /user.php op=logout}>">Logouta>
            div>
        <{/if}>
                    
    div>


where it says Inbox, you can close that in a span tag and add a class with the style you want to highlight it.

an example with icons instead is like this:
<div class="userBar">
                <{if !
$xoops_isuser}>
            <
form method="post"  style="margin: 0px; display:inline;"action="<{xoAppUrl /user.php op=login xoops_redirect=$smarty.server.REQUEST_URI}>" >
                
                <
input name="uname" type="text"  size="16" value="<{$smarty.const._USERNAME}>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /> <input name="pass" type="text" size="16" value="<{$smarty.const._PASSWORD}>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
                <
input  class="loginBut" type="submit"   value="login"  alt="login"   />  
            form>
            <
a href="<{xoAppUrl /register.php}>" class="register">registera>   <a href="<{xoAppUrl /user.php#lost}>" class="register">| remember passworda>
            
        <{else}>
            <{
xoInboxCount assign=pmcount}>
            <
a href="<{xoAppUrl www/viewpmsg.php}>">
            <{if 
$pmcount}>
                <
img src="<{xoImgUrl img/inbox-full.png}>" alt="Inbox (<{$pmcount}>)" title="You have <{$pmcount}> unread messages" />
            <{else}>
                <
img src="<{xoImgUrl img/inbox.png}>" alt="Inbox" title="Show your inbox content" />
            <{/if}>            a>                
            <
a href="<{xoAppUrl /user.php}>"><img src="<{xoImgUrl img/profile.png}>" alt="My profile" title="View your profile" />a>
            <
a href="<{xoAppUrl /notifications.php}>"><img src="<{xoImgUrl img/bookmarks.png}>" alt="Notifications" title="View bookmarks" />a>
            <{if 
$xoops_isadmin}>
            <
a href="<{xoAppUrl /admin.php}>"><img src="<{xoImgUrl img/configuration.png}>" alt="Admin" title="Display site administration" />a>
            <{/if}>
            <
a href="<{xoAppUrl /user.php op=logout}>"><img src="<{xoImgUrl img/logout.png}>" alt="Logout" title="Click to logout" />a>
        <{/if}>div>




TopTop
« 1 (2) 3 4 5 ... 65 »



Login

Who's Online

176 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits