Item title before category title with sh404sef?

More
12 years 1 month ago #23869 by Ardias3k
ok, das probiere ich mal..

was meinst du eigentlich mit:


naja ich hab halt im Beitrag nur die Inhaltsbeschreiben, alles andere läuft über Module, weil ich es wegen Darstellung besser fand...

Ich weiss noch nicht genau wo ich die Bilder-Gallery positionieren möchte, weil die ist für meine Zwecke noch nicht schön ausgerichtet.. hätte gerne die Thumbnails nicht untereinander sondern in der Reihe auf voller Breite des Beitrags.

Zum Update: ich hab noch nie ein Update für Flexicontent gemacht, wie mach ich das ambesten? einfach die Files über FTP übertragen und die älteren überschreiben oder wie mach ich das? Sind dann alle Einstellungen weg die ich bisher in flexicontent gemacht habe?

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #23884 by Rehne

was meinst du eigentlich mit:

Zum Update: ich hab noch nie ein Update für Flexicontent gemacht, wie mach ich das ambesten? einfach die Files über FTP übertragen und die älteren überschreiben oder wie mach ich das? Sind dann alle Einstellungen weg die ich bisher in flexicontent gemacht habe?[/quote]
also
nicht per FTP sondern per Joomla Installer einfach drüber installieren
nach der Installation gehst du dann über das Joomla Menü auf zu FlexiContent (Hauptübersicht)
dort wird dann etwas von „aktualisieren“ usw. stehen
recht aktualisierst du dann erst mal die gekennzeichneten PlugIns
klickst du auf „aktualisieren“
und das war es schon
Einstellungen usw. sollten nicht verloren gehen
worauf aber zu achten wäre:
wenn du an den FC eigenen (original) Templates etwas geändert hast, wird diese Änderung überschrieben … es ist also immer besser mit eigenen FC-Templates zu arbeiten ….
Hier eine gute Anleitung
extensions.netassopro.com/9-tuto ... -structure
Sicherheitshalber empfehle ich übrigens vor jedem Update eine Komplettsicherung anzulegen (Datenbank, und Dateien per FTP)
ich selber hat aber bisher bei einem Update nioch nie Probleme

naja ich hab halt im Beitrag nur die Inhaltsbeschreiben, alles andere läuft über Module, weil ich es wegen Darstellung besser fand...

Viele Sachen(fast alles) kannst du auch mit dem FlexiContent eigenen Modul bewerkstelligen …

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #23886 by Ardias3k
Vielen Dank für den tollen Support. Ich werde das Update demnächst ausführen... mit Backup :) und dann schauen wir mal.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #23888 by Rehne

Vielen Dank für den tollen Support. Ich werde das Update demnächst ausführen... mit Backup :) und dann schauen wir mal.


gern ... auf deutsch fällt es mir auch um einiges leichter ... mein Englisch ist nämlich auch nicht soooo gut ;)

übrigens, wenn du noch etwas Zeit hast solltest du ggf. noch etwas mit dem Update warten
die nächsten Tage sollen soweit ich weiß die endgültigen Versionen FC 1.5.6 (J1.5) und FC 2.0 (J2.5) online gestellt werden ... George ist da kräftig am werkeln

viel Erfolg

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #43611 by victorio404

ggppdk wrote: aaa, i see that your code is inside RSFORM code !!!

So, your code is probably executed, before the FLEXIcontent code sets the page title, i guess the page title you get is the title of currently active menu item which points to a category.

USE this (WILL WORK only in flexicontent item view not in category view, so do not display the load module field in category view)

Code:
$db = & JFactory::getDBO(); $fcitem_id= JRequest::getInt('id',0); $fccat_id= JRequest::getInt('cid',0); $view= JRequest::getVar('view'); if ($view!='items' && $view!='article') { return "not in items view"; } if ($fcitem_id) { $query = 'SELECT c.* ' .'FROM #__content AS c ' .'WHERE c.id = ' . $fcitem_id; $db->setQuery($query); $itemdata = $db->loadObject(); $item_title = $itemdata->title; } if ($fccat_id) { $query = 'SELECT c.* ' .'FROM #__categories AS c ' .'WHERE c.id = ' . $fccat_id; $db->setQuery($query); $catdata = $db->loadObject(); $cat_title = $catdata->title; } return $item_title." - ".$cat_title;

in the above code if you only want item title then replace last line with:
return $item_title;

Also consider leaving review for FLEXIcontent in JED

Regards


Can this be applied for FC 2.1.2 r1806 on Joomla 3.2.1?
I am getting "not in items view" every time with this code.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #43619 by ggppdk
Hello


if ($view!='items' && $view!='article') {

the above, in J2.5/J3.x should become:
if ($view!='item' && $view!='article') {


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.321 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline