11
DogTags
Re: Header hack, why a hack?
  • 2005/5/7 15:08

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


I would love this hack, too. Would give some nice flexibility



12
DogTags
Re: Form Validation
  • 2005/5/7 13:50

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Can this be done on a form-by-form basis? I mean, can you call certain validation for form X and other validation for form Y ?

Thanks



13
DogTags
Adding Custom Head Content - Validation Code - Possible?
  • 2005/5/7 11:28

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Hi All

For some of my pages, I need to add some custom javascript validation code.

Is there a way to build like a block in the head that will be pulled in when those certain pages are called?

< head >

[ custom javascript goes here when called..... ]

< /head >

I could even do it using remote calls for the js. That would be fine:
< head >
< script type='text/javascript' src='http://www.mysite.com/xoops/include/custom_validation.js' ></script>

I was thinking of using like Edito or AMS to add the custom pages that I need to validate.

Think this is all possible?

Many thanks



14
DogTags
Going Insane! - Pay to Convert HTML template to Xoops
  • 2005/5/4 14:24

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Hi All

I have a look for the site, and I've been fooling with the XOOPS template stuff and css, but I'm ready to jump out the window.

The template is not complex. Basically, it takes pretty much the default template and jazzes up the menu and color scheme. I'd want the ability to flex with 2 col and 3 col pages on the site as needed. That's why I'm using the basic default set up as the basis.

Could anyone do the conversion for me?

What would you charge?

PM me with details

Many thanks



15
DogTags
Messed Up - how get back default template set?
  • 2005/5/3 19:12

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Hi All

I uploaded a template that I've been fooling with, but I forgot to include the main content tags (I know....totally stupid), and now I can't login.

What table/field in the db holds the "update theme.html" value? I gotta switch it so that I can plug in the default theme.html and login again. (At least I think this will work)

Many thanks



16
DogTags
Re: Breadcrumb
  • 2005/5/1 22:27

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Thanks



17
DogTags
Re: Adding menu highlighting and a hook for bread-crumbs
  • 2005/5/1 13:15

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Quote:

gppetersen wrote:
The best solution would be create a new block for the breadcrumb.
But, if you don't need the side menu, you could use a different system_block_mainmenu.html and the menu block will make a bread crumb.
WTF is up with the preview here ???
(warning I'm thinking off the top of my head and haven't tried this code:)
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menubreadcrumb" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<{if ( $module.current == 1 )}>
<a class="menubreadcrumb" href="<{$xoops_url}><{$module.directory}>/">
<{$module.name}>
</a>
<{/if}>
<{foreach item=sublink from=$module.sublinks}>
<{if ( $sublink.current == 1 )}>
<a class="menubreadcrumb" href="<{$sublink.url}>">
<{$sublink.name}>
</a>
<{/if}>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
</td>
</tr>
</table>

What I would like to do is create a block for a generic breadcrumb that I can place on all pages:

Home > Blah1 > Blah2 > Blah3....

All of above would be linked, as well, so that it can be a true navigational breadcrumb.

Grant suggests adding a new block, but I'm not sure whether you just plug this into the theme.html file or whether you should create something under /modules/system/blocks or /modules/system/templates or some other location, or something else altogether.

I'm kinda assuming that it's not so simple as just creating a block through admin and enabling it. (Though I would love it if it were). It seems that this kind of thing has to be manually added to maybe the theme.html template or a combination of things.

Where would Grant's block code be added?

Many thanks



18
DogTags
Re: Adding menu highlighting and a hook for bread-crumbs
  • 2005/5/1 12:24

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


Quote:

LazyBadger wrote:
Did you update module System after editing system_blocks.php ?!


Ah, I see. In admin:

Admin > Click System Admin Icon > Click Update Icon (which is the box looking thing with a little green dot and the blue circle/halo around it

Menu working okay now :)

Now I gotta figure out how to add the breadcrumb block.



19
DogTags
Re: Adding menu highlighting and a hook for bread-crumbs
  • 2005/5/1 12:08

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


I plugged in:

system_blocks_menu.html
system_blocks.php
and the new css

However, here's what's happening:

1. It added another HOME link to the main menu. I'm getting:

HOME
HOME
NEWS
FAQ
etc....

The first HOME link is normal:

http://www.domain.com/xoops/

The second HOME link looks like this:

http://www.domain.com/xoops/modules//

2. The lower main menu links look like this:

http://www.domain.com/xoops/modules//modules/edito/

Any suggestions?

Maybe this won't work in 2.0.10. Not sure

Many thanks



20
DogTags
Re: Adding menu highlighting and a hook for bread-crumbs
  • 2005/5/1 11:45

  • DogTags

  • Just popping in

  • Posts: 50

  • Since: 2004/12/4


I found it:

/modules/system/templates/blocks




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

244 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 244


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