11
BobbyC
Help with a default theme hack
  • 2004/1/8 15:31

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


I'm hoping some generous soul will take pity on a designer who's motivated to learn how to program.

What I want to do is move the login and search to a table between the header and the main theme table in theme.html.

I can move the actual login code to theme.html and get it to display and function. BUT I don't know how to make its display conditional.

E.g.,

If not logged in,
1 Display a table between the header and
main tables containing
a Login fields
b Lost Password link
c Register Now link
d Search field
e Advanced Search link

If logged in,
1 Switch from anonymous to registered
user group
2 Remove Login table display
3 Display table containing:
a Log out link
b Current day and time
c Search fields
d Advanced Search link

Thanks in advance.

Bob



12
BobbyC
Re: Default Theme Mods
  • 2004/1/7 18:46

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


First: Sorry about the double post. I wasn't sure which category.

As to you questions:
Yes
Yes
Yes

Add to that hours of slogging through trial and error. I was able to figure out SOME of what I'm trying to accomplish.

I figured out how to lay out the login block as I want--more or less. Part of my problem was that I use Adobe GoLive for generating my HTML. It was mangling the code in the templates. When I switched to Programmer's Editor, things got saner. I also got rid of the the fieldset boxes with the proper css settings.

But, there are still lines around the left, right, and bottom of all the blocks. I've spent hours experimenting with the the various styles to no avail. The only thing I can think is that they're set individually with each modules' css, which is insane.

Last, I need to place the login block, the logout command and the search block in a separate table between the header and the main body.

Please bear with me. I'm a designer, not a programmer. It's taken me hours using XOOPS to accomplish what usually takes minutes with GoLive. In fact, were I not working on a personal project, I would've abandoned Xoops.

No doubt, a programmer who knows XOOPS inside and out could've done it equally as quickly, but I'm not and am struggling with the pressure of having produce something workable within a reasonable amount of time.

I'm willing to learn but help from the cognoscenti will keep the wind in my sails during those all too frequent calms as I navigate my way along the learning path.

So . . . how do I accomplish what I need to do?

Bob



13
BobbyC
Default theme mods
  • 2004/1/6 15:23

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


I'm working on creating my first custom theme based on the default and have run up against a number of things I can't figure out. First, How can I want to get rid of the border lines around all the blocks? I tried fiddling with the style.css with no success. Also, how do I place the login and search blocks in a separate table between the banner and the main part of the site?

Thanks.



14
BobbyC
Default Theme Mods
  • 2004/1/6 15:22

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


I'm working on creating my first custom theme based on the default and have run up against a number of things I can't figure out. First, How can I want to get rid of the border lines around all the blocks? I tried fiddling with the style.css with no success. Also, how do I place the login and search blocks in a separate table between the banner and the main part of the site?

Thanks.

Bob



15
BobbyC
Re: Business Directory Created
  • 2003/12/22 21:38

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


I can't wait!



16
BobbyC
Re: Business Directory Created
  • 2003/12/22 20:03

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


Clever. Thanks. Any chance you'd be willing to share the version of xdirectory you're using on folsomeliving.com?



17
BobbyC
Re: Business Directory Created
  • 2003/12/22 18:43

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


Okay. That makes sense. Except that right now there is no corersponding data. Would it be sufficient to perform a query that grabs the record ids, creates a table, and then load those results into xdir_text? Or is there an easier way? Sorry for the dumb questions. I am a designer struggling my way through learning SQL and programming. The right side of my brain hurts

Bob



18
BobbyC
Re: Business Directory Created
  • 2003/12/22 18:00

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


Great module. I'm trying to upload about 500 records into the directory via the MySQL command line interface.

First I created a tab delimited text file that mirrors the xdir_links table structure.

Then, using LOAD DATA INFILE, I inserted the records into the xdir_links table. lid was left blank. I inserted the value 1 into the submitter and status fields. And to make the category issue easy, I created one called NEW and assigned that value to all the categories.

54 pages show up in the catetory New but no listings. What am I missing?

Also, any chance of getting my hands on the version you're using on your site? It looks like you've worked out the income producing goodies.

Thanks.



19
BobbyC
Re: Updates to theme.html not reflected on line????
  • 2003/12/8 15:14

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


CBlue,

As usual it was something ridiculously simple. I was putting the footer graphic in the wrong directory. Thanks for your help and sorry for being so stupid.

BobbyC



20
BobbyC
Re: Updates to theme.html not reflected on line????
  • 2003/12/7 16:11

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


Yup. I did but not in concert with flushing the cache files. I'll give it another try. Thanks for the suggestions!




TopTop
« 1 (2) 3 »



Login

Who's Online

132 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 132


more...

Donat-O-Meter

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

Latest GitHub Commits