21
ajaxbr
Re: Is it possible to copy or clone a module block??
  • 2004/12/16 6:18

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Cloning is possible. Can you identify the blocks you want to duplicate in their module's xoops_version.php?



22
ajaxbr
Make backend.php pretty with CSS and/or XSL
  • 2004/12/16 2:01

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi, just wanted to provide this input that theme makers or anyone concerned with the ugly default RSS look) can use later.

First, it's rather easy to style a XML file with CSS, and you can do that to your backend.php by adding a line to a template and creating the .css file.

You'll have to add
<?xml-stylesheet type="text/css" href="<{$xoops_url}>/backend.css"?>
as the second line of your /modules/system/templates/system_rss.html template and update the System module. Then create a backend.css file in your XOOPS root and put the rules you need there.

Example here.

The CSS for the example is
rss {}
channel {displayblockfont-familyVerdanaArialHelveticasans-serifborder-stylesolidborder-widththinborder-color:#0000ff}
channel title {displayblocktext-aligncentercolor#0000ff; font-size:30pt;font-weight: bold;}
channel link {displayblockfont-size8pttext-aligncenter;}
channel description {displayblock;text-aligncenter;font-weightbold;}
lastBuildDate {display:blockcolor#0000ff;text-align: center;}
docs {displaynone;}
generator {displaynone;}
category {displayblockfont-size16ptfont-weightbold;text-aligncenter;}
managingEditor {displaynone;}
webMaster {displaynone;}
language {displaynone;}
image {displaynone;}
item {displayblockmargin20pxpadding4px;border-widththinborder-styledotted;}
item title {displayblockcolor#ff0000; font-weight: bold; font-size: 16pt; text-decoration: underline; }
item link {font-size10pt;}
item description {displayblockmargin10pxpadding4px;font-size12ptfont-weightnormaltext-alignjustify;}
pubDate {color#0000ff; font-size: 10pt;}
guid {font-size10pt;color#0000ff; margin: 20px; padding: 4px; text-align: center;}


I'm trying XSL now



23
ajaxbr
Re: news RSS feed request
  • 2004/12/15 21:44

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


To help making your backendp.php RSS feed validate, you need to get a RFC822 compliant timezone. IMHO, the easiest way to do that is editing /include/functions.php: find the line that has $datestring = "D, j M Y H:i:s T"; in it and replace that T with an O (oh, not zero )



24
ajaxbr
Re:crazy cache on backend.php
  • 2004/12/15 21:01

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Another thing to try when your backend.php results in blank/without news output: make sure that your /modules/system/templates/system_rss.html is valid and update the System module. I had an empty system_rss.html



25
ajaxbr
Re: Different Blocks for different RSS feeds
  • 2004/12/15 19:26

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi,
I'd suggest cloning, as mentioned here. Probably you can make it work with custom blocks, but I have no clue about how to try it (however, search brought this up). You'll have to figure out a way to select which feed(s) goes into each block, you can set a new template variable or even use feed ID for that.

Anyway, take a look at xhld before you start coding



26
ajaxbr
Re: Bragging about my multisite modifications :-)
  • 2004/12/15 19:07

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


XOOPS got a place in CPanel for being a great free CMS. This hack and/or a good core implementation of multisite-ness would make us land here, which would be awe-freaking-some .

Anyway, expect some more XOOPS users from CPanel alone... and thanks for taking us closer to world domination



27
ajaxbr
Re: Xoops Meta Robot
  • 2004/12/6 4:10

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


It gives instructions to robots, like Google's, that visit/index your site. Now, if you want to know what those instructions are exactly... I suggest setting them to different things and reading the corresponding XOOPS_URL/robots.txt



28
ajaxbr
Re: Note from my hosting service
  • 2004/12/5 17:50

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


The hosting guys should give you more info, like what pages/threads/whatever are causing that. Are your 2000 users registered users that visit daily, 2000 visitors a day, 2000 registered users, other (please specify), Cowboy Neal?

Slightly OT: can we run a profiler in a large site like... xoops.org?



29
ajaxbr
Re: Wisdom Needed - Converting Large Site to XOOPS
  • 2004/12/3 3:15

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi.
In your place, I'd have no doubt at all. No, this isn't a case for a sane template system and overall optimization: finding a way to get dinamic/section based phpAdsNew selection codes would do.

If you want to be a tad more helpful, I'd suggest getting those .html files parsed by PHP and trying to implement simple custom header/footer/nav stuff from that instead of trying to put this hairy monster into a DB



30
ajaxbr
Re: Border around content.....
  • 2004/12/1 14:36

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


After some research: yes, you can use CSS and divs to achieve that

http://www.alistapart.com/articles/customcorners/
http://www.alistapart.com/articles/customcorners2/
http://www.vertexwerks.com/tests/sidebox/
http://interface-7.net/20040218/
http://www.cubedonline.com/newdesign/index.html
http://www.markschenk.com/cssexp/roundedbox/arrows.html
http://www.redmelon.net/tstme/4corners/

Much more elegant than tables, much more likely to trigger rendering bugs too




TopTop
« 1 2 (3) 4 5 6 ... 26 »



Login

Who's Online

169 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 169


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