HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Footer link

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#96468 (In Topic #19159)
Avatar

Fan in action

Hi guys

I want to add a link in the footer, how do I do that ?

Thanks in advance
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jean)  
Rating:
#96469
Avatar

Community saint

Picture=1000 words (perhaps!) time?



If that isn't clear enough, please ask again.

 :lol:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96470
Avatar

Fan in action

Thanks Fletch but I am not good at this, I was hoping for something easier.
Back to the top
 
Posted
Rating:
#96471
Avatar

Community saint

A couple of questions:
  • 1. which theme are you using - default or your own custom theme?
  • 2. what are the links you wish to insert into the footer, and do you wish to ADD them or SUBSTITUTE the ones that are already there?

I would hazard a guess that it doesn't matter which theme you are using (Q1.) as you probably haven't changed the 'default' links.

(Q2.) needs careful consideration. The default links are there because the developers feel they are necessary. They are also intrinsically linked to several 'accesskeys' that are essential for handicapped (blind or partially sighted) users, and ought not to be removed. If you simply want to add another link it is easy enough to insert it, and I can probably craft something for you if you send me the link.

You will, of course, need to edit the template, so if you aren't comfortable with that, best to say so up front, but I will reassure you that it is a simple task. Honest!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96487
Avatar

Fan in action

Hi Fletch

I just want to add a link,
anchor London Electricians
the website is London Builders Painters London Plumbers Electricians London Roofers Building Company

Thank you so much
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jean)  
Rating:
#96494
Avatar

Community saint

I commented elsewhere that I noted that you are running version 7.1.5. I am slightly surprised that you would choose to use an 'old' version for a brand new site. But if that is what you intend to continue to do, here is some help.




version 7.1.5

Find in FOOTER.tpl, line 68 …

Code


<{$?,{$VALUE_OPTION,html5},nav,div} class="global_minilinks">

… insert immediately after that line …

Code


<{$?,{$VALUE_OPTION,html5},nav,div} class="global_minilinks">
<span><a href="http://www.robuild.co.uk/">London Builders</a> <span class="linkcolor">&middot;</span></span>


This has not been tested as I do not have a 7.1.5 installation to test it on. If it doesn't work immediately, please don't hurl abuse in this direction!

However, if you decide to reinstall or upgrade to version 9.0.6, here is how to get your link installed. Please note that the edit needs to be carried out on a differently-named template.




version 9.0.6

Find in GLOBAL_HTML_WRAP.tpl, line 231 …

Code


<ul class="horizontal_links">

… insert immediately after that line …

Code


<ul class="horizontal_links">
<li><a href="http://www.robuild.co.uk/">London Builders</a></li>


The image attachment shows that I actually tested it …!!



 :thumbs:




Clarification: After re-reading that I notice that an element of misinterpretation is possible where I've said, "… insert immediately after that line …". To be absolutely clear - the second code box shows the line I am advising you to add, immediately preceded by the original line I asked you to find. In other words, don't try and 'repeat' that original line again. Sorry about that, but colour-coding isn't possible in a 'code' box, and 'quoting' the code allows Comcode to arbitrarily turn HTML links into user-readable links.

 :thumbs:


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96498
Avatar

Fan in action

Hi Fletch

Thank you again for taking your time to help me. I am afraid , I have no clue how to upgrade or where the file FOOTER.tpl, line 68 is
Back to the top
 
Posted
Item has a rating of 5 (Liked by thelocalmc)  
Rating:
#96500
Avatar

Fan in action

I think I've done it ! :)

Easier than I thought, I even managed to upgrade to Version 7.1.6

Back to the top
 
Posted
Rating:
#96510
Avatar

Community saint

London mechanic said

I am afraid , I have no clue how to upgrade …
Look at your Admin page …



… and choose your upgrade. I would advise READING the accompany notes so that you are completely aware as to what to expect!

London mechanic said

… or where the file FOOTER.tpl, line 68 is …
Hmmmmmm… That's a challenge!
You can find it in /themes/default/templates. However, it is best you use the ocPortal themes editor. As easy as 1-2-3, as I've indicated in this attachment …



London mechanic said

… I think I've done it! … Easier than I thought, I even managed to upgrade to Version 7.1.6 …

If you've cracked it - CONGRATS!

The image attachments I've included above will perhaps help somebody else.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96513
Avatar

Fan in action

well. Thank you Fletch  

I didn't do the full upgrade because I don't know how to do it
Back to the top
 
Posted
Rating:
#96526
Avatar

Community saint

Fletch said

I commented elsewhere that I noted that you are running version 7.1.5. I am slightly surprised that you would choose to use an 'old' version for a brand new site. But if that is what you intend to continue to do, here is some help.




version 7.1.5

Find in FOOTER.tpl, line 68 …

Code


<{$?,{$VALUE_OPTION,html5},nav,div} class="global_minilinks">

… insert immediately after that line …

Code


<{$?,{$VALUE_OPTION,html5},nav,div} class="global_minilinks">
<span><a href="http://www.robuild.co.uk/">London Builders</a> <span class="linkcolor">&middot;</span></span>


This has not been tested as I do not have a 7.1.5 installation to test it on. If it doesn't work immediately, please don't hurl abuse in this direction!

However, if you decide to reinstall or upgrade to version 9.0.6, here is how to get your link installed. Please note that the edit needs to be carried out on a differently-named template.




version 9.0.6

Find in GLOBAL_HTML_WRAP.tpl, line 231 …

Code


<ul class="horizontal_links">

… insert immediately after that line …

Code


<ul class="horizontal_links">
<li><a href="http://www.robuild.co.uk/">London Builders</a></li>


The image attachment shows that I actually tested it …!!



 :thumbs:




Clarification: After re-reading that I notice that an element of misinterpretation is possible where I've said, "… insert immediately after that line …". To be absolutely clear - the second code box shows the line I am advising you to add, immediately preceded by the original line I asked you to find. In other words, don't try and 'repeat' that original line again. Sorry about that, but colour-coding isn't possible in a 'code' box, and 'quoting' the code allows Comcode to arbitrarily turn HTML links into user-readable links.

 :thumbs:

Fletch, you are the best!
 :)  :thumbs:
Back to the top
 
Posted
Rating:
#96532
Avatar

Community saint

Jean said

Fletch, you are the best!
 :)  :thumbs:
ROTFLMAO!

… but thanks for that vote of confidence, anyway!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96534
Avatar

Fan in action

I also think Fletch is a very nice person.

Btw, I can't upgrade because it is asking me to provide an URL ?
Back to the top
 
Posted
Rating:
#96535
Avatar

Community saint

London mechanic said

Btw, I can't upgrade because it is asking me to provide an URL ?

Go to ocPortal 9.0.6 released - ocPortal.com, fill in the boxes, click generate, and you will be given an URL.

Done!

 :thumbs:




Warning!

Please be sure this is what you want to upgrade to, as version 9 will affect your current installation in just about every area of your site.

If you are not too sure about it, please read the various comments about how version 9 has affected other people before you finally commit yourself!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96536
Avatar

Fan in action

Thank you

It will take me few days to understand how fill in the form thou

 Major version (e.g. 4)

Minor version (e.g. 3)

Patch version (e.g. 2)

Pre-release version (e.g. beta1) (usually blank)

(example above is for upgrading from 4.3.2 beta1)

I don't have a clue what I am supposed to write just yet
Back to the top
 
Posted
Rating:
#96537
Avatar

Community saint

If you are still running version 7.1.5, then that is the info you need to enter:
  • Major version -7-
  • Minor version  -1-
  • Patch version  -5-
  • Pre-release version -leave blank-

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#96538
Avatar

Fan in action

I think I have a problem, it got stuck to

Packing file into addon archive (for presence upon potential reinstallation): sources/hooks/systems/realtime_rain/ecommerce.php
Back to the top
 
Posted
Rating:
#96539
Avatar

Fan in action

I might have done something wrong , I will keep the old version for now

Fletch, Thank you so much for your help

If I can help you back,please let me know.
Back to the top
 
Posted
Rating:
#96541
Avatar

Community saint

I had no problem the get the url:

http://ocportal.com/upgrades/7.1.5-9.0.6.tar


Gr. Harry


http://digiflash.nl Photo community  (dutch)
Back to the top
 
Posted
Rating:
#96542
Avatar

It might be his server timed out. It is a big upgrade jump, manual extraction, then cleanup, might be required instead.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand