"Register to read more..." Path - Joomla! Forum - community, help and support


hello all...

i've had no problem changing text (in language/en-gb/en-gb.com_content.ini).

however, big problem i'm getting i'm using community builder, , keeps linking disabled core joomla login/registration module.  seems there should or language.php file change path, it's not here anymore , can't change paths in of .ini files in language directory.  i've tried force cb login plugin disastrous results...i ended having unpublish myphpadmin.

anyway, if let me know file need modify in order point cb login module, i'd appreciate it.

thanks!

nevermind...i figured out.

fyi, code in components/com_content/views/frontpage/view.html.php

you'll need change code around line 132:

code: select all

// checks if item public or registered/special item
         if ($item->access <= $user->get('aid', 0))
         {
            $item->readmore_link = jroute::_(contenthelperroute::getarticleroute($item->slug, $item->catslug, $item->sectionid));
            $item->readmore_register = false;
         }
         else
         {
            $item->readmore_link = jroute::_("index.php?option=com_comprofiler&task=registers");  // modified work cb
            $item->readmore_register = true;
         }


change link "index.php?option=com_comprofiler&task=registers" allow people register via cb.


you'll have change link in view.html.php in following directories if applies how site laid-out.

components/com_content/views/article
components/com_content/views/category
components/com_content/views/section





Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???