71
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 19:56

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Did you edit one of the files?



72
ajuden
Re: Job Listings 1.04 not working with 2.0.7.3 Can you help...
  • 2004/10/6 19:28

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


What line of which file is this happening on? Maybe I can help again.



73
ajuden
Re: Getting links from mulitmenu to display in center column
  • 2004/10/6 17:34

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Were you wanting the webpage to be wrapped by your page, or just open the link in the current browser? If you are wanting to open the link in the same browser, then you need to modify the link, and change the target property to be self. If you are trying to do something, like the Web Links module, where it opens the link but has a header for your website at the top, then you might check out the code to open the links from the Web Links module.



74
ajuden
Re: Main menu addition how?
  • 2004/10/6 13:40

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


You may also check out this forum, that also talks about adding additional main menu items.

Custom Menus

You can download a module called multiMenu, which will allow you to add custom main menus.



75
ajuden
Re:myAds module problems? Can you help...
  • 2004/10/5 19:53

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


It looks like all of the addition of ads is done through the front end. I just looked at it, and what you need to do is:

1. create a category from the admin side.
2. Go to the front end, and click on the link to myAds
3. Click on the category that you just added.
4. In the center of the page at the top, you should see a link that says Add An Advertisement in this category.
5. Click on that link, and you should be able to add some ads.

Good Luck!



76
ajuden
Re:myAds module problems? Can you help...
  • 2004/10/5 19:16

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


I'm not sure if you're familiar with SQL or not, but that is part of the SQL query that is retrieving the category records. The part that I'm having you remove is the section of the sql query that actually sorts the categories. But for some reason, the sort column isn't being filled propertly. I guess if you wanted to still have them sorted, that you could replace it with this:

Original
$result=$xoopsDB->query("select cid, title, img FROM ".$xoopsDB->prefix("ann_categories")." WHERE pid = 0 ORDER BY $classm") or die("Error");

New
$result=$xoopsDB->query("select cid, title, img FROM ".$xoopsDB->prefix("ann_categories")." WHERE pid = 0 ORDER BY title") or die("Error");

All I did was replaced the $classm variable with the actual column that we want to sort by (title).



77
ajuden
Re:myAds module problems? Can you help...
  • 2004/10/5 19:12

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Of this code, the bold part should be removed:
$result=$xoopsDB->query("select cid, title, img FROM ".$xoopsDB->prefix("ann_categories")." WHERE pid = 0 ORDER BY $classm ") or die("Error");



78
ajuden
Re:myAds module problems? Can you help...
  • 2004/10/5 18:27

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


It looks like there is an error in index.php on line 58. If you remove this piece of code from the query ORDER BY $classm, then it should run just fine. I'm not sure why it's having a problem. I guess that the $classm variable is not properly set to a value, so it's trying to sort on a column and the column isn't anything.



79
ajuden
Re: myAds module problems? Can you help...
  • 2004/10/5 18:08

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Where did you download that version at? I am going to try installing it and see if I run into the same problems. Please post the link in here to download that version of myAds.

*Edit
Nevermind, I found the file....give me little while.



80
ajuden
Re: Custom menus
  • 2004/10/5 16:13

  • ajuden

  • Just popping in

  • Posts: 87

  • Since: 2003/4/17


Okay, I installed this module on my site. It looks like it works pretty well.

After you have installed the module, from the admin menu of that module, you will need to:
1. choose multiMenu 1.
2. add a new link (you can actually set your group permissions on the link)
3. After you have added all of the links you want to display in that group, then go to System -> Blocks.
4. Find the block for multiMenu 1.
5. Edit this block.
6. Change the title from multiMenu 1 to whatever it is you want as the main menu title.
7. You will also need to select the visible option to 'yes' before saving your block.
8. Save the block and see what happens on the home page.

Good luck




TopTop
« 1 ... 5 6 7 (8) 9 »



Login

Who's Online

204 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 204


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