News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Linking to a Category.

Started by SaltedWeb, August 04, 2014, 02:00:05 AM

Previous topic - Next topic

SaltedWeb

I was trying to find where I can link directly to the category. Tried coping the link but didn't work.
Anyone know how to link to a category itself . Not the forum but the category.

Thanks
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

SaltedWeb

Hmmm my forum test  for c1 went to the portal page.
In fact each mod I try takes me there.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Colin

May I have a link to your forum?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

SaltedWeb

Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

SaltedWeb

Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Arantor


SaltedWeb

Hi,

I am looking for the link to the/A  category, the link you provided goes to the forum.

I want to link as an example just to General , not all topics. I guess SMF does not allow linking to the category just child's and the forum kinda weird.

There has to be a work around but not sure yet thanks.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Arantor

There is no facility in SMF to link to and display just a single category. There was a mod but I don't know how well it would work with any of the portals or even if works at all these days.

SaltedWeb

Do you remember what it was called ?? or kinda named I'll search it.
In XF you can link to them so my assumption was it was possible in SMF .

Thank You

Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Arantor

You say XF does it?

Really?

I just went to XenForo.com, looked at the board index, first category is Official Forums. And the URL... http://xenforo.com/community/#official-forums.1

Same overall style as SMF does. Funny that.

SaltedWeb

Yep,
I have a menu mod on my XF that links to to the category no problems.
The menu is actually pretty cool and easy kinda like the
6 Custom buttons / tabs with Sub Menus (4) SMF has and was why I figure there had to be a
way around it. I prefer SMF, if I had it to do over I never would have paid for the XF.  ;D
XF is nice, but the support there and the software is not my cup of tea.

I saw the one mod here at http://custom.simplemachines.org/mods/index.php?mod=486
Didn't work fails all over lol.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Arantor

Considering that XF does the same thing I already outlined - that you link to action=forum and use #c to indicate the category number...

I got that FROM your forum. If you go into a board such as http://unitedstatesfirearms.com/index.php?board=1.0 you see the link tree:
QuoteUSFA » General Category » General Discussion

I got that link from General Category.

Most of the reason it doesn't really work is because you only have two categories and SMF won't move it far enough down the page.

Compare to http://www.simplemachines.org/community/index.php#c3 which does.

SaltedWeb

I appreciate the help on this, I was thinking it would do something different.
Only show the one category, instead of all of them.

Hmmmm racking my brain a bit.  Seems that expired Mod did show just one Category.
Wish it had worked.

See I am putting header menu to go to specific Categories sio it would give the impression of several forums.
Say one menu went to hunting and Fishing, one to Survival Category's etc. But didn't show the others.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SaltedWeb


Thank you.
Yes,
I tried late last night but gave all fails at install.


Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.


Arantor


SaltedWeb

Thanks guys, appreciate it, these mods do not quite nail it thank you for looking .
Parsing on some of these will mean allot of edits. So will have to decide if modifying them is the best choice.

Wish it was easier to just link to the category, I have the menus working all they need to do is point at the category.
Ugggg!


Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Kindred

well, it was never what SMF was designed to do...
Not saying it's right or wrong... just how it is, currently.

as for the errors, IMO, this is a better description of what to do.
http://wiki.simplemachines.org/smf/Error_in_mod_installation


Regarding the mod that I linked to...   not sure why it would give a whole bunch of errors, since it was last made for 2.0.2 (unless it uses the preg_replace?)

the tabbed categories works really nicely. I have a version of that one installed on one of my sites.


Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: